Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2012
    Posts
    14
    Plugin Contributions
    0

    Default 1064 - You have an error in your SQL syntax

    I wonder if anyone has had an issue updating sql patches with a template.

    I've had a template installed , by the seller, and Ive tried to run the sql patch for cross selling and I get a "page not found" issue.

    I did a little look around the forums and it seemed I needed to contact my hosting company as something may have been switched off.

    They said all was ok their end it looked like the template was at fault.

    Ive contacted the template company who says its an issue with the sql patch and a line that says

    products_xsell.sql is not included to the template package. Nevertheless we have tried to import it to your database. We have got the following error:
    products_xsell.sql

    MySQL said:
    #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 'TYPE=MyISAM' at line 15

    Can anyone shed some light ?

    REgards

    Jason

  2. #2
    Join Date
    Aug 2012
    Posts
    14
    Plugin Contributions
    0

    Default Re: Templates and SQL Issues

    Ive read this again and am wondering if maybe xsell isnt compatible with my template ?

  3. #3
    Join Date
    Jan 2004
    Posts
    58,246
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Templates and SQL Issues

    Quote Originally Posted by jason.b View Post
    MySQL said:
    #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 'TYPE=MyISAM' at line 15
    It's got nothing to do with your "template".

    That's a MySQL error, which is caused by using the old MySQL4 syntax with the new MySQL5 software.

    "TYPE=" was deprecated in favor of "ENGINE=".

    So, it would appear that the addon you're trying to install was written for a VERY old version of MySQL.

    And as such it was also probably intended to be installed on a VERY old version of Zen Cart. And consequently you might have further troubles using it if you try to apply it directly to a modern-day version of Zen Cart.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  4. #4
    Join Date
    Aug 2012
    Posts
    14
    Plugin Contributions
    0

    Default Re: Templates and SQL Issues

    Thanks very much for the help.

 

 

Similar Threads

  1. v139h 1064 You have an error in your SQL syntax
    By uniquely in forum Basic Configuration
    Replies: 6
    Last Post: 12 Jun 2012, 04:16 PM
  2. 1064 You have an error in your SQL syntax;
    By ndr2010 in forum Managing Customers and Orders
    Replies: 1
    Last Post: 16 Apr 2010, 07:39 PM
  3. 1064 You have an error in your SQL syntax
    By phastings in forum General Questions
    Replies: 1
    Last Post: 18 Dec 2008, 06:12 AM
  4. 1064 You have an error in your SQL syntax
    By dealbyethan.com in forum General Questions
    Replies: 3
    Last Post: 14 Apr 2007, 04:34 PM
  5. 1064 You have an error in your SQL syntax
    By yd29999 in forum Installing on a Windows Server
    Replies: 8
    Last Post: 2 Mar 2007, 05:47 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
  •