Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    2
    Plugin Contributions
    0

    Default help with 1064 error

    Hello,

    I am trying to figure our what this error message means:

    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 8
    in:
    [select r.reviews_id, r.reviews_rating, p.products_id, p.products_image, pd.products_name from reviews r, reviews_description rd, products p, products_description pd where p.products_status = '1' and p.products_id = r.products_id and r.reviews_id = rd.reviews_id and rd.languages_id = '1' and p.products_id = pd.products_id and pd.language_id = '1' and r.status = 1 limit ]

    This error is stopping my main index.php page from loading.

    Can anyone help?

    Al

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: help with 1064 error

    There is no value set for the "limit" clause.

    What addons have you installed which may be causing this?
    .

    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. Error with new install 1.3.9d 1064 error in SQL syntax
    By Joseph M in forum Installing on a Linux/Unix Server
    Replies: 21
    Last Post: 28 Jun 2010, 06:36 PM
  2. sql syntax error 1064 - HELP NEEDED - Master Password
    By mydesignerstudio in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 20 Jul 2009, 04:22 PM
  3. 1064 error help
    By alhunter27 in forum General Questions
    Replies: 1
    Last Post: 14 Oct 2008, 02:36 AM
  4. 1064 error with Super Order 2.0 rev45 & 1.3.7
    By explorer1979 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 6 Jan 2007, 11:28 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