Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2009
    Posts
    50
    Plugin Contributions
    0

    Default Review Error Message

    I received a review I approved through my admin, but I cannot see it on my website. When I click on "Reviews [more]" in the review box on my website, I get the following message:

    -4 -3 -2 -1 0
    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 9
    in:
    [SELECT r.reviews_id, left(rd.reviews_text, 100) AS reviews_text, r.reviews_rating, r.date_added, p.products_id, pd.products_name, p.products_image, r.customers_name FROM zen_reviews r, zen_reviews_description rd, zen_products p, zen_products_description pd WHERE p.products_status = '1' AND p.products_id = r.products_id AND r.reviews_id = rd.reviews_id AND p.products_id = pd.products_id AND pd.language_id = 1 AND rd.languages_id = 1 AND r.status = 1 ORDER BY r.reviews_id DESC limit -0, 0]

    Can anyone help me figure out what I need to do?
    Thanks in advance!!

  2. #2
    Join Date
    Feb 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Review Error Message

    A little more information to the above post:

    The above error only appears after I change the status of the review to "Enable". When the review is disabled and I click on "Reviews [more]", the message I get is "There are currently no product reviews."

  3. #3
    Join Date
    Feb 2009
    Posts
    50
    Plugin Contributions
    0

    Default Error Message Associated with Customer Review

    Can anyone help me figure out what I need to do to reconcile the above error message so that the customer reviews are visible on my zen cart?

    Thanks in advance!!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Review Error Message

    Quote Originally Posted by AnitaB View Post
    ...for the right syntax to use near '-0, 0' ...
    In Admin->Configuration->Maximum Values, what settings do you have set to 0? And why?
    Do any of those relate to Reviews? If yes, try setting it to 10 instead.
    .

    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.

  5. #5
    Join Date
    Feb 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Error Message Associated with Customer Review

    I don't recall setting it to zero, but it was! And I changed the value as you indicated, and it works now!!

    whew...I thought I had been hacked!

 

 

Similar Threads

  1. v150 Error message when review and save changed item
    By PortraitArtist in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 28 Mar 2013, 09:20 PM
  2. Authorize.net error message with no error message?
    By swamyg1 in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 19 Nov 2010, 12:32 AM
  3. customer area error message
    By lingerieman in forum General Questions
    Replies: 1
    Last Post: 1 Nov 2009, 02:34 PM
  4. Customer download gets error message
    By the_archangel in forum General Questions
    Replies: 11
    Last Post: 19 Feb 2009, 08:22 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