Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2010
    Posts
    5
    Plugin Contributions
    0

    Default 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.

    Last edited by m4rtyj; 28 Mar 2010 at 11:22 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default 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.

 

 

Similar Threads

  1. Fatal error: mysql error (1064 error) -- v1.0-alpha
    By Dale Schibbelhut in forum General Questions
    Replies: 9
    Last Post: 18 Nov 2010, 08:08 PM
  2. MySQL Error 1064 You have an error in your SQL syntax;
    By dmm2020 in forum General Questions
    Replies: 2
    Last Post: 22 Feb 2009, 05:02 AM
  3. Dreaded mYSQL 1064 error when importing MySQL 4 database into MySQL5
    By dml311071 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Jun 2008, 05:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg