Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2008
    Posts
    50
    Plugin Contributions
    0

    Default 1064 You have an error in your SQL syntax;

    im getting the following error on my index.php?main_page=shopping_cart&product_id=6

    Anyone have something similar that might be able to assist and resolve this.



    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 '' at line 6
    in:
    [select p.products_id, pd.products_name, products_date_available as date_expected, p.master_categories_id from products p, products_description pd where p.products_id = pd.products_id and p.products_status = 1 and pd.language_id = '1' and p.products_date_available >20080903235959 order by date_expected desc limit ]

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: 1064 You have an error in your SQL syntax;

    Did you read the similar threads listed at the bottom of this page?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2008
    Posts
    50
    Plugin Contributions
    0

    Default Re: 1064 You have an error in your SQL syntax;

    Quote Originally Posted by kobra View Post
    Did you read the similar threads listed at the bottom of this page?
    i did now but i dont see what would fix this one part

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

    Default Re: 1064 You have an error in your SQL syntax;

    Need a lot more information ...

    What version of Zen Cart?
    Is it a new install or an upgrade? From which versions?
    What addons have you installed?
    What kinds of customizations have you made?
    What is the URL to your site?
    Who is the hosting company?
    When did the problem first start?
    What "changed" around the time the problem first started?
    What version of PHP is your server using?
    What version of MySQL?
    Does the problem happen with every product, or just certain ones?
    Where on the page does the SQL message appear?
    What *exact* click-by-click steps must be taken to reproduce the problem?
    What's unique about your site vs a brand new uncustomized install?
    .

    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. 1064 - You have an error in your SQL syntax
    By jason.b in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Aug 2012, 05:50 PM
  2. 1064 You have an error in your SQL syntax
    By jencdesigns in forum General Questions
    Replies: 0
    Last Post: 23 Sep 2010, 01:46 AM
  3. 1064 You have an error in your SQL syntax;
    By ndr2010 in forum General Questions
    Replies: 10
    Last Post: 19 Apr 2010, 08:36 PM
  4. 1064 You have an error in your SQL syntax
    By techie in forum Basic Configuration
    Replies: 1
    Last Post: 13 May 2006, 03:53 PM

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