MySQL Query Error: SELECT distinct s.sid,pid,catid,domain,name,
case reviews
when 0 then 0
when 1 then 0.1
when 2 then 0.1
when 3 then 0.1
when 4 then 0.1
when 5 then 0.1
when 6 then 0.1
when 7 then 0.1
when 8 then 0.1
when 9 then 0.1
else avgsort end as avgsort,sort1,sort2,sort3,sort4,sort5,sort6,sort7,sort8,best,finer,pageviews,reviews,pictures,favorites,thumb,c_tianmao+c_taobao+c_jindong+c_suning+c_yihaodian as total,c_pinpaisx FROM [dbpre]subject s LEFT JOIN [dbpre]subject_tuiche sf ON (s.sid = sf.sid) LEFT JOIN [dbpre]subject_filter_cache sfc ON (s.sid = sfc.sid) WHERE s.status = '1' AND s.listshow = '0' LIMIT 0, 20
Error description: Unknown column 'c_tianmao' in 'field list'
Error number: 1054
Date: 2025-06-05 @ 14:09
Script: http://www.naifen123.cn/item-mobile-do-list-catid-87.html
File | Line | Function |
---|---|---|
core/lib/mysql.php | 91 | ms_mysql->_halt() |
core/lib/database.php | 404 | ms_mysql->query() |
core/modules/item/model/subject_class.php | 568 | ms_database->get() |
core/modules/item/mobile/list.php | 259 | msm_item_subject->getnewlist() |
core/modules/item/mobile.php | 28 | include() |
core/modules/item/common.php | 36 | include() |
index.php | 50 | include() |