Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    162
    Plugin Contributions
    0

    Default Product reviews error message

    Hi

    When enabling product reviews and writing a sample review, I get the following error mesage when trying to submit:

    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 '-0, 0' at line 6
    in:
    [SELECT r.reviews_id, left(rd.reviews_text, 100) as reviews_text, r.reviews_rating, r.date_added, r.customers_name FROM reviews r, reviews_description rd WHERE r.products_id = 6 AND r.reviews_id = rd.reviews_id AND rd.languages_id = 1 and r.status = 1 ORDER BY r.reviews_id desc limit -0, 0]


    please can anyone help

    Derek

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Product reviews error message

    Go to your Zen Cart Admin and look in the Configuration ... Maximum Values ... where you will find a few settings addressing Reviews ...

    Make sure that these are not set to 0 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    162
    Plugin Contributions
    0

    Default Re: Product reviews error message

    thanks Ajeh Oba-san

    the "New products review number per page" was set to 0

    thanks again

    Derek

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Product reviews error message

    Not a problem ...

    Thanks for posting back that the issue was do to one of your configuration settings where the Maximum Value was set to 0 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Replies: 6
    Last Post: 31 Mar 2014, 03:06 PM
  2. Replies: 2
    Last Post: 22 Aug 2011, 09:20 PM
  3. Product Reviews Error
    By ZombieRus in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Jun 2008, 07:25 PM

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