$this->debug(false, '', $master);
// 返回结果集
return $this->getResult($pdo, $procedure);
} catch (\PDOException $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}
throw new PDOException($e, $this->config, $this->getLastsql());
} catch (\Throwable $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}
throw $e;
} catch (\Exception $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
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 'and catid=78 ) ORDER BY `listorder` DESC LIMIT 1' at line 1 |
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 'and catid=78 ) ORDER BY `listorder` DESC LIMIT 1' at line 1 |
Error SQL | SELECT * FROM `wb_article` WHERE ( id< and catid=78 ) ORDER BY `listorder` DESC LIMIT 1 |
type | mysql |
hostname | 127.0.0.1 |
database | nmgxjr |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | wb_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
resultset_type | array |
auto_timestamp | false |
datetime_format | Y-m-d H:i:s |
sql_explain | false |
builder | |
query | \think\db\Query |
break_reconnect | false |
break_match_str | [] |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
HTTPS | on |
SSL_TLS_SNI | nmgxjr.cn |
HTTP2 | on |
H2PUSH | off |
H2_PUSH | off |
H2_PUSHED | |
H2_PUSHED_ON | |
H2_STREAM_ID | 3 |
H2_STREAM_TAG | 6844-104-3 |
proxy-nokeepalive | 1 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_REFERER | http://nmgxjr.cn/index.php/index/Index/show/id/1473/cid/78 |
HTTP_HOST | nmgxjr.cn |
PATH | /www/server/panel/pyenv/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin |
LD_LIBRARY_PATH | /www/server/apache/lib |
SERVER_SIGNATURE | <address>Apache Server at nmgxjr.cn Port 443</address> |
SERVER_SOFTWARE | Apache |
SERVER_NAME | nmgxjr.cn |
SERVER_ADDR | 10.61.84.200 |
SERVER_PORT | 443 |
REMOTE_ADDR | 44.203.235.24 |
DOCUMENT_ROOT | /www/wwwroot/www.nmgxjr.org.cn/public |
REQUEST_SCHEME | https |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/www.nmgxjr.org.cn/public |
SERVER_ADMIN | webmaster@example.com |
SCRIPT_FILENAME | /www/wwwroot/www.nmgxjr.org.cn/public/index.php |
REMOTE_PORT | 58678 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/2.0 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /index.php/index/Index/show/id/1473/cid/78 |
SCRIPT_NAME | /index.php |
PATH_INFO | /index/Index/show/id/1473/cid/78 |
PATH_TRANSLATED | /www/wwwroot/www.nmgxjr.org.cn/public/index/Index/show/id/1473/cid/78 |
PHP_SELF | /index.php/index/Index/show/id/1473/cid/78 |
REQUEST_TIME_FLOAT | 1711639365.6936 |
REQUEST_TIME | 1711639365 |