Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2015
    Location
    Colorado
    Posts
    2
    Plugin Contributions
    0

    Default Blank admin login page

    I recently upgraded to 1.5.4 and everything seems OK except I get a blank login page. Log says:

    Fatal error: Class 'zcObserverLogEventListener' not found in /home/content/x/x/x/xxxxx/html/STORE/includes/autoload_func.php on line 79

    I host with Godaddy and my account uses PHP 5.3

    I found a similar error message in the forum (not exact) and I'm wondering if the 5.3 might be the problem.

    Any help would be appreciated.

    Thanks.
    Last edited by Lewie Paine; 31 Dec 2015 at 08:21 PM.

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Blank admin login page

    Check if you copied all the new files for zc 1.5.4

  3. #3
    Join Date
    Aug 2013
    Location
    Johannesburg, Gauteng, South Africa
    Posts
    3
    Plugin Contributions
    1

    Default Re: Blank admin login page

    I'm also having the same problem. Upgrade from 1.5.1 to 1.5.4 on test site using MAMP. Home page loads fine. Admin just shows a blank page.

    Error message is: Fatal error: Call to undefined function zen_parse_url() in /Applications/MAMP/htdocs/ZenCart/ADMIN/includes/configure.php on line 30

    Lines 29-32 in configure.php file are:

    define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    I'm stuck and want to test locally before I go live with this upgrade.

    Best,

    Gavin

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Blank admin login page

    Quote Originally Posted by GavinHeron View Post
    Error message is: Fatal error: Call to undefined function zen_parse_url() in /Applications/MAMP/htdocs/ZenCart/ADMIN/includes/configure.php on line 30
    That reveals that you didn't upgrade your /admin/includes/application_top.php file, which is where the zen_parse_url() function is defined.
    If you missed that file, it may be worth checking all your files in case you missed others too.
    .

    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. ZC admin login page is blank
    By raphael in forum Addon Templates
    Replies: 6
    Last Post: 9 Feb 2016, 12:32 AM
  2. Blank Admin Login Page
    By gabstero in forum General Questions
    Replies: 4
    Last Post: 16 Jul 2013, 06:06 PM

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