Zen Cart Logo
Forums / General Questions / 1064 You have an error in your SQL syntax when deleting from shopping cart

1064 You have an error in your SQL syntax when deleting from shopping cart

Locked

Views: 3,385

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
3 Jul 2007, 5:06 PM
#1
natasha avatar

natasha

New Zenner

Join Date:
Jul 2006
Posts:
9
Plugin Contributions:
0

1064 You have an error in your SQL syntax when deleting from shopping cart

Hi there,

Please can you assist, I get the following error when trying to delete a product out of the shopping cart.

Zen Cart 1.3.7 on a linux server, php 4.4.4

Your Shopping Cart is empty.
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 'SQL_SHOW_SHOPPING_CART_EMPTY' at line 1
in:
[SQL_SHOW_SHOPPING_CART_EMPTY]

Thanks so much!

3 Jul 2007, 5:15 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: 1064 You have an error in your SQL syntax when deleting from shopping cart

It appears that you are missing a file, or it failed to upload completely:
You should re-upload this file:

/includes/classes/db/mysql/define_queries.php

3 Jul 2007, 5:39 PM
#3
natasha avatar

natasha

New Zenner

Join Date:
Jul 2006
Posts:
9
Plugin Contributions:
0

Re: 1064 You have an error in your SQL syntax when deleting from shopping cart

The file was there, I deleted it and reuploaded it and it works now.
Thanks so much