Hey guys,

anyone know where i can debug this sql statement.

it's in /catalog/shopping_cart.php , only happens when Logged In and if i try to add something to my cart.

error is as follows:

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 '{2}4' at line 5

so which file contains the bad sql statement, and which sql statement in that file is it.

is there anyway to turn on better debugging?

Thanks,