$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>750 ) 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>750 ) 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>750 ) ORDER BY `disorder` ASC,`id` ASC LIMIT 1 |
| type | mysql |
| hostname | 127.0.0.1 |
| database | china_tin_com |
| 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 |
| security_session_verify | 1b875a3200252d62dd79aba76a6d6c92 |
| USER | www |
| HOME | /home/www |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /view-id-750.html |
| QUERY_STRING | s=index/lists/view-id-750 |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_QUERY_STRING | s=index/lists/view-id-750 |
| REDIRECT_URL | /view-id-750.html |
| REMOTE_PORT | 58918 |
| SCRIPT_FILENAME | /www/wwwroot/china-tin.com/index.php |
| SERVER_ADMIN | webmaster@example.com |
| CONTEXT_DOCUMENT_ROOT | /www/wwwroot/china-tin.com/ |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | https |
| DOCUMENT_ROOT | /www/wwwroot/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 |
| LD_LIBRARY_PATH | /www/server/apache/lib |
| PATH | /www/server/panel/pyenv/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin |
| HTTP_COOKIE | PHPSESSID=c3fnjedk1l8rcusurdnsj0eorj; security_session_verify=1b875a3200252d62dd79aba76a6d6c92 |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_HOST | china-tin.com |
| HTTP_USER_AGENT | Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1 |
| 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 | 1757041004.5073 |
| REQUEST_TIME | 1757041004 |