$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 '' 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 '' at line 1 |
Error SQL | SELECT COUNT(*) AS tp_count FROM `tp_news` `A` INNER JOIN `tp_auth_admin` `B` ON `A`.`admin_id`=`B`.`id` INNER JOIN `tp_news_type` `C` ON `A`.`type_id`=`C`.`id` WHERE `A`.`status` = '1' AND `A`.`type_id` = |
type | mysql |
hostname | 127.0.0.1 |
database | www_doublefitnes |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | tp_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
resultset_type | array |
auto_timestamp | true |
datetime_format | Y-m-d H:i:s |
sql_explain | false |
builder | |
query | \think\db\Query |
break_reconnect | false |
break_match_str | [] |
7720ca31a37e4171f80aa837cf1ec282 | 1 |
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.doublefitness.com.tw |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.doublefitness.com.tw |
SERVER_PORT | 443 |
SERVER_ADDR | 61.216.114.55 |
REMOTE_PORT | 54354 |
REMOTE_ADDR | 3.91.249.156 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/www.doublefitness.com.tw |
DOCUMENT_URI | /index.php |
REQUEST_URI | /category/%e5%a3%ba%e9%88%b4/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/category/%E5%A3%BA%E9%88%B4/ |
SCRIPT_FILENAME | /www/wwwroot/www.doublefitness.com.tw/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711714320.1768 |
REQUEST_TIME | 1711714320 |
APP_PATH | /www/wwwroot/www.doublefitness.com.tw/app/ |
__EDITION__ | v1.0.1 |
__ADMIN__ | /public/admin |
__INDEX__ | /public/index |
__PULOADS__ | /public/data/uploads |
ROOT_PATH | /www/wwwroot/www.doublefitness.com.tw |
PHP_FLOAT_DIG | 15 |
PHP_FLOAT_EPSILON | 2.2204460492503E-16 |
PHP_FLOAT_MIN | 2.2250738585072E-308 |
PHP_FLOAT_MAX | 1.7976931348623E+308 |
PHP_OS_FAMILY | Linux |