$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` <> ?' 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` <> ?' at line 1 |
| Error SQL | SELECT COUNT(*) AS tp_count FROM `yw_news` WHERE ( open=1 and is_delete=0 and category_id= ) AND `id` <> 0 |
| type | mysql |
| hostname | 127.0.0.1 |
| database | hsxgkf_com_cn |
| hostport | 3306 |
| dsn | |
| params | [] |
| charset | utf8 |
| prefix | yw_ |
| 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 | true |
| builder | |
| query | \think\db\Query |
| break_reconnect | false |
| break_match_str | [] |
| /news/17/www_hsxgkf_com_cn |
| PHPSESSID | ll5i5soe4i8cd4tikhhr0td1uq |
| sms_expire_time | 0 |
| USER | www |
| HOME | /home/www |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /news/17/www.hsxgkf.com.cn |
| QUERY_STRING | /news/17/www.hsxgkf.com.cn |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_QUERY_STRING | /news/17/www.hsxgkf.com.cn |
| REDIRECT_URL | /news/17/www.hsxgkf.com.cn |
| REMOTE_PORT | 60386 |
| SCRIPT_FILENAME | /www/wwwroot/hsxgkf.com.cn/public/index.php |
| SERVER_ADMIN | webmaster@example.com |
| CONTEXT_DOCUMENT_ROOT | /www/wwwroot/hsxgkf.com.cn/public |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | https |
| DOCUMENT_ROOT | /www/wwwroot/hsxgkf.com.cn/public |
| REMOTE_ADDR | 104.140.78.162 |
| SERVER_PORT | 443 |
| SERVER_ADDR | 172.16.64.114 |
| SERVER_NAME | www.hsxgkf.com.cn |
| SERVER_SOFTWARE | Apache |
| SERVER_SIGNATURE | Apache Server at www.hsxgkf.com.cn Port 443 |
| LD_LIBRARY_PATH | /www/server/apache/lib |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
| HTTP_COOKIE | PHPSESSID=ll5i5soe4i8cd4tikhhr0td1uq; sms_expire_time=0 |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_HOST | www.hsxgkf.com.cn |
| HTTP_USER_AGENT | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
| proxy-nokeepalive | 1 |
| SSL_TLS_SNI | www.hsxgkf.com.cn |
| HTTPS | on |
| REDIRECT_STATUS | 200 |
| REDIRECT_SSL_TLS_SNI | www.hsxgkf.com.cn |
| REDIRECT_HTTPS | on |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1763422977.5527 |
| REQUEST_TIME | 1763422977 |
| FILTER_VALIDATE_BOOL | 258 |
| MODULE_NAME | index |
| CONTROLLER_NAME | News |
| ACTION_NAME | index |
| APP_PATH | /www/wwwroot/hsxgkf.com.cn/application/common/controller/../application/ |
| ADMIN_NAME | admin |
| NOW_TIME | 1763422977 |
| UPLOAD_PATH | ./upload/ |
| RUNTIME_PATH | /../runtime/ |
| BASE_URL | |
| BASE_URL1 | http://www.hsxgkf.com.cn |
| UPLOAD_TYPE | 1 |
| IS_AJAX | false |
| IS_GET | true |
| IS_POST | false |