$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 | 42S22 |
Driver Error Code | 1054 |
Driver Error Message | Unknown column 'index.php' in 'where clause' |
Error Code | 10501 |
Error Message | SQLSTATE[42S22]: Column not found: 1054 Unknown column 'index.php' in 'where clause' |
Error SQL | SELECT COUNT(*) AS tp_count FROM `hzjx_infolist` WHERE ( checkinfo='true' and delstate!='true' ) AND ( 1=1 and (classid=index.php OR parentstr Like '%,index.php,%') ) |
type | mysql |
hostname | 127.0.0.1 |
database | www_sanyou_hz_co |
hostport | |
dsn | |
params | [] |
charset | utf8 |
prefix | hzjx_ |
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 |
SCRIPT_FILENAME | /www/wwwroot/www.sanyou-hz.com/index.php |
QUERY_STRING | |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /news/cid/index.php |
DOCUMENT_URI | /index.php/news/cid/index.php |
DOCUMENT_ROOT | /www/wwwroot/www.sanyou-hz.com |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.18.0 |
REMOTE_ADDR | 34.239.150.247 |
REMOTE_PORT | 50416 |
SERVER_ADDR | 172.16.231.236 |
SERVER_PORT | 80 |
SERVER_NAME | www.sanyou-hz.com |
REDIRECT_STATUS | 200 |
PATH_INFO | /news/cid/index.php |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | sanyou-hz.com |
PHP_SELF | /index.php/news/cid/index.php |
REQUEST_TIME_FLOAT | 1711713588.4563 |
REQUEST_TIME | 1711713588 |