I have a cart that has been working correctly for some time. I'm not sure what version it is but I suspect it's an older version. (Where do I find the version?) When we try to add products to the catalog we now get the following error when we go into the Catalog>Categories / Products section. Does anybody have any idea what has caused this error and what we need to do to fix it.
Fatal error: mysql error: [1064: 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 '-10, 10' at line 1] in EXECUTE("select p.products_id, pd.products_name, p.products_model, p.products_quantity, p.products_image, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.products_quantity_order_min, p.products_quantity_order_units, p.products_priced_by_attribute, p.product_is_free, p.product_is_call, p.products_quantity_mixed, p.products_quantity_order_max from products p, products_description pd, products_to_categories p2c where p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = '0' order by pd.products_name limit -10, 10") in /home/roadware/public_html/includes/classes/adodb/adodb-errorhandler.inc.php on line 139
Bookmarks