string(54165) "
System Error
错误语句:select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ()
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
// 调试结束
$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/www.innovastarx.com/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at Connection->query('select * from (selec...')
-
at call_user_func_array([object(Mysql), 'query'], ['select * from (selec...']) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/Db.php line 178 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at Db::__callStatic('query', ['select * from (selec...']) in /www/wwwroot/www.innovastarx.com/application/common/logic/GoodsLogic.php line 587 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at Db::query('select * from (selec...') in /www/wwwroot/www.innovastarx.com/application/common/logic/GoodsLogic.php line 587 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at GoodsLogic->getGoodsIdBySpec('ggg') in /www/wwwroot/www.innovastarx.com/application/home/controller/Goods.php line 248 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at Goods->goodsList()
-
at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at App::invokeMethod([object(Goods), 'goodsList'], []) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 616 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at App::module(['home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at App::exec(['type' => 'module', 'module' => ['home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at App::run() in /www/wwwroot/www.innovastarx.com/thinkphp/start.php line 19 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at require('/www/wwwroot/www.inn...') in /www/wwwroot/www.innovastarx.com/index.php line 63 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
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 |
innovastarx |
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
Server/Request Data
SCRIPT_FILENAME
/www/wwwroot/www.innovastarx.com/index.php
REQUEST_URI
/index.php/home/Goods/goodsList/id/116/spec/ggg
DOCUMENT_URI
/index.php/home/Goods/goodsList/id/116/spec/ggg
DOCUMENT_ROOT
/www/wwwroot/www.innovastarx.com
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
3.149.232.230
SERVER_NAME
www.innovastarx.com
PATH_INFO
/home/Goods/goodsList/id/116/spec/ggg
HTTP_HOST
innovastarx.com
HTTP_CACHE_CONTROL
no-cache
HTTP_SEC_CH_UA
"HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
HTTP_SEC_CH_UA_PLATFORM
"Windows"
HTTP_UPGRADE_INSECURE_REQUESTS
1
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
HTTP_SEC_FETCH_MODE
navigate
HTTP_SEC_FETCH_DEST
document
HTTP_ACCEPT_ENCODING
gzip, deflate, br, zstd
PHP_SELF
/index.php/home/Goods/goodsList/id/116/spec/ggg
REQUEST_TIME_FLOAT
1736735253.1923
Environment Variables
empty
ThinkPHP Constants
PLUGIN_PATH
/www/wwwroot/www.innovastarx.com/plugins/
UPLOAD_PATH
public/upload/
SITE_URL
https://innovastarx.com
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/www.innovastarx.com/application/
THINK_START_TIME
1736735253.1931
THINK_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/
LIB_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.innovastarx.com/
EXTEND_PATH
/www/wwwroot/www.innovastarx.com/extend/
VENDOR_PATH
/www/wwwroot/www.innovastarx.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.innovastarx.com/runtime/
LOG_PATH
/www/wwwroot/www.innovastarx.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.innovastarx.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.innovastarx.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.innovastarx.com/application/
ADDON_PATH
/www/wwwroot/www.innovastarx.com/addons/
ThinkPHP
V5.0.15
{ 十年磨一剑-为API开发设计的高性能框架 }
"
System Error
错误语句:select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ()
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
// 调试结束
$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/www.innovastarx.com/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at Connection->query('select * from (selec...')
-
at call_user_func_array([object(Mysql), 'query'], ['select * from (selec...']) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/Db.php line 178 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at Db::__callStatic('query', ['select * from (selec...']) in /www/wwwroot/www.innovastarx.com/application/common/logic/GoodsLogic.php line 587 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at Db::query('select * from (selec...') in /www/wwwroot/www.innovastarx.com/application/common/logic/GoodsLogic.php line 587 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at GoodsLogic->getGoodsIdBySpec('ggg') in /www/wwwroot/www.innovastarx.com/application/home/controller/Goods.php line 248 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at Goods->goodsList()
-
at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at App::invokeMethod([object(Goods), 'goodsList'], []) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 616 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at App::module(['home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at App::exec(['type' => 'module', 'module' => ['home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at App::run() in /www/wwwroot/www.innovastarx.com/thinkphp/start.php line 19 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
-
at require('/www/wwwroot/www.inn...') in /www/wwwroot/www.innovastarx.com/index.php line 63 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/116/spec/ggg
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 |
innovastarx |
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
Server/Request Data
SCRIPT_FILENAME
/www/wwwroot/www.innovastarx.com/index.php
REQUEST_URI
/index.php/home/Goods/goodsList/id/116/spec/ggg
DOCUMENT_URI
/index.php/home/Goods/goodsList/id/116/spec/ggg
DOCUMENT_ROOT
/www/wwwroot/www.innovastarx.com
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
3.149.232.230
SERVER_NAME
www.innovastarx.com
PATH_INFO
/home/Goods/goodsList/id/116/spec/ggg
HTTP_HOST
innovastarx.com
HTTP_CACHE_CONTROL
no-cache
HTTP_SEC_CH_UA
"HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
HTTP_SEC_CH_UA_PLATFORM
"Windows"
HTTP_UPGRADE_INSECURE_REQUESTS
1
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
HTTP_SEC_FETCH_MODE
navigate
HTTP_SEC_FETCH_DEST
document
HTTP_ACCEPT_ENCODING
gzip, deflate, br, zstd
PHP_SELF
/index.php/home/Goods/goodsList/id/116/spec/ggg
REQUEST_TIME_FLOAT
1736735253.1923
Environment Variables
empty
ThinkPHP Constants
PLUGIN_PATH
/www/wwwroot/www.innovastarx.com/plugins/
UPLOAD_PATH
public/upload/
SITE_URL
https://innovastarx.com
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/www.innovastarx.com/application/
THINK_START_TIME
1736735253.1931
THINK_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/
LIB_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.innovastarx.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.innovastarx.com/
EXTEND_PATH
/www/wwwroot/www.innovastarx.com/extend/
VENDOR_PATH
/www/wwwroot/www.innovastarx.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.innovastarx.com/runtime/
LOG_PATH
/www/wwwroot/www.innovastarx.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.innovastarx.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.innovastarx.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.innovastarx.com/application/
ADDON_PATH
/www/wwwroot/www.innovastarx.com/addons/
ThinkPHP
V5.0.15
{ 十年磨一剑-为API开发设计的高性能框架 }