string(49750) "


    
    System Error
    
    
    


    
错误语句:SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = :where_is_on_sale AND `goods_state` = :where_goods_state AND `cat_id3` = :where_cat_id3 ORDER BY `javscript:` desc,`goods_id` desc

[10501] PDOException in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'javscript:' in 'order clause'

  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/sun.tpsns.com/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  2. at Connection->query('SELECT `goods_id` FR...', ['where_is_on_sale' => [1, 1], 'where_goods_state' => [1, 1], 'where_cat_id3' => [85, 1]], false, true) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/db/Query.php line 227 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  3. at Query->query('SELECT `goods_id` FR...', ['where_is_on_sale' => [1, 1], 'where_goods_state' => [1, 1], 'where_cat_id3' => [85, 1]], false, true) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/db/Query.php line 2291 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  4. at Query->getPdo() in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/db/Query.php line 462 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  5. at Query->column('goods_id') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/db/Query.php line 2868 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  6. at Query->getField('goods_id', true) in /www/wwwroot/sun.tpsns.com/application/home/controller/Goods.php line 258 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  7. at Goods->goodsList()
  8. at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  9. at App::invokeMethod([object(Goods), 'goodsList'], []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 614 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  10. at App::module(['Home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  11. at App::exec(['type' => 'module', 'module' => ['Home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  12. at App::run() in /www/wwwroot/sun.tpsns.com/thinkphp/start.php line 19 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  13. at require('/www/wwwroot/sun.tps...') in /www/wwwroot/sun.tpsns.com/index.php line 137 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:

Exception Datas

PDO Error Info
SQLSTATE 42S22
Driver Error Code 1054
Driver Error Message Unknown column 'javscript:' in 'order clause'
Database Status
Error Code 10501
Error Message SQLSTATE[42S22]: Column not found: 1054 Unknown column 'javscript:' in 'order clause'
Error SQL SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_state` = 1 AND `cat_id3` = 85 ORDER BY `javscript:` desc,`goods_id` desc
Database Config
type mysql
hostname 127.0.0.1
database bb2_chongbeiduo
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
85
sort
javscript:
POST Data
empty
Files
empty

Cookies

PHPSESSID
vu804n1naof5lt4m9t6ab138u6
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/sun.tpsns.com/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index.php/Home/Goods/goodsList/id/85/sort/javscript:
DOCUMENT_URI
/index.php/Home/Goods/goodsList/id/85/sort/javscript:
DOCUMENT_ROOT
/www/wwwroot/sun.tpsns.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
216.73.216.11
REMOTE_PORT
35851
SERVER_ADDR
172.27.37.71
SERVER_PORT
80
SERVER_NAME
sun.tpsns.com
REDIRECT_STATUS
200
PATH_INFO
/Home/Goods/goodsList/id/85/sort/javscript:
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_COOKIE
PHPSESSID=vu804n1naof5lt4m9t6ab138u6
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_HOST
sun.tpsns.com
HTTP_VIA
1.1 squid-proxy-5b5d847c96-5kd72 (squid/6.10)
HTTP_X_FORWARDED_FOR
10.1.4.226
HTTP_CACHE_CONTROL
max-age=259200
HTTP_CONNECTION
keep-alive
PHP_SELF
/index.php/Home/Goods/goodsList/id/85/sort/javscript:
REQUEST_TIME_FLOAT
1768478079.0361
REQUEST_TIME
1768478079
HTTPS
on
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/sun.tpsns.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
31104000
SITE_URL
https://sun.tpsns.com
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/sun.tpsns.com/application/
NOW_TIME
1768478079
THINK_VERSION
5.0.15
THINK_START_TIME
1768478079.0368
THINK_START_MEM
325232
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/
LIB_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/
CORE_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/sun.tpsns.com/
EXTEND_PATH
/www/wwwroot/sun.tpsns.com/extend/
VENDOR_PATH
/www/wwwroot/sun.tpsns.com/vendor/
RUNTIME_PATH
/www/wwwroot/sun.tpsns.com/runtime/
LOG_PATH
/www/wwwroot/sun.tpsns.com/runtime/log/
CACHE_PATH
/www/wwwroot/sun.tpsns.com/runtime/cache/
TEMP_PATH
/www/wwwroot/sun.tpsns.com/runtime/temp/
CONF_PATH
/www/wwwroot/sun.tpsns.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Goods
ACTION_NAME
goodsList
PREFIX
tp_
SESSION_ID
" System Error
错误语句:SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = :where_is_on_sale AND `goods_state` = :where_goods_state AND `cat_id3` = :where_cat_id3 ORDER BY `javscript:` desc,`goods_id` desc

[10501] PDOException in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'javscript:' in 'order clause'

  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/sun.tpsns.com/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  2. at Connection->query('SELECT `goods_id` FR...', ['where_is_on_sale' => [1, 1], 'where_goods_state' => [1, 1], 'where_cat_id3' => [85, 1]], false, true) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/db/Query.php line 227 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  3. at Query->query('SELECT `goods_id` FR...', ['where_is_on_sale' => [1, 1], 'where_goods_state' => [1, 1], 'where_cat_id3' => [85, 1]], false, true) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/db/Query.php line 2291 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  4. at Query->getPdo() in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/db/Query.php line 462 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  5. at Query->column('goods_id') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/db/Query.php line 2868 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  6. at Query->getField('goods_id', true) in /www/wwwroot/sun.tpsns.com/application/home/controller/Goods.php line 258 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  7. at Goods->goodsList()
  8. at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  9. at App::invokeMethod([object(Goods), 'goodsList'], []) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 614 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  10. at App::module(['Home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  11. at App::exec(['type' => 'module', 'module' => ['Home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  12. at App::run() in /www/wwwroot/sun.tpsns.com/thinkphp/start.php line 19 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:
  13. at require('/www/wwwroot/sun.tps...') in /www/wwwroot/sun.tpsns.com/index.php line 137 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/85/sort/javscript:

Exception Datas

PDO Error Info
SQLSTATE 42S22
Driver Error Code 1054
Driver Error Message Unknown column 'javscript:' in 'order clause'
Database Status
Error Code 10501
Error Message SQLSTATE[42S22]: Column not found: 1054 Unknown column 'javscript:' in 'order clause'
Error SQL SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_state` = 1 AND `cat_id3` = 85 ORDER BY `javscript:` desc,`goods_id` desc
Database Config
type mysql
hostname 127.0.0.1
database bb2_chongbeiduo
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
85
sort
javscript:
POST Data
empty
Files
empty

Cookies

PHPSESSID
vu804n1naof5lt4m9t6ab138u6
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/sun.tpsns.com/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index.php/Home/Goods/goodsList/id/85/sort/javscript:
DOCUMENT_URI
/index.php/Home/Goods/goodsList/id/85/sort/javscript:
DOCUMENT_ROOT
/www/wwwroot/sun.tpsns.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
216.73.216.11
REMOTE_PORT
35851
SERVER_ADDR
172.27.37.71
SERVER_PORT
80
SERVER_NAME
sun.tpsns.com
REDIRECT_STATUS
200
PATH_INFO
/Home/Goods/goodsList/id/85/sort/javscript:
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_COOKIE
PHPSESSID=vu804n1naof5lt4m9t6ab138u6
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_HOST
sun.tpsns.com
HTTP_VIA
1.1 squid-proxy-5b5d847c96-5kd72 (squid/6.10)
HTTP_X_FORWARDED_FOR
10.1.4.226
HTTP_CACHE_CONTROL
max-age=259200
HTTP_CONNECTION
keep-alive
PHP_SELF
/index.php/Home/Goods/goodsList/id/85/sort/javscript:
REQUEST_TIME_FLOAT
1768478079.0361
REQUEST_TIME
1768478079
HTTPS
on
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/sun.tpsns.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
31104000
SITE_URL
https://sun.tpsns.com
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/sun.tpsns.com/application/
NOW_TIME
1768478079
THINK_VERSION
5.0.15
THINK_START_TIME
1768478079.0368
THINK_START_MEM
325232
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/
LIB_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/
CORE_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/sun.tpsns.com/
EXTEND_PATH
/www/wwwroot/sun.tpsns.com/extend/
VENDOR_PATH
/www/wwwroot/sun.tpsns.com/vendor/
RUNTIME_PATH
/www/wwwroot/sun.tpsns.com/runtime/
LOG_PATH
/www/wwwroot/sun.tpsns.com/runtime/log/
CACHE_PATH
/www/wwwroot/sun.tpsns.com/runtime/cache/
TEMP_PATH
/www/wwwroot/sun.tpsns.com/runtime/temp/
CONF_PATH
/www/wwwroot/sun.tpsns.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Goods
ACTION_NAME
goodsList
PREFIX
tp_
SESSION_ID