Thread: 1054 Error

Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default 1054 Error

    WE have never used the coupon admin area until now and it is giving us this error. Does anyone know how to fix this so we can use coupons?


    Coupon Name Coupon Amount Coupon Code Status Starts Expires Action
    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 fields.

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

    Default Re: 1054 Error

    What version of Zen Cart?
    Was this an upgrade from a prior version? Which versions?
    What addons/contributions have you installed to the site?
    .

    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.

  3. #3
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: 1054 Error

    Yes we had a much older version of zen cart and updated to the version that is found in cpanel that will do that auto upgrade.

    We only have what comes on it, no extra things installed on the cart.

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

    Default Re: 1054 Error

    Um .... there's no truly reliable "auto-upgrade".

    It seems pretty clear that something got missed in the upgrade. The most obvious symptom is the missing database field that the error message is pointing out. There could be a multitude of other things missed too.

    I'd be inclined to say that the best place to start is to make sure you have backups of files and database, from both before the upgrade as well as current, and then do a manual upgrade yourself. Besides, to truly diagnose what really went wrong requires basically running through all the upgrade steps anyway.

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

    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
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: 1054 Error

    So the fantasco in cpanel is no good then?

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

    Default Re: 1054 Error

    Quote Originally Posted by awoman View Post
    So the fantasco in cpanel is no good then?
    Fantastico is fine for installing Zen Cart so someone can quickly install and see if it's something they'd like to use. That's about all it's good for. Their upgrades -- which I believe they state on-screen -- are *not* intended to be run on live stores. Their upgrade is *only* applicable if someone has installed a prior version just to look at, and wants to update that to the latest version. If they've customized anything, the fantastico upgrade is likely to break things.
    .

    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.

  7. #7
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: 1054 Error

    So do you have any idea how we can fix this?

  8. #8
    Join Date
    Dec 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: 1054 Error

    Is there like one or two files we can just upload that will fix it?

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

    Default Re: 1054 Error

    Quote Originally Posted by awoman View Post
    Is there like one or two files we can just upload that will fix it?
    Not likely.
    Your original post mentions an error message that suggests your database structure doesn't match what it's supposed to be.
    You'll need to use zc_install to fix that, or carefully analyze the database-structure of each table in your database vs the correct structure in the zc_install/sql installation files to see what's missing. You could have problems in more tables than just the one mentioned in your error message.
    .

    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. v139h DC 1054 error, and error in 'Product Restrictions' section
    By isaiah36 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 25
    Last Post: 14 Jan 2013, 07:54 AM
  2. Error 1054
    By micatex in forum General Questions
    Replies: 3
    Last Post: 9 May 2008, 07:30 AM
  3. 1054 Error
    By maggiesmom1 in forum Basic Configuration
    Replies: 20
    Last Post: 1 Nov 2006, 12:15 AM

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