Strange Error

com1usa <[email protected]> 12 Sep 2003 16:36:08 -0000
Newsgroups gmane.comp.web.oscommerce.general
Message-ID <da299bb7c9721e810e18ed9420e1da25@osCommerce-Forums>
This message was sent from: General Support
http://forums.oscommerce.com/viewtopic.php?p=228454#228454
----------------------------------------------------------------

I have a cart working perfectly, and then I was trying to get rid of the review button ,changed some files and now have this 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 '' at line 1

select p.products_id, p.products_image from orders_products opa, orders_products opb, orders o, products p where opa.products_id = '28' and opa.orders_id = opb.orders_id and opb.products_id != '28' and opb.products_id = p.products_id and opb.orders_id = o.orders_id and p.products_status = '1' group by p.products_id order by o.date_purchased desc limit 

[TEP STOP]

The cart still works from beginning to end except for this error that shows up on the product info page only. What could it be???