Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2006
    Posts
    36
    Plugin Contributions
    0

    Default Problem wirh Coupon Admin

    I thought I had all of my problems sorted out after my upgrade tp 1.3.6, but it looks like there is one more. When I lick on the Coupon Admin I get this under Discount Coupons:

    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 store_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 fields.

    Something may have been corrupted in the upload, but I don't know what files to reupload.

    Any Help is appreciated.

    Thanks, Jack

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problem wirh Coupon Admin

    When you did the Upgrade, did you Upgrade the database with /zc_install

    If you go to /zc_install and click on Upgraded database ... are any of the boxes checked?

    If so, backup your database then run the Updates that are checked 1 by 1 ...

    Does this if the problem?

    Peek via phpMyAdmin at your database to see what the structure of the coupons table looks like ... as it appears you are missing an update to the table and do not have a new field in there called: coupon_zone_restriction
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2006
    Posts
    36
    Plugin Contributions
    0

    Default Re: Problem wirh Coupon Admin

    As far as I remember, when I upgraded the database all went well. Everything was back as it was before the upgrade. At this point, the store has been open and selling for the past 2 weeks, so I do not want to try upgrading the database with the backup copy as it will wipe out all of the newacconts.

    Is there a way to add this field to the existing database without deleting any of the entries that are there now? Or are you saying to backup my exsiting database now, then run the installer again to fix this problem?


    Jack

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

    Default Re: Problem wirh Coupon Admin

    Quote Originally Posted by BreaJR View Post
    Is there a way to add this field to the existing database without deleting any of the entries that are there now? Or are you saying to backup my exsiting database now, then run the installer again to fix this problem?
    Yes -- that should resolve it.
    .

    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
    Apr 2006
    Posts
    36
    Plugin Contributions
    0

    Default Re: Problem wirh Coupon Admin

    OK, thank you very much. I will do this on Saturday evening which is the slowest time for the store. I will report back then as to the success I have.

    Jack

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Problem wirh Coupon Admin

    Of course, be sure to use the v1.3.6 version of the zc_install folder in order to do this.

    And of course, make a full database backup before doing the upgrade.
    .

    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.

 

 

Similar Threads

  1. v151 Coupon Admin hidden from Navigation Bar in Admin
    By retched in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 19 Jun 2014, 02:03 PM
  2. Help!Cant checkout wirh MC with SecurePay mod
    By vip_peng in forum Addon Payment Modules
    Replies: 0
    Last Post: 23 Sep 2010, 12:43 AM
  3. problem with coupon admin
    By modwerx in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 26 Apr 2009, 04:33 PM
  4. Restriction problem in Coupon Admin
    By LTaylorBrown in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 24 Apr 2008, 01:59 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