Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2011
    Posts
    2
    Plugin Contributions
    0

    Default 1064 Error after installing Time Zone Fix addon

    have Error
    installed Time Zone Fix


    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_PRODUCT_INFO_MAIN' at line 1
    in:
    [SQL_SHOW_PRODUCT_INFO_MAIN]

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 1064 Error after installing Time Zone Fix addon

    Looks like you've damaged the files in the /includes/classes/db/mysql/ folder.
    Put the original files back and that error should go away.
    .

    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.

  3. #3
    Join Date
    Aug 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: 1064 Error after installing Time Zone Fix addon

    unfortunately, no

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 1064 Error after installing Time Zone Fix addon

    Okay, then you didn't restore the files properly.
    Remove all the files you added with the addon, and put back the original version of all the files you replaced.

    The SQL_SHOW_PRODUCT_INFO_MAIN constant is defined in the /includes/classes/db/mysql/define_queries.php file. So either you've deleted that file, or it's damaged, or you've done something very bizarre to other core system files that prevents that file from loading.

    Restore from backup or do a fresh clean install again.
    .

    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. v139h 1064 database error after installing newsletter subscribe module
    By joanna7284 in forum Customization from the Admin
    Replies: 1
    Last Post: 21 Jul 2012, 03:37 AM
  2. 1064 You have an error in your SQL syntax - Time Zone Offset
    By clipegg in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 28 Oct 2010, 04:37 AM
  3. Urgent help - quick fix? Broken site after installing Ad Manager addon
    By mygalaxy in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 26 Jun 2009, 09:34 AM
  4. Blank Field in Time Zone - getting 1064 error
    By cornucop in forum Basic Configuration
    Replies: 6
    Last Post: 1 Jan 2009, 07:08 PM
  5. Replies: 3
    Last Post: 21 Sep 2008, 12:45 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR