$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 `id` < ? AND ( status=1 ) ORDER BY `sort` 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 `id` < ? AND ( status=1 ) ORDER BY `sort` DESC LIMIT 1' at line 1 |
Error SQL | SELECT * FROM `tb_news` WHERE ( cid= ) AND `id` < 173 AND ( status=1 ) ORDER BY `sort` DESC LIMIT 1 |
type | mysql |
hostname | hdm721902212.my3w.com |
database | hdm721902212_db |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | tb_ |
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 | false |
sql_explain | false |
builder | |
query | \think\db\Query |
break_reconnect | false |
break_match_str | [] |
DOCUMENT_ROOT | /usr/home/hyu7470630001/htdocs |
GATEWAY_INTERFACE | CGI/1.1 |
HTTP_ACCEPT | */* |
HTTP_HOST | www.aapchina.org |
HTTP_REFERER | http://aapchina.org/news/detail/id/173.html |
HTTP_USER_AGENT | claudebot |
PATH | /bin |
PHPRC | /var/www/php72/hichina_ini/hyu7470630001 |
QUERY_STRING | |
REDIRECT_DOCUMENT_ROOT | /usr/home/hyu7470630001/htdocs |
REDIRECT_GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_HTTP_ACCEPT | */* |
REDIRECT_HTTP_HOST | www.aapchina.org |
REDIRECT_HTTP_REFERER | http://aapchina.org/news/detail/id/173.html |
REDIRECT_HTTP_USER_AGENT | claudebot |
REDIRECT_PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
REDIRECT_PATH_INFO | /detail/id/173.html |
REDIRECT_PATH_TRANSLATED | redirect:/index.php/detail/id/173.html/id/173.html |
REDIRECT_QUERY_STRING | |
REDIRECT_REMOTE_ADDR | 3.238.87.31 |
REDIRECT_REMOTE_PORT | 48560 |
REDIRECT_REQUEST_METHOD | GET |
REDIRECT_REQUEST_URI | /news/detail/id/173.html |
REDIRECT_SCRIPT_FILENAME | /usr/home/hyu7470630001/htdocs/news |
REDIRECT_SCRIPT_NAME | /news |
REDIRECT_SCRIPT_URI | http://www.aapchina.org/news/detail/id/173.html |
REDIRECT_SCRIPT_URL | /news/detail/id/173.html |
REDIRECT_SERVER_ADDR | 10.21.153.82 |
REDIRECT_SERVER_ADMIN | webmaster@hyu7470630001.my3w.com |
REDIRECT_SERVER_NAME | www.aapchina.org |
REDIRECT_SERVER_PORT | 80 |
REDIRECT_SERVER_PROTOCOL | HTTP/1.1 |
REDIRECT_SERVER_SIGNATURE | |
REDIRECT_SERVER_SOFTWARE | Apache |
REDIRECT_STATUS | 200 |
REDIRECT_TZ | Asia/Shanghai |
REDIRECT_UNIQUE_ID | ZgVDxQoVmVIADSEDOnIAAAAD |
REDIRECT_URL | /news/detail/id/173.html |
REMOTE_ADDR | 3.238.87.31 |
REMOTE_PORT | 48560 |
REQUEST_METHOD | GET |
REQUEST_URI | /news/detail/id/173.html |
SCRIPT_FILENAME | /usr/home/hyu7470630001/htdocs/index.php |
SCRIPT_NAME | /index.php |
SCRIPT_URI | http://www.aapchina.org/news/detail/id/173.html |
SCRIPT_URL | /news/detail/id/173.html |
SERVER_ADDR | 10.21.153.82 |
SERVER_ADMIN | webmaster@hyu7470630001.my3w.com |
SERVER_NAME | www.aapchina.org |
SERVER_PORT | 80 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
TZ | Asia/Shanghai |
UNIQUE_ID | ZgVDxQoVmVIADSEDOnIAAAAD |
ORIG_PATH_INFO | /news/detail/id/173.html |
ORIG_PATH_TRANSLATED | /usr/home/hyu7470630001/htdocs/index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711621061.0936 |
REQUEST_TIME | 1711621061 |
APP_PATH | /usr/home/hyu7470630001/htdocs/app/ |
QINIU_FUNCTIONS_VERSION | 7.2.3 |
__ROOT__ |