Forums / Basic Configuration / 1054 Unknown column 'admin_level' in 'field list'

1054 Unknown column 'admin_level' in 'field list'

Started by eric_engler on 19 Sep 2012, 1:27 AM · Views: 2,174

Results 1 to 3 of 3
19 Sep 2012, 1:27 AM
#1
eric_engler avatar

eric_engler

New Zenner

Join Date:
Jun 2011
Posts:
6
Plugin Contributions:
0

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.

19 Sep 2012, 3:33 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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.

24 Nov 2012, 3:39 AM
#3
swjake avatar

swjake

New Zenner

Join Date:
Feb 2012
Posts:
20
Plugin Contributions:
0

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?