2020欧洲杯荷兰懂球帝

[10501] PDOException in Connection.phphtml line 383

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 ') LIMIT 1' at line 1

  1. $this->bindValue($bind);
  2. }
  3. // 执行查询
  4. $this->PDOStatement->execute();
  5. // 调试结束
  6. $this->debug(false);
  7. // 关注结果集
  8. return $this->getResult($pdo, $procedure);
  9. } catch (\PDOException $e) {
  10. throw new PDOException($e, $this->config, $this->getLastsql());
  11. }
  12. }
  13. /**
  14. * 执行语句
  15. * @access public
  16. * @param string $sql sql指令
  17. * @param array $bind 参数绑定
  18. * @return int

Call Stack

  1. in Connection.phphtml line 383
  2. at Connection->query('SELECT * FROM `pub_a...', [], false, false) in Query.phphtml line 226
  3. at Query->query('SELECT * FROM `pub_a...', [], false, false) in Query.phphtml line 2394
  4. at Query->find() in Create.phphtml line 46
  5. at Create->info()
  6. at ReflectionMethod->invokeArgs(object(Create), []) in App.phphtml line 224
  7. at App::invokeMethod([object(Create), 'info'], []) in App.phphtml line 392
  8. at App::module(['Main', 'create', 'info'], ['app_namespace' => 'app', 'app_debug' =>true, 'app_trace' =>false, ...], null) in App.phphtml line 130
  9. at App::run() in start.phphtml line 18
  10. at require('/home/wwwroot/public...') in index.phphtml line 17

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 ') LIMIT 1' 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 ') LIMIT 1' at line 1
Error SQL SELECT * FROM `pub_article_type` WHERE ( id= ) LIMIT 1
Database Config
type mysql
hostname localhost
database public
username szubp2019
password szubpark(2019)
hostport
dsn
params []
charset utf8
prefix pub_
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 Y-m-d H:i:s
sql_explain false
builder
query \think\db\Query

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /home/wwwroot/public.ti3w.com/index.phphtml
QUERY_STRING
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.phphtml
REQUEST_URI /Main/create/info/id/admin_index.asp
DOCUMENT_URI /index.phphtml/Main/create/info/id/admin_index.asp
DOCUMENT_ROOT /home/wwwroot/public.ti3w.com
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.16.0
REMOTE_ADDR 45.192.242.209
REMOTE_PORT 58193
SERVER_ADDR 172.16.44.175
SERVER_PORT 80
SERVER_NAME www.alaelderlaw.com
REDIRECT_STATUS 200
PHP_ADMIN_VALUE open_basedir=/home/wwwroot/public.ti3w.com/:/tmp/:/proc/
PATH_INFO /Main/create/info/id/admin_index.asp
HTTP_HOST www.alaelderlaw.com
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
PHP_SELF /Main/create/info/id/admin_index.asp
REQUEST_TIME_FLOAT 1591012432.328
REQUEST_TIME 1591012432
Environment Variablesempty
ThinkPHP Constants
APP_PATH /home/wwwroot/public.ti3w.com/application/
THINK_VERSION 5.0.5
THINK_START_TIME 1591012432.3286
THINK_START_MEM 259504
EXT .phphtml
DS /
THINK_PATH /home/wwwroot/public.ti3w.com/thinkphp/
LIB_PATH /home/wwwroot/public.ti3w.com/thinkphp/library/
CORE_PATH /home/wwwroot/public.ti3w.com/thinkphp/library/think/
TRAIT_PATH /home/wwwroot/public.ti3w.com/thinkphp/library/traits/
ROOT_PATH /home/wwwroot/public.ti3w.com/
EXTEND_PATH /home/wwwroot/public.ti3w.com/extend/
VENDOR_PATH /home/wwwroot/public.ti3w.com/vendor/
RUNTIME_PATH /home/wwwroot/public.ti3w.com/runtime/
LOG_PATH /home/wwwroot/public.ti3w.com/runtime/log/
CACHE_PATH /home/wwwroot/public.ti3w.com/runtime/cache/
TEMP_PATH /home/wwwroot/public.ti3w.com/runtime/temp/
CONF_PATH /home/wwwroot/public.ti3w.com/application/
CONF_EXT .phphtml
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
威廉希尔官方备用网址优发国际亚洲网址亚洲城官方网站