Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product reviews error message

Product reviews error message

Locked

Views: 761

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 Aug 2008, 7:01 AM
#1
derek_bryant avatar

derek_bryant

Zen Follower

Join Date:
Jul 2008
Location:
Bristol UK
Posts:
162
Plugin Contributions:
0

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

5 Aug 2008, 4:14 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...

5 Aug 2008, 5:33 PM
#3
derek_bryant avatar

derek_bryant

Zen Follower

Join Date:
Jul 2008
Location:
Bristol UK
Posts:
162
Plugin Contributions:
0

Re: Product reviews error message

thanks Ajeh Oba-san

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

thanks again

Derek

5 Aug 2008, 7:51 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Product reviews error message

Not a problem ... :smile:

Thanks for posting back that the issue was do to one of your configuration settings where the Maximum Value was set to 0 ...