Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2011
    Posts
    6
    Plugin Contributions
    0

    Default 1054 Unknown column 'admin_level' in 'field list'

    I have no idea how to correct this:


    Admin Settings
    1054 Unknown column 'admin_level' in 'field list'
    in:
    [select admin_id, admin_name, admin_email, admin_pass, admin_level from admin order by admin_name 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,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 1054 Unknown column 'admin_level' in 'field list'

    The "admin_level" field was removed in v1.5.0, and replaced with other things.

    So, if you're getting that error, it tells me you're using v1.3.9 code on a v1.5.0 database.

    So, that tells me you're upgrading your site, and you need to finish your 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.

  3. #3
    Join Date
    Feb 2012
    Posts
    20
    Plugin Contributions
    0

    Default Re: 1054 Unknown column 'admin_level' in 'field list'

    I have the same issue. I installed 1.5 originally, then changed to a 1.3.9f template and have added a bunch of mods since then and don't want to screw up the site. Don't think I dropped all tables of v1.5 DB; think I just installed 1.3.9 right on top.

    Any DB table I can alter or admin script to get a temporary fix until months down the road I completely update everything when the mods I use have caught up with 1.5?

 

 

Similar Threads

  1. 1054 Unknown column 'p.products_type' in 'field list'
    By dbnavan in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 4 Nov 2010, 05:03 AM
  2. 1054 Unknown column 'counter' in 'field list'
    By greelhound in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 28 May 2010, 03:50 PM
  3. 1054 Unknown column 'coupon_zone_restriction' in 'field list'
    By Tulameen in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 16
    Last Post: 13 Jun 2009, 07:23 PM
  4. 1054 Unknown column 'products_cost' in 'field list'
    By wowemall in forum General Questions
    Replies: 2
    Last Post: 29 Mar 2008, 07:07 AM

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