Thread: admin not shown

Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2015
    Posts
    24
    Plugin Contributions
    0

    Default admin not shown

    Hello,
    when I use php 5.5 or 5.6, admin is not shown and the log indicate a problem with the file "class.admin.zcObserverLogEventListener.php" in zencart/cat_min/includes/classes/class.admin.zcObserverLogEventListener.php. It seems the recent versions of php don't recognize "static::$levels;" (late static bindings).
    Has some one the same problem ?
    Is there a solution ?
    Thank's

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    Default Re: admin not shown with php 5.5 or 5.6

    Hmm, my site's running PHP 5.6.10 without issue. Did you check the Zen Cart v1.5.4 patch list?

  3. #3
    Join Date
    Jul 2015
    Posts
    24
    Plugin Contributions
    0

    Default Re: admin not shown with php 5.5 or 5.6

    yes and everything is ok here

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

    Default Re: admin not shown with php 5.5 or 5.6

    To confirm, the fileset installed was obtained from the ZC website and this occurs in a fresh nstall of that fileset?

    What differences in the files are there compared to a fresh install?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jul 2015
    Posts
    24
    Plugin Contributions
    0

    Default Re: admin not shown with php 5.5 or 5.6

    this is not a fresh install but it is the first time I try to use php 5.5 or 5.6. The htaccess was in php 5.4.
    There are some addons but classic ones : sitemapXML, Seo Ultimate URLs, a plugin for my bank and a template "responsive_sheffield_blue"

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

    Default Re: admin not shown with php 5.5 or 5.6

    Quote Originally Posted by bilbaxo View Post
    this is not a fresh install but it is the first time I try to use php 5.5 or 5.6. The htaccess was in php 5.4.
    There are some addons but classic ones : sitemapXML, Seo Ultimate URLs, a plugin for my bank and a template "responsive_sheffield_blue"
    SEO Ultimate URLs, is this actually Ultimate SEO URLs and not Simple SEO URLs?

    Agree that list does not seem to indicate anything on the admin side that would be affected directly. So you were able to identify the problem by review of the error logs?

    Had you tried applying the same "fix" as is suggested for PHP 5.2.17? (It may also be that the applicable PHP 5.5/5.6 is not "recognized"/implemented for the PHP version "chosen".)

    Create a file with a filename of your choosing, but ending in .php in your store's main directory.
    In the file place the following code:
    Code:
    <?php echo phpinfo(); ?>
    access the file,
    capture the results,
    delete the file.
    review the PHP version that is identified in the file.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Jul 2015
    Posts
    24
    Plugin Contributions
    0

    Default Re: admin not shown with php 5.5 or 5.6

    very good ; I was in 5.2.17 ?????????????
    Im am on ovh servers and the command in the .htaccess didn't work anymore and without a message...
    So I use their .ovhconfig and I am now in php 5.5 and the admin works.
    My thanks

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

    Default Re: admin not shown with php 5.5 or 5.6

    Quote Originally Posted by bilbaxo View Post
    very good ; I was in 5.2.17 ?????????????
    Im am on ovh servers and the command in the .htaccess didn't work anymore and without a message...
    So I use their .ovhconfig and I am now in php 5.5 and the admin works.
    My thanks
    Glad that it got resolved. Clues helped... The issue identified as lat9 somewhat directed towards was that the error happens only when using PHP 5.2.17. Although a "selection" of PHP 5.5 or 5.6 had been made, it was not recognized at the fileset and thus (still not sure why/how servers even have/offer that as an "option") PHP 5.2.17 was presented. Normally process would be to ask to login to the admin and click version, but.... can't get there, can't perform the action.

    Thanks goes to many others that have suggested the above method of obtaining the information, and hopefully others will carry the thought forward as necessary. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Admin Activity Report not shown
    By Hell Guapo in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Nov 2011, 07:01 AM
  2. Order placed not shown in admin
    By EAPerformanceParts in forum General Questions
    Replies: 8
    Last Post: 9 Mar 2011, 02:18 AM
  3. not all orders shown in admin
    By ilonka in forum Managing Customers and Orders
    Replies: 1
    Last Post: 12 Aug 2007, 09:45 PM
  4. order not shown in admin
    By ilonka in forum Managing Customers and Orders
    Replies: 8
    Last Post: 26 Apr 2007, 06:08 AM
  5. Sale price shown in cart, but not shown in listing
    By itollij in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 28 Mar 2007, 10:41 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