dootch Posted April 15, 2005 Share Posted April 15, 2005 In the admin panel when I click to view orders I get the following error message 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 products_description as desc_info from products_description where products_id = [TEP STOP] I have tracked that piece of code as coming from admin/includes/classes/orders.php its on about line 38 $description_query = tep_db_query("select products_description as desc_info from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = " . $orders_products['orders_products_id']); I looked at some of my other snapshots and it doesnt exist . So I take it out and the line under and it works. Does any one see a problem with this line of code. I would like to see what it does. I have added so many mods I can't pinpoint it. Any idea's? Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2005 Share Posted April 15, 2005 is this line of code from a contribution you added? Link to comment Share on other sites More sharing options...
dootch Posted April 15, 2005 Author Share Posted April 15, 2005 I do not recall adding it. I am doing some final testing when I noticed the error Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.