Hi,
Prior to the recent upgrade, Using Restrictions in Coupon Admin worked fine. Today I tried to restrict a coupon and as soon as I click on the Restriction Button, I get this message:
Category Restrictions
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, MAX_DISPLAY_RESTRICT_ENTRIES' at line 1
in:
[select * from coupon_restrict where coupon_id = '56' and category_id != '0' limit -0, MAX_DISPLAY_RESTRICT_ENTRIES]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
It looks like I need to change some setting in display restrict entries .. but I have no idea where to find this. I found in the GV Coupons - Maximum Coupons displayed, and fiddled with those numbers, but obviously this is not the issue as the Coupon page is displaying fine.
Details of my Version, recently upgraded.
Zen Cart 1.3.9g
Database Patch Level: 1.3.9g
v1.3.9g [2010-11-02 00:59:08] (Version Update 1.3.8->1.3.9g)
v1.3.8 [2009-07-10 10:38:43] (Fresh Installation)
PHP Version 5.2.11
Database: MySQL 5.0.91-community
Any help on fixing this would be very much appreciated! Thanks for your time :)
Rachel


Reply With Quote

