// 是否为存储过程调用 $procedure = in_array(strtolower(substr(trim($sql), 0, 4)), ['call', 'exec']); // 参数绑定 if ($procedure) { $this->bindParam($bind); } else { $this->bindValue($bind); } // 执行语句 $this->PDOStatement->execute(); // 调试结束 $this->debug(false); $this->numRows = $this->PDOStatement->rowCount(); return $this->numRows; } catch (\PDOException $e) { if ($this->isBreak($e)) { return $this->close()->execute($sql, $bind); }
at Connection->execute('SET sql_mode=''')
at call_user_func_array([object(Mysql), 'execute'], ['SET sql_mode=''']) in Db.php line 178
at Db::__callStatic('execute', ['SET sql_mode=''']) in common.php line 1582
at query('SET sql_mode=''') in Init.php line 192
at Init->run(['type' => 'module', 'module' => ['', null, null]], null) in Hook.php line 137
at Hook::exec('app\common\behavior\...', 'app_begin', ['type' => 'module', 'module' => ['', null, null]], null) in Hook.php line 95
at Hook::listen('app_begin', ['type' => 'module', 'module' => ['', null, null]]) in App.php line 130
at App::run() in start.php line 19
at require('/storage/ssd5/371/35...') in index.php line 29
GET Data
empty
POST Data
empty
Files
empty
user_sid
e3604b73d4
Session
empty
HTTPS
on
UNIQUE_ID
W7Aq81aGQEMo3yHQ@oCYVAAAAAY
PHP_DOCUMENT_ROOT
/storage/ssd5/371/3542371/public_html
DOCUMENT_ROOT
/storage/ssd5/371/3542371/public_html
SERVER_ADMIN
webmaster@000webhost.io
HTTP_CONNECTION
Keep-Alive
HTTP_PROXY_CONNECTION
Keep-Alive
HTTP_HOST
dovechina.000webhostapp.com
HTTP_X_FORWARDED_PROTO
https
HTTP_X_REAL_IP
202.107.222.139
HTTP_X_FORWARDED_FOR
202.107.222.139
HTTP_X_DOCUMENT_ROOT
/storage/ssd5/371/3542371/public_html
HTTP_X_SERVER_ADMIN
webmaster@000webhost.io
HTTP_X_SERVER_NAME
dovechina.000webhostapp.com
HTTP_UPGRADE_INSECURE_REQUESTS
1
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.90 Safari/537.36 2345Explorer/9.4.2.17629
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_REFERER
https://www.000webhost.com/members/website/list
HTTP_ACCEPT_ENCODING
gzip, deflate, br
HTTP_ACCEPT_LANGUAGE
zh-CN,zh;q=0.8
HTTP_COOKIE
user_sid=e3604b73d4
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
dovechina.000webhostapp.com
SERVER_ADDR
2a02:4780:bad:16::504
SERVER_PORT
443
REMOTE_ADDR
202.107.222.139
REQUEST_SCHEME
https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/storage/ssd5/371/3542371/public_html
SCRIPT_FILENAME
/storage/ssd5/371/3542371/public_html/index.php
REMOTE_PORT
25551
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1538271987.166
REQUEST_TIME
1538271987
Environment Variables
empty
APP_PATH
/storage/ssd5/371/3542371/public_html/application/
ENTRANCE
index
THINK_VERSION
5.0.18
THINK_START_TIME
1538271987.1688
THINK_START_MEM
379216
EXT
.php
DS
/
THINK_PATH
/storage/ssd5/371/3542371/public_html/thinkphp/
LIB_PATH
/storage/ssd5/371/3542371/public_html/thinkphp/library/
CORE_PATH
/storage/ssd5/371/3542371/public_html/thinkphp/library/think/
TRAIT_PATH
/storage/ssd5/371/3542371/public_html/thinkphp/library/traits/
ROOT_PATH
/storage/ssd5/371/3542371/public_html/
EXTEND_PATH
/storage/ssd5/371/3542371/public_html/extend/
VENDOR_PATH
/storage/ssd5/371/3542371/public_html/vendor/
RUNTIME_PATH
/storage/ssd5/371/3542371/public_html/runtime/
LOG_PATH
/storage/ssd5/371/3542371/public_html/runtime/log/
CACHE_PATH
/storage/ssd5/371/3542371/public_html/runtime/cache/
TEMP_PATH
/storage/ssd5/371/3542371/public_html/runtime/temp/
CONF_PATH
/storage/ssd5/371/3542371/public_html/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/storage/ssd5/371/3542371/public_html/vendor/ezyang/htmlpurifier/library
TEMPLATE_PATH
/storage/ssd5/371/3542371/public_html/template/
IS_POST
false
PUBLIC_URL
/public/
PUBLIC_PATH
/storage/ssd5/371/3542371/public_html/public/
PLUGINS_PATH
/storage/ssd5/371/3542371/public_html/plugins/
CACHE_DIR
/storage/ssd5/371/3542371/public_html/runtime/
ThinkPHP V5.0.18 { 十年磨一剑-为API开发设计的高性能框架 }
我的是搜索出现同样的错误
我没动过官方的搜索啊
没做修改就出现这个问题的话,那就是空间有问题.换个PHP环境吧
请说清楚原因, 改过什么东西?