Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2008
    Posts
    4
    Plugin Contributions
    0

    Default Coupon Module --Installed but not working

    Hi, I've created tons of coupons in the past, but none lately

    Though my coupon module is installed, when I go to Gift Certificates/Coupons/Coupon Admin. I now just get this text :

    1054 Unknown column 'coupon_zone_restriction' in 'field list'
    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, 20]
    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 field

    I'm a novice and am hoping it's an easy fix. Thank you!, jill

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Coupon Module --Installed but not working

    Looks like a missing / corrupted table in the database.

    What version of ZC are you using?

    Did you do any upgrades since last using coupons? (ie: does your code version match your dbase version?)

  3. #3
    Join Date
    Jan 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Coupon Module --Installed but not working

    Thx for your response!

    My friend has been doing updates & i know he's done at least one months ago. Don't think i've attempted a coupon since then.

    At the top of my adminhome page, it states "your database appears to need patching to a higher level"

    when i go to Tools/Server/version Info, in bold letters it says: Zencart 1.3.8a
    Patch level 1.3.5

    below that i guess this is the history? Here it is:

    v1.3.5 [2008-01-24 22:53:06] (Version Update 1.3.0.2->1.3.5)
    v1.3.0.2 [2008-01-24 22:53:04] (Version Update 1.3.0.1->1.3.0.2)
    v1.3.0.1 [2008-01-24 22:53:04] (Version Update 1.3.0->1.3.0.1)
    v1.3.0 [2008-01-24 22:53:04] (Version Update 1.2.7->1.3.0)
    v1.2.6 [2005-11-29 06:29:13] (Fresh Installation)

    Thank you!

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Coupon Module --Installed but not working

    As I thought... a mismatch in your code version and your dbase version. I'm surprised a lot more hasn't gone pear-shaped!

    Get your database up to the same version as your code files.

  5. #5
    Join Date
    Jan 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Coupon Module --Installed but not working

    Thank you!

    Okay, so the database patch level must be 1.3.8a as the current zencart version. I see tools/install SQL patches. Is this where I start? I'm not advanced in this area and am afraid i'll screw it up. I don't even know how to backup my database! If it's a long and detailed process, should I look in the online manual and try to figure it out ? "My IT helper" friend is not returning calls! Thanks, Jill

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Coupon Module --Installed but not working

    Safest way is to follow the UPGRADE procedure, and I think all you need do in your case is grab a copy of 1.3.8a and unzip it to your hard drive, but instead of FTP up the whole pack of folders for 1.3.8a, you'll just need to FTP the zc_install folder - as your site already comprises the 1.3.8a file sets. (zc_install contains all the SQL patches, and the php files for the upgrade.)

    But before you run the UPGRADE, be absolutely sure to read this:-

    https://www.zen-cart.com/tutorials/i...hp?article=108

    I cannot emphasise enough the need to backup your database before running the upgrade. If you are not experienced at this, then rather let someone with better knowledge do it for you.

 

 

Similar Threads

  1. Installed css flyout menu add on but not working
    By wotnow in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 2 Apr 2010, 01:13 AM
  2. Captcha installed but verification not working
    By starks in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 10 Jul 2008, 10:50 PM
  3. coupon codes module not working?! help?
    By triwisconsin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Dec 2007, 07:34 PM
  4. Order status emails not working (with edit-orders module installed)
    By Rebelwax in forum Managing Customers and Orders
    Replies: 3
    Last Post: 28 Jul 2007, 01:08 PM
  5. SSL/HTTPS installed but not working with zen
    By niteryder in forum General Questions
    Replies: 3
    Last Post: 8 May 2007, 09:48 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