Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Testimonials Manager - MySQL error '-20,20'

Recommended Posts

I've installed contrib Customer Testimonials v1.0 http://www.oscommerce.com/community/contri...rch,testimonial


Everything installed fine however when I'm trying to access Testimonials Mgr I get the following error message:


Testimonials Manager

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 '-20, 20' at line 1


select * from customer_testimonials order by testimonials_id limit -20, 20




Here are the software versions:

osCommerce 2.2-MS2

MySQL: 4.1.10a


Any help is appreciated.

Link to comment
Share on other sites

That's a compatibility problem with php. There is a fix for it in the support area. I have no idea how to find it though so I can't help you there. You might try searching the forums for -20, 20. You'll probably need to use google.



Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

http://www.oscommerce.com/community/bugs,1605 .


We should get this added to Common Problems.


edit: Since you just got this when installing a contribution, I wonder if there is some code in the contrib that is similar to the code in split_page_results.php. Should be fairly easy to find once you read the bug detail.



Edited by jcall
Link to comment
Share on other sites


thankyou thankyou THANKYOU!!!!


I had the -20,20 problem in ORDERS under admin.

THIS fix worked first pop!




but i found it by pure chance, we need to make it easier to search for people, I had posted and searched many times, and still managed to not find that simply worded fixer upper!



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...