Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2006
    Posts
    72
    Plugin Contributions
    1

    Default Coupon Admin not working after Update.

    Hi guys,

    I knew it: No update without trouble :) This one I have just found out after i had my shop updated 3 weeks ago and it was running find, cuz i didn't check the coupon admin. Wehn I enter the coupon admin on my I get the following error and don't know what the heck is wrong there:



    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_SEARCH_RESULTS_DISCOUNT_COUPONS' at line 1
    in:
    [select coupon_id, coupon_code, coupon_amount, coupon_type, coupon_start_date,coupon_expire_date,uses_per_user,uses_per_coupon,restrict_to_p roducts, restrict_to_categories, date_created,date_modified, coupon_active, coupon_zone_restriction from zen_coupons where coupon_active='Y' and coupon_type != 'G' limit -0, MAX_DISPLAY_SEARCH_RESULTS_DISCOUNT_COUPONS]
    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.


    Please Please help me.

    D.C.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Coupon Admin not working after Update.

    That suggests that at least one of the configuration settings is missing from your database's configuration table. However, there's no way to tell what happened to it, or if there are more missing.

    I recommend doing a clean install of Zen Cart in a different location and then comparing the configuration table in that with the one on your site.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Feb 2006
    Posts
    72
    Plugin Contributions
    1

    Default Re: Coupon Admin not working after Update.

    Quote Originally Posted by kuroi View Post
    That suggests that at least one of the configuration settings is missing from your database's configuration table. However, there's no way to tell what happened to it, or if there are more missing.

    I recommend doing a clean install of Zen Cart in a different location and then comparing the configuration table in that with the one on your site.
    Thank you, I will try this. But I am not sure which "configuration table" you mean... Since I am having only 2-3 discount coupons in my db now, I will delete all Coupon tables from the old database and drop em drom the new database and insert em again.
    U think this might work?

    D.C.

  4. #4
    Join Date
    Feb 2006
    Posts
    72
    Plugin Contributions
    1

    Default Re: Coupon Admin not working after Update.

    What I mean is, when I install a clean version of Zen Cart I will safe the Coupon tables from the database which was created from the new installation. Then I delete the coupon tables on my actual DB and insert the ones I safed before.

    D.C.

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Coupon Admin not working after Update.

    The clarification makes more sense than the post that preceded it.

    The configuration table to which I was referring is the table in your database called configuration, or if you're using a prefix zen_configuration or similar.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Feb 2006
    Posts
    72
    Plugin Contributions
    1

    Default Re: Coupon Admin not working after Update.

    Quote Originally Posted by kuroi View Post
    The clarification makes more sense than the post that preceded it.

    The configuration table to which I was referring is the table in your database called configuration, or if you're using a prefix zen_configuration or similar.
    Got that table and instaled a dumy zen cart. Is there a tool to compare this stuff? like in Phpmyadmin?

    D.C.

  7. #7
    Join Date
    Feb 2006
    Posts
    72
    Plugin Contributions
    1

    Default Re: Coupon Admin not working after Update.

    Does somebody know how to compare these entries?

  8. #8
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Coupon Admin not working after Update.

    We use the sync facility in sqlYog to generate a list of differences. But that might be a bit too technical to do and to interpret.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Admin profile update not working
    By mek113 in forum Basic Configuration
    Replies: 3
    Last Post: 29 Apr 2012, 05:56 PM
  2. embeded code not working after update
    By willpower68 in forum Addon Payment Modules
    Replies: 2
    Last Post: 9 Jul 2010, 02:40 AM
  3. Currency Update not working after moving to new server
    By Debbiekipt in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 30 May 2010, 01:03 PM
  4. website not working after update to 1.38
    By james739 in forum General Questions
    Replies: 5
    Last Post: 3 Jun 2008, 03:39 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR