Zen Cart Logo
Forums / General Questions / Error in Tools - Admin Settings

Error in Tools - Admin Settings

Views: 1,205

Results 1 to 3 of 3
21 Jan 2012, 11:25 AM
#1
einarso avatar

einarso

New Zenner

Join Date:
Nov 2011
Posts:
45
Plugin Contributions:
0

Error in Tools - Admin Settings

Hi,
when I go to Tools - Admin Settings in the admin part of ZC, I get the following error message:

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.

I do not get any of the user accounts on screen. Anyone who can suggest how I can fix this?

21 Jan 2012, 12:28 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Error in Tools - Admin Settings

You upgraded your database to v1.5.0 but you're running v1.3.x PHP code on your site.

Why are you doing that?

23 Jan 2012, 10:10 AM
#3
einarso avatar

einarso

New Zenner

Join Date:
Nov 2011
Posts:
45
Plugin Contributions:
0

Re: Error in Tools - Admin Settings

Thanks for pointing me in the right direction. I upgraded my site and backed up my database. Then I found out that I had problems with 1.5 regarding localization (norwegian language pack), so I "downgraded" and importet det backed up data from 1.5. Silly of me, but I didn't think of the possibility of changes in the database.

Thanks again!