$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 t1.`id` <> 6941 AND t1.`newtype` = 'article' AND t1.`online` = '1' ORDER BY' 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 t1.`id` <> 6941 AND t1.`newtype` = 'article' AND t1.`online` = '1' ORDER BY' at line 1 |
| Error SQL | SELECT *,t1.id as newsid FROM `xy_article` AS t1 JOIN (SELECT ROUND(RAND() * ((SELECT MAX(id) FROM `xy_article`)-(SELECT MIN(id) FROM `xy_article`))+(SELECT MIN(id) FROM `xy_article`)) AS id) AS t2 WHERE t1.delete_time='0' AND t1.id >= t2.id AND t1.`categoryid` = AND t1.`id` <> 6941 AND t1.`newtype` = 'article' AND t1.`online` = '1' ORDER BY t1.id LIMIT 6 |
| type | mysql |
| hostname | 127.0.0.1 |
| database | tzsucai |
| hostport | |
| dsn | |
| params | [] |
| charset | utf8mb4 |
| prefix | xy_ |
| 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 | true |
| break_match_str | [] |
| db_config1 | { "type": "mysql", "hostname": "127.0.0.1", "database": "ousa_xuanyingit", "username": "ousa_xuanyingit", "password": "YTJt4tnwwD3rhxM7", "charset": "utf8", "prefix": "task_" } |
| shengcheng | 6892ca6e04382 |
| xuanying_tz | { "state": "2a60cf868a9c10756f6fc45d2fa659fe" } |
| USER | www |
| HOME | /home/www |
| HTTP_X_SINFO | on |
| HTTP_X5_UUID | 294acdf77961826e7dc8d594eb2f73cb |
| HTTP_X_FORWARDED_PROTO | http |
| HTTP_WL_PROXY_CLIENT_IP | 36.153.81.181 |
| HTTP_WEB_SERVER_TYPE | nginx |
| HTTP_X_CLIENT_IP | 8.129.188.198 |
| HTTP_X_TRUE_IP | 36.153.81.181 |
| HTTP_X_REAL_IP | 8.129.188.198 |
| HTTP_EAGLEEYE_RPCID | 0.1 |
| HTTP_ALI_CDN_APPVIEW_NAME | cdn-tengine |
| HTTP_ACCEPT | */* |
| HTTP_ALI_SWIFT_FORCE_TTL_CODE | 400=0 |
| HTTP_ALI_CDN_FORWARD_CLIENT_IP | 8.129.188.198 |
| HTTP_ALI_CDN_REAL_IP | 8.129.188.198 |
| HTTP_X_CLIENT_SCHEME | https |
| HTTP_ALI_SWIFT_STAT_HOST | www.tzsucai.com |
| HTTP_ALI_SWIFT_LOG_HOST | www.tzsucai.com |
| HTTP_ALI_PROXY_IS_FREE | 0 |
| HTTP_ALI_PROXY_IS_HOT | 0 |
| HTTP_VIA | cn7906.l1, kunlun7.cn7906, l2cn8393.l2, cache33.l2cn8393 |
| HTTP_EAGLEEYE_TRACEID | 7729d31c17544505420871318e |
| HTTP_X_FORWARDED_FOR | 8.129.188.198, 36.153.81.181 |
| HTTP_HOST | www.tzsucai.com |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | d.tzsucai.com |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.18.159.67 |
| REMOTE_PORT | 64152 |
| REMOTE_ADDR | 36.153.81.181 |
| SERVER_SOFTWARE | nginx/1.21.4 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REQUEST_SCHEME | http |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /www/wwwroot/tzsucai.com/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /3dmax/6941?shengcheng=6892ca6e04382 |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/3dmax/6941&shengcheng=6892ca6e04382 |
| SCRIPT_FILENAME | /www/wwwroot/tzsucai.com/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1754450549.2467 |
| REQUEST_TIME | 1754450549 |
| FILTER_VALIDATE_BOOL | 258 |
| HTMLPURIFIER_PREFIX | /www/wwwroot/tzsucai.com/vendor/ezyang/htmlpurifier/library |
| PINYIN_DEFAULT | 4096 |
| PINYIN_TONE | 2 |
| PINYIN_NO_TONE | 4 |
| PINYIN_ASCII_TONE | 8 |
| PINYIN_NAME | 16 |
| PINYIN_KEEP_NUMBER | 32 |
| PINYIN_KEEP_ENGLISH | 64 |
| PINYIN_UMLAUT_V | 128 |
| PINYIN_KEEP_PUNCTUATION | 256 |