PDA

View Full Version : Help with printable catalog



hrhstephen
09-03-2005, 01:41 AM
i am using osc max 2, when i click on the printable catalog i get an 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

select distinct p.products_id, p.products_image, p.products_model, p.products_quantity, p.products_weight, pd.products_name, p.manufacturers_id, p.products_price, p.products_date_added, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price, m.manufacturers_name, pd.products_description, cd.categories_name, p.products_tax_class_id, p2c.categories_id from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join categories_description cd on p2c.categories_id = cd.categories_id left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and cd.language_id = '1' order by p.products_price DESC, pd.products_name LIMIT -10, 10

[TEP STOP]


Can anyone help please.... :lol:

jpf
09-03-2005, 10:57 AM
Do you have any product setup? I think I got this or simular error cause of this....

hrhstephen
09-03-2005, 03:33 PM
Yes, i have about 60 products in the store, everything else is working, this is very puzzling....