$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 ') ORDER BY `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 ') ORDER BY `id` ASC LIMIT 1' at line 1 |
Error SQL | SELECT * FROM `y_article` WHERE `delete_time` = 0 AND `status` = 1 AND `cate_id` IS NULL AND ( id > ) ORDER BY `id` ASC LIMIT 1 |
type | mysql |
hostname | hdm156661278.my3w.com |
database | hdm156661278_db |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | y_ |
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 | [] |
/news_info_66_html |
REDIRECT_STATUS | 200 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | www.eco-cosy.com |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
SERVER_SIGNATURE | <address>Apache/2.4.18 (Ubuntu) Server at www.eco-cosy.com Port 80</address> |
SERVER_SOFTWARE | Apache/2.4.18 (Ubuntu) |
SERVER_NAME | www.eco-cosy.com |
SERVER_ADDR | 172.26.139.56 |
SERVER_PORT | 80 |
REMOTE_ADDR | 3.235.251.99 |
DOCUMENT_ROOT | /var/www/eco-cosy.com |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /var/www/eco-cosy.com |
SERVER_ADMIN | weidy@staronair.com |
SCRIPT_FILENAME | /var/www/eco-cosy.com/index.php |
REMOTE_PORT | 46698 |
REDIRECT_URL | /news_info_66.html |
REDIRECT_QUERY_STRING | /news_info_66.html |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | /news_info_66.html |
REQUEST_URI | /news_info_66.html |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711632262.324 |
REQUEST_TIME | 1711632262 |
APP_PATH | /var/www/eco-cosy.com/app/ |