云鼎国际4118登录(中国)有限公司

[2] ErrorException in Connection.php line 379

Empty row packet body

  1. // 是否为存储过程调用
  2. $procedure = in_array(strtolower(substr(trim($sql), 0, 4)), ['call', 'exec']);
  3. // 参数绑定
  4. if ($procedure) {
  5. $this->bindParam($bind);
  6. } else {
  7. $this->bindValue($bind);
  8. }
  9. // 执行查询
  10. $this->PDOStatement->execute();
  11. // 调试结束
  12. $this->debug(false);
  13. // 返回结果集
  14. return $this->getResult($pdo, $procedure);
  15. } catch (\PDOException $e) {
  16. if ($this->isBreak($e)) {
  17. return $this->close()->query($sql, $bind, $master, $pdo);
  18. }
  19. throw new PDOException($e, $this->config, $this->getLastsql());

Call Stack

  1. in Connection.php line 379
  2. at Error::appError(2, 'Empty row packet bod...', '/mnt/www/zahuali.com...', 379, ['sql' => 'SELECT * FROM `core_...', 'bind' => ['where_cate_id' => [8, 1], 'where_status' => [1, 1]], 'master' => false, ...])
  3. at PDOStatement->execute() in Connection.php line 379
  4. at Connection->query('SELECT * FROM `core_...', ['where_cate_id' => [8, 1], 'where_status' => [1, 1]], false, false) in Query.php line 225
  5. at Query->query('SELECT * FROM `core_...', ['where_cate_id' => [8, 1], 'where_status' => [1, 1]], false, false) in Query.php line 2318
  6. at Query->select() in ArticleModel.php line 58
  7. at ArticleModel->getArticleList(['cate_id' => 8, 'status' => 1]) in Category.php line 286
  8. at Category->getPage('4625') in Category.php line 247
  9. at Category->detail()
  10. at ReflectionMethod->invokeArgs(object(Category), []) in App.php line 196
  11. at App::invokeMethod([object(Category), 'detail'], []) in App.php line 412
  12. at App::module(['home', 'category', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 295
  13. at App::exec(['type' => 'module', 'module' => ['home', 'category', 'detail']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  14. at App::run() in start.php line 18
  15. at require('/mnt/www/zahuali.com...') in index.php line 23

Exception Datas

Error Context
sql SELECT * FROM `core_article` WHERE `cate_id` = :where_cate_id AND `status` = :where_status ORDER BY isTop desc, sortnum desc, id desc
bind { "where_cate_id": [ 8, 1 ], "where_status": [ 1, 1 ] }
master false
pdo false
procedure false

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

dc93631e223c3e03ecbabb8e5108a453
f2f0f00169291d26c37f69754c19c5c9
3be237782d913008a73902632b8c4a71
e1f31cd231b25481d3a8fb0b88634873
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/mnt/www/zahuali.com/public/index.php
QUERY_STRING
s=/home/category/detail/id/4625.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/home/category/detail/id/4625.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/mnt/www/zahuali.com/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
170.130.202.82
REMOTE_PORT
43764
SERVER_ADDR
172.26.115.240
SERVER_PORT
80
SERVER_NAME
ahhuali.com
REDIRECT_STATUS
200
PATH_INFO
/home/category/detail/id/4625.html
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_HOST
www.ahhuali.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
HTTP_COOKIE
dc93631e223c3e03ecbabb8e5108a453=f2f0f00169291d26c37f69754c19c5c9; 3be237782d913008a73902632b8c4a71=e1f31cd231b25481d3a8fb0b88634873
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1773322531.552
REQUEST_TIME
1773322531
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/mnt/www/zahuali.com/public/../application/
UPLOAD_PATH
/mnt/www/zahuali.com/public/../public
RUNTIME_PATH
/mnt/www/zahuali.com/public/../runtime/
APP_DEBUG
true
THINK_VERSION
5.0.10
THINK_START_TIME
1773322531.5529
THINK_START_MEM
263320
EXT
.php
DS
/
THINK_PATH
/mnt/www/zahuali.com/thinkphp/
LIB_PATH
/mnt/www/zahuali.com/thinkphp/library/
CORE_PATH
/mnt/www/zahuali.com/thinkphp/library/think/
TRAIT_PATH
/mnt/www/zahuali.com/thinkphp/library/traits/
ROOT_PATH
/mnt/www/zahuali.com/
EXTEND_PATH
/mnt/www/zahuali.com/extend/
VENDOR_PATH
/mnt/www/zahuali.com/vendor/
LOG_PATH
/mnt/www/zahuali.com/public/../runtime/log/
CACHE_PATH
/mnt/www/zahuali.com/public/../runtime/cache/
TEMP_PATH
/mnt/www/zahuali.com/public/../runtime/temp/
CONF_PATH
/mnt/www/zahuali.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
Baidu
sogou