Zen Cart Logo
Forums / Upgrading to 1.5.x / Blank admin login page

Blank admin login page

Views: 1,063

Results 1 to 4 of 4
31 Dec 2015, 7:17 PM
#1
lewie_paine avatar

lewie_paine

New Zenner

Join Date:
Dec 2015
Location:
Colorado
Posts:
2
Plugin Contributions:
0

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.

31 Dec 2015, 7:26 PM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Blank admin login page

Check if you copied all the new files for zc 1.5.4

6 Jan 2016, 8:30 AM
#3
gavinheron avatar

gavinheron

New Zenner

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

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

6 Jan 2016, 8:40 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Blank admin login page

GavinHeron:

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.