PEAR-Error
MDB2 Error: syntax error: _doQuery: [Error message: Could not execute statement] [Last query: SELECT p.product_id, p.product_name, pp.picture, pc.category_id FROM iShark_Shop_Products p INNER JOIN iShark_Shop_Products_Category pc on pc.product_id = p.product_id LEFT JOIN iShark_Shop_Products_Picture pp on pp.product_id = p.product_id WHERE p.is_active = 1 AND (p.timer_start = '0000-00-00 00:00:00' OR (p.timer_start < NOW() AND p.timer_end > NOW())) AND pc.category_id = ORDER BY p.is_preferred DESC, p.sortorder, p.lang ] [Native code: 1064] [Native 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 p.is_preferred DESC, p.sortorder, ' at line 14]
Fatal error: Call to undefined method MDB2_Error::fetchAll() in /www/www.masterplast.hu/modules/shop.php on line 1654