window.document.write("");
SELECT COUNT(*) AS tp_count FROM `gsa_goods_belong_341` `b` INNER JOIN `giftshop`.`gs_goods` `g` ON `g`.`id`=`b`.`goods_id` LEFT JOIN `giftshop`.`gs_goods_lable` `l` ON `b`.`lable_id`=`l`.`id` WHERE ( b.is_on_sale = 1 and (b.sys_on_sale = 1 or b.applet_id != 1) ) AND ( !(b.`classifys` regexp '(^|,)(463|474|698|706|1024|1045|1422|2290|2293|2870|3269|3270|4176|4199|4256|5145|699|700|701|702|703|704|707|708|709|710|711|714|1046|1047|1072|1075|2250|2294|2295|2379|2832|2835|3651|4096|4257|4258|4259|4260|4261|4262|4263|4264|4265|4266|4267|5291|698|699|700|701|702|703|704|1072|1075|2250|2832|4096|899|1046|1047|1072|1114|1197|1316|4279|4280|4281|4283|4285|4291|1259|3267|3438|3442|3447|3449|3451|3458|4216|3447|3449|3451|3449|3451|3458|3651|4096|4242|1197|1316|4279|4280|4281|4283|4285|4291|5212|5213|4728|5215|5216|5217|5218|5219|5220|5221|5213|4728|5215|5216|5217|5218|5219|5220|5221)(,|$)') ) AND ( b.shop_price between end_price and 999999 and b.`classifys` NOT IN (5272,5271,5253,5256,5255,5254,5043,5044,5045,5032,5033,5034,5035,5036,5037,5038,5039,5040,5041,5024,5025,5026,5027,5028,5029,5030,5010,5011,5012,5013,5014,5015,5016,5017,5018,5019,5020,5021,5022,5005,5006,5007,5008,5000,5001,5002,5003,5149,4998,5175,5176,5177,5180,5182,4993,4994,4995,4996,5091,5098,5171,5243,4987,4988,4989,4990,4991,4984,4985,4955,4956,4957,4958,4959,4960,4961,4966,4967,4968,4969,4970,4971,4972,4973,4974,4975,4976,4977,4978,4979,4980,4981,4982,5089,5094,5241,4933,4934,4935,4936,4937,4938,4939,4940,4941,4942,4943,4944,4945,4946,4947,4948,4949,4950,4951,4952,4953,4954,5172,5078,5079,5080,5081,5082,5083,5084,5085,5086,4909,4910,4911,4913,4914,4915,4916,4917,4918,4919,4920,4921,4922,4923,4924,4109,4110,4111,3886,4106,4104,3958,4098,4099,4100,3954,3928,3929,3930,3931,3933,3934,3935,3936,3937,3938,3939,3941,3942,3943,3944,3945,3946,3947,3948,3949,3950,3951,3916,3917,3918,3919,3920,3921,3922,3923,3924,3925,3926,3906,3907,3908,3909,3910,3911,3912,3913,3914,3903,3895,3896,3897,3898,3899,3900,3901,3888,3889,3890,3891,3892,3893,4079,4080,4081,4082,4083,4084,4085,4086,4072,4073,4074,4075,4076,4077,4062,4063,4064,4065,4066,4067,4068,4069,4070,4055,4056,4057,4058,4059,4060,3982,3983,3984,3986,3987,3993,3996,3976,3977,3978,3979,3980,4053,3960,3961,3964,3965,3966,3967,3968,3969,3970,3971,3972,3973,5183,4040,4041,4042,4043,4044,4045,4046,4047,4048,4049,4050,4051,4052,4030,4031,4032,4033,4034,4035,4036,4037,4038,4023,4024,4025,4026,4027,4028,4012,4013,4014,4015,4016,4017,4018,4019,4020,4021,4009,4010,4004,4005,4006,4007,3642,3827,3618,3620,3621,3622,3624,3633,3634,3636,3665,3698,3699,3738,3739,3740,3741,4088,4089,4097,4209,4210,5277,3616,3619,3640,3294,3322,3181,3178,3179,3114,3130,3131,3110,3127,3128,3132,3102,3125,3126,3098,3123,3124,3094,3122,3091,3120,3121,3087,3118,3119,3082,3116,3117,3175,3077,3115,3068,3069,3074,1718,1719,1774,1576,1858,1859,1860,1861,1862,1863,1864,1853,1854,1855,1856,1857,1824,1825,1826,1827,1828,1829,1830,1831,1442,1443,1444,1445,1446,1447,1448,1449,1419,1420,1421,1414,1415,1416,1417,1406,1407,1408,1322,1323,1324,1334,1335,1336,1337,1338,902) )

[10501] PDOException in Connection.php line 687

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'end_price' in 'where clause'

  1. $this->debug(false, '', $master);
  2. // ؽ
  3. return $this->getResult($pdo, $procedure);
  4. } catch (\PDOException $e) {
  5. if ($this->isBreak($e)) {
  6. return $this->close()->query($sql, $bind, $master, $pdo);
  7. }
  8. echo $sql;
  9. throw new PDOException($e, $this->config, $this->getLastsql());
  10. } catch (\Throwable $e) {
  11. if ($this->isBreak($e)) {
  12. return $this->close()->query($sql, $bind, $master, $pdo);
  13. }
  14. throw $e;
  15. } catch (\Exception $e) {
  16. if ($this->isBreak($e)) {
  17. return $this->close()->query($sql, $bind, $master, $pdo);

Call Stack

  1. in Connection.php line 687
  2. at Connection->query('SELECT COUNT(*) AS t...', [], false, true) in Connection.php line 1299
  3. at Connection->value(object(Query), ['COUNT(*) AS tp_count'], 0, false) in Connection.php line 1327
  4. at Connection->aggregate(object(Query), 'COUNT', 'COUNT(*) AS tp_count') in Query.php line 643
  5. at Query->aggregate('COUNT', '*', true) in Query.php line 678
  6. at Query->count() in Query.php line 1804
  7. at Query->paginate(30, false, ['type' => 'Page\Page', 'var_page' => 'page', 'list_rows' => 15, ...]) in Goods.php line 196
  8. at Goods->goodsList()
  9. at ReflectionMethod->invokeArgs(object(Goods), []) in Container.php line 395
  10. at Container->invokeReflectMethod(object(Goods), object(ReflectionMethod), ['start_price' => 'end_price', 'convert' => false]) in Module.php line 131
  11. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  12. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  13. at Middleware->think\{closure}(object(Request))
  14. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  15. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  16. at Module->exec() in Dispatch.php line 168
  17. at Dispatch->run() in App.php line 432
  18. at App->think\{closure}(object(Request), object(Closure), null)
  19. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  20. at Middleware->think\{closure}(object(Request))
  21. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  22. at Middleware->dispatch(object(Request)) in App.php line 435
  23. at App->run() in index.php line 22

Exception Datas

PDO Error Info
SQLSTATE 42S22
Driver Error Code 1054
Driver Error Message Unknown column 'end_price' in 'where clause'
Database Status
Error Code 10501
Error Message SQLSTATE[42S22]: Column not found: 1054 Unknown column 'end_price' in 'where clause'
Error SQL SELECT COUNT(*) AS tp_count FROM `gsa_goods_belong_341` `b` INNER JOIN `giftshop`.`gs_goods` `g` ON `g`.`id`=`b`.`goods_id` LEFT JOIN `giftshop`.`gs_goods_lable` `l` ON `b`.`lable_id`=`l`.`id` WHERE ( b.is_on_sale = 1 and (b.sys_on_sale = 1 or b.applet_id != 1) ) AND ( !(b.`classifys` regexp '(^|,)(463|474|698|706|1024|1045|1422|2290|2293|2870|3269|3270|4176|4199|4256|5145|699|700|701|702|703|704|707|708|709|710|711|714|1046|1047|1072|1075|2250|2294|2295|2379|2832|2835|3651|4096|4257|4258|4259|4260|4261|4262|4263|4264|4265|4266|4267|5291|698|699|700|701|702|703|704|1072|1075|2250|2832|4096|899|1046|1047|1072|1114|1197|1316|4279|4280|4281|4283|4285|4291|1259|3267|3438|3442|3447|3449|3451|3458|4216|3447|3449|3451|3449|3451|3458|3651|4096|4242|1197|1316|4279|4280|4281|4283|4285|4291|5212|5213|4728|5215|5216|5217|5218|5219|5220|5221|5213|4728|5215|5216|5217|5218|5219|5220|5221)(,|$)') ) AND ( b.shop_price between end_price and 999999 and b.`classifys` NOT IN (5272,5271,5253,5256,5255,5254,5043,5044,5045,5032,5033,5034,5035,5036,5037,5038,5039,5040,5041,5024,5025,5026,5027,5028,5029,5030,5010,5011,5012,5013,5014,5015,5016,5017,5018,5019,5020,5021,5022,5005,5006,5007,5008,5000,5001,5002,5003,5149,4998,5175,5176,5177,5180,5182,4993,4994,4995,4996,5091,5098,5171,5243,4987,4988,4989,4990,4991,4984,4985,4955,4956,4957,4958,4959,4960,4961,4966,4967,4968,4969,4970,4971,4972,4973,4974,4975,4976,4977,4978,4979,4980,4981,4982,5089,5094,5241,4933,4934,4935,4936,4937,4938,4939,4940,4941,4942,4943,4944,4945,4946,4947,4948,4949,4950,4951,4952,4953,4954,5172,5078,5079,5080,5081,5082,5083,5084,5085,5086,4909,4910,4911,4913,4914,4915,4916,4917,4918,4919,4920,4921,4922,4923,4924,4109,4110,4111,3886,4106,4104,3958,4098,4099,4100,3954,3928,3929,3930,3931,3933,3934,3935,3936,3937,3938,3939,3941,3942,3943,3944,3945,3946,3947,3948,3949,3950,3951,3916,3917,3918,3919,3920,3921,3922,3923,3924,3925,3926,3906,3907,3908,3909,3910,3911,3912,3913,3914,3903,3895,3896,3897,3898,3899,3900,3901,3888,3889,3890,3891,3892,3893,4079,4080,4081,4082,4083,4084,4085,4086,4072,4073,4074,4075,4076,4077,4062,4063,4064,4065,4066,4067,4068,4069,4070,4055,4056,4057,4058,4059,4060,3982,3983,3984,3986,3987,3993,3996,3976,3977,3978,3979,3980,4053,3960,3961,3964,3965,3966,3967,3968,3969,3970,3971,3972,3973,5183,4040,4041,4042,4043,4044,4045,4046,4047,4048,4049,4050,4051,4052,4030,4031,4032,4033,4034,4035,4036,4037,4038,4023,4024,4025,4026,4027,4028,4012,4013,4014,4015,4016,4017,4018,4019,4020,4021,4009,4010,4004,4005,4006,4007,3642,3827,3618,3620,3621,3622,3624,3633,3634,3636,3665,3698,3699,3738,3739,3740,3741,4088,4089,4097,4209,4210,5277,3616,3619,3640,3294,3322,3181,3178,3179,3114,3130,3131,3110,3127,3128,3132,3102,3125,3126,3098,3123,3124,3094,3122,3091,3120,3121,3087,3118,3119,3082,3116,3117,3175,3077,3115,3068,3069,3074,1718,1719,1774,1576,1858,1859,1860,1861,1862,1863,1864,1853,1854,1855,1856,1857,1824,1825,1826,1827,1828,1829,1830,1831,1442,1443,1444,1445,1446,1447,1448,1449,1419,1420,1421,1414,1415,1416,1417,1406,1407,1408,1322,1323,1324,1334,1335,1336,1337,1338,902) )
Database Config
type mysql
hostname 127.0.0.1
database giftshop_app
hostport 3306
dsn
params []
charset utf8
prefix gsa_
debug false
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
resultset_type
auto_timestamp false
datetime_format Y-m-d H:i:s
sql_explain false
builder
query \think\db\Query
break_reconnect false
break_match_str []

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
_vstime 1653714692
Session
think { "applet_id": 341 }
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE _vstime=1653714692
HTTP_REFERER /
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2)
HTTP_HOST www.likegifts.com.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME hkvs.miniappss.com
SERVER_PORT 80
SERVER_ADDR 172.26.241.242
REMOTE_PORT 53195
REMOTE_ADDR 154.208.108.206
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/hkvs.miniappss.com/public
DOCUMENT_URI /index.php
REQUEST_URI /list/start_price/end_price/200.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/list/start_price/end_price/200.html
SCRIPT_FILENAME /www/wwwroot/hkvs.miniappss.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1653714692.8619
REQUEST_TIME 1653714692
Environment Variablesempty
ThinkPHP Constants
TABLE_CACHE_TIME 3600