Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2014
    Posts
    1
    Plugin Contributions
    0

    Default Admin centrum messed up

    Hello guys,

    i upgraded from 1.3.8 to 1.5.1 using zc_install. Upgrading went with some issues, there were pretty enough maybe about 50-60 messages ".... because it already exists" After ugrading i went to my admin centrum, first i see that loading gif was still there, but i logged in without problems.(i had slovak language installed on 1.3.8 version).

    Then problems started, on every site in admin centrum is this : WARNING: An Error occurred, please refresh the page and try again.

    I took a look at logs and this is message from admin/index.php :

    PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant BOX_HEADING_ADMIN_ACCESS in /data/p/o/myweb/admin/includes/functions/admin_access.php on line 816
    [29-Jan-2014 19:28:05 UTC] PHP Fatal error: 1054:Unknown column 'SUPERUSER_PROFILE' in 'where clause' :: SELECT admin_id from it_admin
    WHERE admin_id = 5
    AND admin_profile = SUPERUSER_PROFILE in /data/p/o/myweb/includes/classes/db/mysql/query_factory.php on line 120


    Other pages like categories.php, languages.php had the same message :

    PHP Warning: Missing argument 2 for check_page(), called in /data/p/o/myweb/admin/includes/init_includes/overrides/init_admin_auth.php on line 21 and defined in /data/p/o/myweb/admin/includes/functions/admin_access.php on line 15
    [29-Jan-2014 19:28:13 UTC] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant in /data/p/o/myweb/admin/includes/functions/admin_access.php on line 38
    [29-Jan-2014 19:28:13 UTC] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant BOX_HEADING_ADMIN_ACCESS in /data/p/o/myweb/admin/includes/functions/admin_access.php on line 816
    [29-Jan-2014 19:28:13 UTC] PHP Fatal error: 1054:Unknown column 'SUPERUSER_PROFILE' in 'where clause' :: SELECT admin_id from it_admin
    WHERE admin_id = 5
    AND admin_profile = SUPERUSER_PROFILE in /data/p/o/myweb/includes/classes/db/mysql/query_factory.php on line 120



    Any help would be appreciated.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Admin centrum messed up

    Are you still using the other language??

    Did you also upgrade these other language files?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Admin centrum messed up

    Did your previous version have 'admin profiles' installed? ZC v1.51 has it built in. Your first statement says the column doesn't exist... perhaps it was skipped in the db upgrade process, yet the site files still have the admin profile code in them.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

 

 

Similar Threads

  1. Special characters messed up in ZC Admin
    By magicpants in forum Installing on a Linux/Unix Server
    Replies: 47
    Last Post: 12 Jun 2010, 10:19 AM
  2. admin/index.php all messed up.
    By raquelann in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 16 Jul 2008, 02:43 PM
  3. messed up admin
    By ljsoroka in forum Basic Configuration
    Replies: 3
    Last Post: 24 Nov 2007, 02:28 AM
  4. No images in admin. Messed up catalog display.
    By anduril3019 in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 18 Dec 2006, 10:01 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