PDA

View Full Version : Error when buying product



dixxy
08-04-2005, 10:45 AM
When i click on the categories and select "Buy Now!" from the category overview, i get the following error (it dont happen from the product page, just the category pages):

1064 - You have an error in your SQL syntax near '' at line 1

delete from customers_wishlist WHERE customers_id=3 AND products_id=

[TEP STOP]

Why has this anything to do with the wishlist? I didnt even use it, maybe the same script file for both?

This is how my browsers adress line looks:

http://www.whyitwork.info/index.php?cPath=2_4&sort=4a&action=buy_now&product s_id=

I hope anyone can come with a fix for this =)

michael_s
08-04-2005, 11:56 AM
http://bugtrack.oscmax.com/view.php?id=11

http://bugtrack.oscmax.com/view.php?id=36