string(52480) "
System Error
错误语句:select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ()
// 调试结束
$this->debug(false);
// 返回结果集
return $this->getResult($pdo, $procedure);
} catch (\PDOException $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}
echo '错误语句:'. $sql;
throw new PDOException($e, $this->config, $this->getLastsql());
} catch (\Throwable $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}
echo '错误语句:'. $sql;
throw $e;
} catch (\Exception $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
Call Stack
- in /www/wwwroot/douyuyang.tpshop.cn/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
-
at Connection->query('select * from (selec...')
-
at call_user_func_array([object(Mysql), 'query'], ['select * from (selec...']) in /www/wwwroot/douyuyang.tpshop.cn/thinkphp/library/think/Db.php line 178 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
-
at Db::__callStatic('query', ['select * from (selec...']) in /www/wwwroot/douyuyang.tpshop.cn/application/common/logic/GoodsLogic.php line 623 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
-
at Db::query('select * from (selec...') in /www/wwwroot/douyuyang.tpshop.cn/application/common/logic/GoodsLogic.php line 623 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
-
at GoodsLogic->getGoodsIdBySpec('tencent:') in /www/wwwroot/douyuyang.tpshop.cn/application/home/controller/Goods.php line 201 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
-
at Goods->goodsList()
-
at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/douyuyang.tpshop.cn/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
-
at App::invokeMethod([object(Goods), 'goodsList'], []) in /www/wwwroot/douyuyang.tpshop.cn/thinkphp/library/think/App.php line 616 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
-
at App::module(['home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/douyuyang.tpshop.cn/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
-
at App::exec(['type' => 'module', 'module' => ['home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/douyuyang.tpshop.cn/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
-
at App::run() in /www/wwwroot/douyuyang.tpshop.cn/thinkphp/start.php line 19 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
-
at require('/www/wwwroot/douyuya...') in /www/wwwroot/douyuyang.tpshop.cn/index.php line 72 请求方式GET 请求地址 /home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
Exception Datas
PDO Error Info
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
Database Status
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 * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ()
Database Config
type
mysql
hostname
127.0.0.1
database
b2_gc
hostport
3306
dsn
params
[]
charset
utf8
prefix
tp_
debug
true
deploy
0
rw_separate
false
master_num
1
slave_no
fields_strict
true
result_type
2
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
Environment Variables
GET Data
Menu
yes
Site
商城
id
836
spec
tencent:
POST Data
empty
Files
empty
Cookies
PHPSESSID
0gchpgavrbpguk5eqar0rk71i7
is_mobile
0
Session
empty
Server/Request Data
USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/douyuyang.tpshop.cn/index.php
QUERY_STRING
s=/home/Goods/goodsList/id/836/spec/tencent:/message/&Menu=yes&Site=%E5%95%86%E5%9F%8E
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/home/Goods/goodsList/id/836/spec/tencent:/message/?Menu=yes&Site=%E5%95%86%E5%9F%8E
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/douyuyang.tpshop.cn
SERVER_PROTOCOL
HTTP/2.0
REQUEST_SCHEME
https
HTTPS
on
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
216.73.216.4
REMOTE_PORT
46984
SERVER_ADDR
172.31.196.12
SERVER_PORT
443
SERVER_NAME
douyuyang.tpshop.cn
REDIRECT_STATUS
200
PATH_INFO
/home/Goods/goodsList/id/836/spec/tencent:/message/
HTTP_HOST
douyuyang.tpshop.cn
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_COOKIE
PHPSESSID=0gchpgavrbpguk5eqar0rk71i7; is_mobile=0
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1768417316.0525
REQUEST_TIME
1768417316
Environment Variables
empty
ThinkPHP Constants
IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/douyuyang.tpshop.cn/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
https://douyuyang.tpshop.cn
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/douyuyang.tpshop.cn/application/
NOW_TIME
1768417316
THINK_VERSION
5.0.15
THINK_START_TIME
1768417316.0534
THINK_START_MEM
313176
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/douyuyang.tpshop.cn/thinkphp/
LIB_PATH
/www/wwwroot/douyuyang.tpshop.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/douyuyang.tpshop.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/douyuyang.tpshop.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/douyuyang.tpshop.cn/
EXTEND_PATH
/www/wwwroot/douyuyang.tpshop.cn/extend/
VENDOR_PATH
/www/wwwroot/douyuyang.tpshop.cn/vendor/
RUNTIME_PATH
/www/wwwroot/douyuyang.tpshop.cn/runtime/
LOG_PATH
/www/wwwroot/douyuyang.tpshop.cn/runtime/log/
CACHE_PATH
/www/wwwroot/douyuyang.tpshop.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/douyuyang.tpshop.cn/runtime/temp/
CONF_PATH
/www/wwwroot/douyuyang.tpshop.cn/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/douyuyang.tpshop.cn/addons/
EXTEND_MODULE
1
EXTEND_ANDROID
2
EXTEND_IOS
3
EXTEND_ENTRUST
4
EXTEND_MINIAPP
5
EXTEND_H5
6
TIME_MOUTH
4
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Goods
ACTION_NAME
goodsList
PREFIX
tp_
LANG
zh-cn
SESSION_ID
"
// 调试结束$this->debug(false);// 返回结果集return $this->getResult($pdo, $procedure);} catch (\PDOException $e) {if ($this->isBreak($e)) {return $this->close()->query($sql, $bind, $master, $pdo);}echo '错误语句:'. $sql;throw new PDOException($e, $this->config, $this->getLastsql());} catch (\Throwable $e) {if ($this->isBreak($e)) {return $this->close()->query($sql, $bind, $master, $pdo);}echo '错误语句:'. $sql;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 * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and () |
| type | mysql |
| hostname | 127.0.0.1 |
| database | b2_gc |
| hostport | 3306 |
| dsn | |
| params | [] |
| charset | utf8 |
| prefix | tp_ |
| debug | true |
| deploy | 0 |
| rw_separate | false |
| master_num | 1 |
| slave_no | |
| fields_strict | true |
| result_type | 2 |
| 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 |