[10501] PDOException in Connection.php line 388

幸运农场20买19玩法:SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ) ORDER BY `main`.`sort` ASC' at line 1

 幸运农场开奖结果查询 www.dje10.cn 
  1. $this->PDOStatement->execute();
  2. // 调试结束
  3. $this->debug(false);
  4. // 返回结果集
  5. return $this->getResult($pdo, $procedure);
  6. } catch (\PDOException $e) {
  7. if ($this->isBreak($e)) {
  8. return $this->close()->query($sql, $bind, $master, $pdo);
  9. }
  10. throw new PDOException($e, $this->config, $this->getLastsql());
  11. } catch (\Throwable $e) {
  12. if ($this->isBreak($e)) {
  13. return $this->close()->query($sql, $bind, $master, $pdo);
  14. }
  15. throw $e;
  16. } catch (\Exception $e) {
  17. if ($this->isBreak($e)) {
  18. return $this->close()->query($sql, $bind, $master, $pdo);
  19. }

Call Stack

  1. in Connection.php line 388
  2. at Connection->query('SELECT `main`.`id`,`...', [], false, false) in Query.php line 227
  3. at Query->query('SELECT `main`.`id`,`...', [], false, false) in Query.php line 2351
  4. at Query->select() in Country.php line 54
  5. at Country->index()
  6. at ReflectionMethod->invokeArgs(object(Country), []) in App.php line 343
  7. at App::invokeMethod([object(Country), 'index'], []) in App.php line 595
  8. at App::module(['globevisapc', 'country', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 457
  9. at App::exec(['type' => 'module', 'module' => ['globevisapc', 'country', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('/wwwnew/html/globevi...') in 幸运农场开奖结果查询

Exception Datas

PDO Error Info
SQLSTATE 42000
Driver Error Code 1064
Driver Error Message You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ) ORDER BY `main`.`sort` ASC' at line 1
Database Status
Error Code 10501
Error Message SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ) ORDER BY `main`.`sort` ASC' at line 1
Error SQL SELECT `main`.`id`,`detail`.`name`,`main`.`squareFlag`,`detailEn`.`name` as `nameEn` FROM `globe_country` `main` INNER JOIN `globe_country_detail` `detail` ON `detail`.`countryID`=`main`.`id` INNER JOIN `globe_country_detail_en` `detailEn` ON `detailEn`.`countryID`=`main`.`id` WHERE ( `main`.`status` = 1 AND `main`.`isDelete` = 0 AND `main`.`id` IN() ) ORDER BY `main`.`sort` ASC
Database Config
type mysql
hostname rm-2zef0627pon76e9kxlo.mysql.rds.aliyuncs.com
database globevisa
hostport 3306
dsn
params []
charset utf8
prefix
debug true
deploy 0
rw_separate false
master_num 1
slave_no
fields_strict true
result_type 2
resultset_type array
auto_timestamp false
datetime_format false
sql_explain false
builder
query \think\db\Query
break_reconnect false

Environment Variables

GET Data

id
83
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/dev/null
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/wwwnew/html/globevisa/public/index.php
QUERY_STRING
s=/globevisapc/country/index&id=83
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/globevisapc/country/index?id=83
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/wwwnew/html/globevisa/public
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.7.11
REMOTE_ADDR
47.93.181.24
REMOTE_PORT
11367
SERVER_ADDR
47.93.181.24
SERVER_PORT
443
SERVER_NAME
new.www.dje10.cn
REDIRECT_STATUS
200
HTTP_HOST
new.www.dje10.cn
HTTP_ACCEPT
*/*
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1552293835.1428
REQUEST_TIME
1552293835
PATH_INFO
/globevisapc/country/index
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/wwwnew/html/globevisa/public/../application/
THINK_VERSION
5.0.14
THINK_START_TIME
1552293835.1434
THINK_START_MEM
269744
EXT
.php
DS
/
THINK_PATH
/wwwnew/html/globevisa/thinkphp/
LIB_PATH
/wwwnew/html/globevisa/thinkphp/library/
CORE_PATH
/wwwnew/html/globevisa/thinkphp/library/think/
TRAIT_PATH
/wwwnew/html/globevisa/thinkphp/library/traits/
ROOT_PATH
/wwwnew/html/globevisa/
EXTEND_PATH
/wwwnew/html/globevisa/extend/
VENDOR_PATH
/wwwnew/html/globevisa/vendor/
RUNTIME_PATH
/wwwnew/html/globevisa/runtime/
LOG_PATH
/wwwnew/html/globevisa/runtime/log/
CACHE_PATH
/wwwnew/html/globevisa/runtime/cache/
TEMP_PATH
/wwwnew/html/globevisa/runtime/temp/
CONF_PATH
/wwwnew/html/globevisa/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
  • 逻辑遇到辩证法,逻辑就失灵了。以为逻辑可以一逻到底包打天下,那你就错了,将犯下大错。世界不仅有逻辑,还有辩证法,还有哲学,人类更有思想,也有意志和意愿。美国动不 2019-04-16
  • 特朗谱跟你一样,也经常懵逼:“这么简单的道理也想不通?”;"西方民主这么好,你咋不学捏?? 2019-04-08
  • 甜粽还是咸粽?来看动物们的专属粽子有什么馅儿 2019-04-07
  • 毛泽东诗词与湖湘文化 2019-04-07
  • [鄙视]就你这智商还挑战爱因斯坦?蚍蜉撼树也! 2019-04-03
  • 全面落实新时代党的建设总要求br不断提高机关党的建设质量 2019-04-03
  • 免费与收费混搭总会拖垮社会主义经济(原创首发) 2019-03-25
  • 县名解析:吕梁离石的名称来历 2019-03-25
  • 淮南开通701路九龙岗至孔店城乡公交 2019-03-23
  • 中粮名庄荟国际酒业有限公司总经理李士祎做客人民网 2019-03-23
  • 凤凰网地方频道公告及声明 2019-03-14
  • 31岁男子玩手游花费40多万 同好者:正常 2019-03-10
  • 我早就说过,任何时候都不能对美国抱有幻想。否则就是白痴。 2019-03-10
  • 央行将对远期售汇业务收取20%风险准备金 2019-03-07
  • 【普京是当今人类世界最优秀的一代伟人!!!地球的盛会文明的聚会艺术的盛宴四海一家!!!足球为人类和平幸福而荣耀!!!俄罗斯赢啦!!!】 2019-03-05
  • 831| 739| 72| 173| 903| 750| 826| 943| 465| 688|