Results 1 to 10 of 16

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: T-Static - Missing Admin Menu

    So most likely cause of the absence of options within the admin screen (after the database upgrade is performed via zc_install process and only doing a database upgrade which has still not been complete as message still appears at top of webste) is one or more of the following database table data issues:
    - the admin profile(s) do not have a valid primary key number (non-zero)
    - the admin user(s) do not have a valid primary key number (non-zero)
    - the admin profile number assigned to the admin user is not valid/does not exist in the admn profile table.

    These items would be best viewed from phpmyadmin or similar database viewing software and the user(s) may need to be reconstructed temporarily through: http://www.zen-cart.com/content.php?44

    After gaining access, new users may need to be added and the old deleted to provide access by those users. I have yet to figure out why the above becomes necessary, but I have had to do those actions on more than one upgrade from those older versions and not entirely sure how they were able to login with that problem existing, but they could... Different sites, different owners/operators, different version histories, etc...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #2
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: T-Static - Missing Admin Menu

    Quote Originally Posted by mc12345678 View Post
    So most likely cause of the absence of options within the admin screen (after the database upgrade is performed via zc_install process and only doing a database upgrade which has still not been complete as message still appears at top of webste) is one or more of the following database table data issues:
    - the admin profile(s) do not have a valid primary key number (non-zero)
    - the admin user(s) do not have a valid primary key number (non-zero)
    - the admin profile number assigned to the admin user is not valid/does not exist in the admn profile table. ...
    Thank You for mentioning (I tend to forget about this one).

    If after the OP performs the database upgrade (still shows not completed on the website) the issue persists, this would be the next item on the checklist!
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #3
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: T-Static - Missing Admin Menu

    Quote Originally Posted by lhungil View Post
    Thank You for mentioning (I tend to forget about this one).

    If after the OP performs the database upgrade (still shows not completed on the website) the issue persists, this would be the next item on the checklist!
    Well, you know how it is with you and I, one of us posts something pertinent about the same time. :) glad you beat me to what you posted as it took long enough to thumb out what was above that I didn't want to include more than necessary.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Mar 2007
    Location
    Oregon
    Posts
    152
    Plugin Contributions
    0

    Default Re: T-Static - Missing Admin Menu

    Quote Originally Posted by mc12345678 View Post
    So most likely cause of the absence of options within the admin screen (after the database upgrade is performed via zc_install process and only doing a database upgrade which has still not been complete as message still appears at top of webste) is one or more of the following database table data issues:
    - the admin profile(s) do not have a valid primary key number (non-zero)
    - the admin user(s) do not have a valid primary key number (non-zero)
    - the admin profile number assigned to the admin user is not valid/does not exist in the admn profile table.

    These items would be best viewed from phpmyadmin or similar database viewing software and the user(s) may need to be reconstructed temporarily through: http://www.zen-cart.com/content.php?44

    After gaining access, new users may need to be added and the old deleted to provide access by those users. I have yet to figure out why the above becomes necessary, but I have had to do those actions on more than one upgrade from those older versions and not entirely sure how they were able to login with that problem existing, but they could... Different sites, different owners/operators, different version histories, etc...

    First I tried getting a password reset and log in. The Admin Menu items still did not show.

    Then I tried resetting the admin user by using the instructions from http://www.zen-cart.com/content.php?44.

    Still no Admin Menu items.

    m.fantasycostume.com

    CUURENT STATUS:

    1) Fresh 1.5.4 install with NO PLUGINS
    2) Database upgraded from 1.5.1 to 1.5.4
    3) Login with old admin user names gets in but gives no menu items
    4) Login with new admin user generated by instructions on http://www.zen-cart.com/content.php?44 gives no admin menu items.


    Also, I have been disabling the .htaccess file for testing to verify that it is not causing this issue.


    Last edited by masterrusty; 30 Sep 2015 at 04:33 PM.

  5. #5
    Join Date
    Mar 2007
    Location
    Oregon
    Posts
    152
    Plugin Contributions
    0

    Default Re: T-Static - Missing Admin Menu

    Ok. All fixed.





    It was the php version.

    wonder if that was it all along.



    Recommend that anyone haviong this issue start there.

    THANK YOU lhungil and mc12345678 for your time, support and patience.

    Soon I will have 8 years Administrating Zen sites and I am feeling less than Newbie.

  6. #6
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: T-Static - Missing Admin Menu

    Glad you were able to solve the issue (by upgrading the PHP version) and Thank You for reporting back the solution.

    Out of curiosity, were only the menu items missing (or was the entire rest of the admin page missing)?
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  7. #7
    Join Date
    Mar 2007
    Location
    Oregon
    Posts
    152
    Plugin Contributions
    0

    Default Re: T-Static - Missing Admin Menu

    Quote Originally Posted by lhungil View Post
    Glad you were able to solve the issue (by upgrading the PHP version) and Thank You for reporting back the solution.

    Out of curiosity, were only the menu items missing (or was the entire rest of the admin page missing)?


    The page was appearing, but there were no menu items.

  8. #8
    Join Date
    Feb 2007
    Posts
    210
    Plugin Contributions
    0

    Default Re: T-Static - Missing Admin Menu

    I am having a similar problem - but receiving an HTTP 500 error. No admin page at all.
    I just moved my site to a new host.
    Due to a catastrophic failure at my hosting company, I'm having to go with backups that are about a month old.
    Running 1.5.4.
    Installed store and DB fine - store seems just fine. admin page gives HTTP 500 error and I get this message in the log file:

    [11-Sep-2016 17:20:24] PHP Parse error: syntax error, unexpected T_STATIC in /home/myusername/public_html/myadmindirectory/includes/classes/class.admin.zcObserverLogEventListener.php on line 118

    New Hosting company PHP config page image here - www.shirts4bowling.com/temp/untitled-1.jpg

    Will changing this to 5.4 likely solve my problem?
    Last edited by mumzie; 12 Sep 2016 at 12:05 AM.

  9. #9
    Join Date
    Feb 2007
    Posts
    210
    Plugin Contributions
    0

    Default Re: T-Static - Missing Admin Menu

    Fixed temporarily by following instructions https://www.zen-cart.com/showthread....33#post1268233

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

    Default Re: T-Static - Missing Admin Menu

    Quote Originally Posted by masterrusty View Post
    It was the php version.

    wonder if that was it all along.
    Yes it was.
    You might want to apply the fixes for these other known problems too: https://www.zen-cart.com/showthread....33#post1268233
    .

    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. Admin menu - all options missing
    By Ritesh Kumar in forum General Questions
    Replies: 5
    Last Post: 17 Nov 2013, 05:23 AM
  2. Missing Menu in my admin?
    By UrbanFool in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 May 2009, 04:01 AM
  3. Admin menu missing lots of controls
    By Cafiend in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Sep 2008, 03:54 AM
  4. Coupon Admin is missing in GC/Cp menu
    By [email protected] in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 10 May 2007, 03:27 PM
  5. Missing: Admin - Configuration Menu Items
    By ernest in forum Basic Configuration
    Replies: 0
    Last Post: 12 Apr 2007, 01:06 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