Zen Cart Logo
Forums / All Other Contributions/Addons / 1064 mysql error

1064 mysql error

Locked

Views: 698

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
28 Mar 2010, 10:15 PM
#1
m4rtyj avatar

m4rtyj

New Zenner

Join Date:
Mar 2010
Posts:
5
Plugin Contributions:
0

1064 mysql error

Hi all,

I have uploaded the ltest version of zencart through fantastico loader, which installed without problems.

I am trying to modify my site so that customers can upload their photos for me to modify/ enlarge etc.

I need the customer to click on the size that they require and then upload their photo and then order the photo enlargement.

I have installed photoorder 1 which can be found here forums.aurigma.com/yaf_postst3943_HOWTO-Integrate-Image-Uploader-into-Zen-Cart.aspx i think is created by aurigma, but when i come to install the sql patch in the admin area of zencart, I get the following 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 'WHERE products_options_name='Photo'' at line 1
in:
[DELETE FROM zen_ products_options WHERE products_options_name='Photo';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Can someone please explain what this means and how i can install the sql patch, ive been trying for days now and still get the same problems.

I have even tried installing the zencart files manually via filezilla and the problem still remains although it is worded slightly.

Thanks in advance.

:no:

28 Mar 2010, 10:31 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: 1064 mysql error

The problem is that you have a space between the table-prefix ("zen_") and the table name.
That suggests that the addon's SQL patch is written badly.

I suggest you talk to the addon's author. And, if the addon isn't hosted in the Free Addons area of the Zen Cart site then support for it isn't offered on this site. You'll need to deal with the author directly.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.