string(50514) "


    
    System Error
    
    
    


    
错误语句:select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ()

[10501] PDOException in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg

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

  1. // 调试结束
  2. $this->debug(false);
  3. // 返回结果集
  4. return $this->getResult($pdo, $procedure);
  5. } catch (\PDOException $e) {
  6. if ($this->isBreak($e)) {
  7. return $this->close()->query($sql, $bind, $master, $pdo);
  8. }
  9. echo '错误语句:'. $sql;
  10. throw new PDOException($e, $this->config, $this->getLastsql());
  11. } catch (\Throwable $e) {
  12. if ($this->isBreak($e)) {
  13. return $this->close()->query($sql, $bind, $master, $pdo);
  14. }
  15. echo '错误语句:'. $sql;
  16. throw $e;
  17. } catch (\Exception $e) {
  18. if ($this->isBreak($e)) {
  19. return $this->close()->query($sql, $bind, $master, $pdo);

Call Stack

  1. in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg
  2. at Connection->query('select * from (selec...')
  3. 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/88/spec/ggg
  4. at Db::__callStatic('query', ['select * from (selec...']) in /www/wwwroot/www.innovastarx.com/application/common/logic/GoodsLogic.php line 535 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg
  5. at Db::query('select * from (selec...') in /www/wwwroot/www.innovastarx.com/application/common/logic/GoodsLogic.php line 535 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg
  6. at GoodsLogic->getGoodsIdBySpec('ggg') in /www/wwwroot/www.innovastarx.com/application/home/controller/Goods.php line 238 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg
  7. at Goods->goodsList()
  8. 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/88/spec/ggg
  9. 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/88/spec/ggg
  10. 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/88/spec/ggg
  11. 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/88/spec/ggg
  12. at App::run() in /www/wwwroot/www.innovastarx.com/thinkphp/start.php line 19 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg
  13. at require('/www/wwwroot/www.inn...') in /www/wwwroot/www.innovastarx.com/index.php line 63 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/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

GET Data

id
88
spec
ggg
POST Data
empty
Files
empty

Cookies

is_mobile
0
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/www.innovastarx.com/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index.php/Home/Goods/goodsList/id/88/spec/ggg
DOCUMENT_URI
/index.php/Home/Goods/goodsList/id/88/spec/ggg
DOCUMENT_ROOT
/www/wwwroot/www.innovastarx.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
13.59.69.109
REMOTE_PORT
61099
SERVER_ADDR
172.16.0.135
SERVER_PORT
80
SERVER_NAME
www.innovastarx.com
REDIRECT_STATUS
200
PATH_INFO
/Home/Goods/goodsList/id/88/spec/ggg
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_HOST
innovastarx.com.
PHP_SELF
/index.php/Home/Goods/goodsList/id/88/spec/ggg
REQUEST_TIME_FLOAT
1734994930.7541
REQUEST_TIME
1734994930
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/www.innovastarx.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
http://innovastarx.com.
HTTP
http
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/www.innovastarx.com/application/
NOW_TIME
1734994930
THINK_VERSION
5.0.15
THINK_START_TIME
1734994930.7549
THINK_START_MEM
308160
EXT
.php
DS
/
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/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/www.innovastarx.com/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
it
SESSION_ID
" System Error
错误语句:select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ()

[10501] PDOException in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg

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

  1. // 调试结束
  2. $this->debug(false);
  3. // 返回结果集
  4. return $this->getResult($pdo, $procedure);
  5. } catch (\PDOException $e) {
  6. if ($this->isBreak($e)) {
  7. return $this->close()->query($sql, $bind, $master, $pdo);
  8. }
  9. echo '错误语句:'. $sql;
  10. throw new PDOException($e, $this->config, $this->getLastsql());
  11. } catch (\Throwable $e) {
  12. if ($this->isBreak($e)) {
  13. return $this->close()->query($sql, $bind, $master, $pdo);
  14. }
  15. echo '错误语句:'. $sql;
  16. throw $e;
  17. } catch (\Exception $e) {
  18. if ($this->isBreak($e)) {
  19. return $this->close()->query($sql, $bind, $master, $pdo);

Call Stack

  1. in /www/wwwroot/www.innovastarx.com/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg
  2. at Connection->query('select * from (selec...')
  3. 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/88/spec/ggg
  4. at Db::__callStatic('query', ['select * from (selec...']) in /www/wwwroot/www.innovastarx.com/application/common/logic/GoodsLogic.php line 535 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg
  5. at Db::query('select * from (selec...') in /www/wwwroot/www.innovastarx.com/application/common/logic/GoodsLogic.php line 535 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg
  6. at GoodsLogic->getGoodsIdBySpec('ggg') in /www/wwwroot/www.innovastarx.com/application/home/controller/Goods.php line 238 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg
  7. at Goods->goodsList()
  8. 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/88/spec/ggg
  9. 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/88/spec/ggg
  10. 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/88/spec/ggg
  11. 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/88/spec/ggg
  12. at App::run() in /www/wwwroot/www.innovastarx.com/thinkphp/start.php line 19 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/spec/ggg
  13. at require('/www/wwwroot/www.inn...') in /www/wwwroot/www.innovastarx.com/index.php line 63 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/88/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

GET Data

id
88
spec
ggg
POST Data
empty
Files
empty

Cookies

is_mobile
0
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/www.innovastarx.com/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index.php/Home/Goods/goodsList/id/88/spec/ggg
DOCUMENT_URI
/index.php/Home/Goods/goodsList/id/88/spec/ggg
DOCUMENT_ROOT
/www/wwwroot/www.innovastarx.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
13.59.69.109
REMOTE_PORT
61099
SERVER_ADDR
172.16.0.135
SERVER_PORT
80
SERVER_NAME
www.innovastarx.com
REDIRECT_STATUS
200
PATH_INFO
/Home/Goods/goodsList/id/88/spec/ggg
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_HOST
innovastarx.com.
PHP_SELF
/index.php/Home/Goods/goodsList/id/88/spec/ggg
REQUEST_TIME_FLOAT
1734994930.7541
REQUEST_TIME
1734994930
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/www.innovastarx.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
http://innovastarx.com.
HTTP
http
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/www.innovastarx.com/application/
NOW_TIME
1734994930
THINK_VERSION
5.0.15
THINK_START_TIME
1734994930.7549
THINK_START_MEM
308160
EXT
.php
DS
/
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/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/www.innovastarx.com/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
it
SESSION_ID