If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 1.5.x / Admin White Page - Cannot redeclare check_page()

Admin White Page - Cannot redeclare check_page()

Locked

Started by bsntech on 14 Jun 2012, 1:57 PM · Views: 919

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Jun 2012, 1:57 PM
#1
bsntech avatar

bsntech

New Zenner

Join Date:
Jun 2012
Posts:
2
Plugin Contributions:
0

Admin White Page - Cannot redeclare check_page()

Hello all,

Upgrading a site from 1.3.7 to 1.5.0 today. Followed the instructions and made the changes as needed to keep the settings. Ran the zc_install and upgraded the database without conflict.

However, when attempting to login to the admin section, a white page occurs. The debug log shows this:

[14-Jun-2012 09:47:17] PHP Fatal error: Cannot redeclare check_page() (previously declared in /new/chkadmf/includes/functions/admin_access.php:15) in /new/chkadmf/includes/functions/admin_profiles.php on line 121

Anyone have a fix for getting by this? Not sure why this is happening, but there were zero changes made to the entire admin folder.

Thank you!

14 Jun 2012, 2:29 PM
#2
bsntech avatar

bsntech

New Zenner

Join Date:
Jun 2012
Posts:
2
Plugin Contributions:
0

Re: Admin White Page - Cannot redeclare check_page()

Resolved the issue by removing the check_page function in the admin_profiles.php file - and this seems to have fixed it.

Still a few other issues to work through. Next one seems to be that when I go in and edit a product, there is zero information filled in - no product description, price, etc - although it currently shows on the site.

15 Jun 2012, 11:57 AM
#3
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Admin White Page - Cannot redeclare check_page()

Still a few other issues to work through. Next one seems to be that when I go in and edit a product, there is zero information filled in - no product description, price, etc - although it currently shows on the site.

There are a bunch of threads about that. IIRC the issue has to do with the charset being different somewhere along the line.

Thread example: http://www.zen-cart.com/showthread.php?197239-define_main_page-blank-in-admin

Rob

Breakfast: the most important donut of the day.