ONE-STOP ELECTRONICS REPAIR BUSINESS SOLUTIONS


Fatal error: Uncaught exception 'Exception' with 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 'ORDER BY order_num DESC,id DESC limit 0, 12' at line 1 in SQL: SELECT id,sku,name,quality,sale_price,url_name,color FROM rewa_product WHERE status=1 AND (brand="1" OR brand LIKE "1,%" OR brand LIKE "%,1,%" OR brand LIKE "%,1") AND (series="2" OR series LIKE "2,%" OR series LIKE "%,2,%" OR series LIKE "%,2") AND attribute = ORDER BY order_num DESC,id DESC limit 0, 12' in /usr/local/apache/htdocs/library/cls_mysql.php:37 Stack trace: #0 /usr/local/apache/htdocs/library/cls_mysql.php(64): Mysql->query('SELECT id,sku,n...') #1 /usr/local/apache/htdocs/plugins/product/smarty_function/function.getCatelogInfo.php(519): Mysql->find('SELECT id,sku,n...') #2 /usr/local/apache/htdocs/plugins/product/smarty_function/function.getCatelogInfo.php(187): getProductList(Array) #3 /usr/local/apache/htdocs/tmp/templater/compiled/rewa_pc_default/%% in /usr/local/apache/htdocs/library/cls_mysql.php on line 37