$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 ty= and status=1 and id>367 ) ORDER BY `disorder` ASC,`id` ASC 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 ty= and status=1 and id>367 ) ORDER BY `disorder` ASC,`id` ASC LIMIT 1' at line 1 |
Error SQL | SELECT `id`,`title` FROM `tp_news` WHERE ( pid= and ty= and status=1 and id>367 ) ORDER BY `disorder` ASC,`id` ASC LIMIT 1 |
type | mysql |
hostname | 127.0.0.1 |
database | new_ceshi_china_tin |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | tp_ |
debug | false |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | false |
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 | [] |
PHPSESSID | c3fnjedk1l8rcusurdnsj0eorj |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /view-id-367.html |
QUERY_STRING | s=index/lists/view-id-367 |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | s=index/lists/view-id-367 |
REDIRECT_URL | /view-id-367.html |
REMOTE_PORT | 54550 |
SCRIPT_FILENAME | /www/wwwroot/ceshi.china-tin.com/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/ceshi.china-tin.com/ |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /www/wwwroot/ceshi.china-tin.com/ |
REMOTE_ADDR | 104.140.79.42 |
SERVER_PORT | 443 |
SERVER_ADDR | 172.30.192.70 |
SERVER_NAME | china-tin.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | Apache Server at china-tin.com Port 443 |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin |
HTTP_COOKIE | PHPSESSID=c3fnjedk1l8rcusurdnsj0eorj |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | china-tin.com |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
proxy-nokeepalive | 1 |
SSL_TLS_SNI | china-tin.com |
HTTPS | on |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | china-tin.com |
REDIRECT_HTTPS | on |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1758261937.7575 |
REQUEST_TIME | 1758261937 |