热销商品排行榜

MySQL Error:

MySQL Query Error: SELECT pid,subject,picture,thumb,price,promote,promote_start,promote_end FROM [dbpre]product WHERE status=1 AND is_on_sale=1 AND gcatid='57' AND city_id IN (0,) ORDER BY sales DESC LIMIT 0,10 Error description: 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 ') ORDER BY sales DESC LIMIT 0,10' at line 1
Error number: 1064
Date: 2026-01-19 @ 18:46
Script: http://www.tsczu58.com/index.php/product-list-catid-57-orderby-last_update.html

Debug backtrace:

FileLineFunction
core\lib\mysql.php115ms_mysql->_halt()
ms_mysql->query()
core\lib\activerecord.php37call_user_func_array()
core\helper\query.php16ms_activerecord->__call()
core\helper\query.php16ms_activerecord->query()
query->sql()
core\model\datacall_class.php185call_user_func()
core\function.php2122msm_datacall->datacall_get()
data\templates\main\default_product_list.htm.php28datacall_get()
core\modules\product\list.php78include()
core\modules\product\common.php26include()
index.php56include()