Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / I installed 2.1.0 but nothing but blank white page for Admin

I installed 2.1.0 but nothing but blank white page for Admin

Started by ndboots on 25 Jan 2025, 10:21 PM · Views: 1,687

Results 1 to 8 of 8
25 Jan 2025, 10:21 PM
#1
ndboots avatar

ndboots

New Zenner

Join Date:
Aug 2011
Location:
North Dakota
Posts:
68
Plugin Contributions:
0

I installed 2.1.0 but nothing but blank white page for Admin

I installed 2.1.0 with PHP 8.3 on my server. It has been maybe 3 years since I installed Zen Cart it for anyone else. I did it as a upgrade to my own website.

The front end displays normally, see pic following. Database up-graded seemed ok. But everything I tried including reloading the admin files, then getting another download and reloading the admin files again. I just cannot get nothing but a blank white page for my admin URL! When I "view source" of the blank page, it says "Line Wrap" up in the left hand corner with a number 1, and nothing on the page otherwise. No 404 error.

I checked the 2.1.0 Logs, and nothing shows up with issues for the admin area. When I check my servers error logs, it shows no errors for my ZenCart folder either. I also checked with a PHP file with this code in it to make sure I was using right path: <?php$p = getcwd(); echo $p; ?> And I have my my correct path in both of the configure.php of: /home/MyServer/public_html/MyShopFolder/

I don't know what else to try when I don't get error messages when the URL to my admin is blank? Reloading all files and folders in the admin area twice just did not help.

Attachment 20880

26 Jan 2025, 12:18 PM
#2
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: I installed 2.1.0 but nothing but blank white page for Admin

I had a similar issue upgrading to v2.01. My problem was the Recent Orders Dashboard Widget taking far too long to load.

In your_admin/includes/modules/dashboard_widgets/RecentCustomersDashboardWidget.php, lines 16-17:

$includeAttributesInPopoverRows = $includeAttributesInPopoverRows ?? true;
$maxRows = $recentOrdersMaxRows ?? 25;

Change line 16 true to false and line 17 change 25 to 10.

26 Jan 2025, 10:49 PM
#3
ndboots avatar

ndboots

New Zenner

Join Date:
Aug 2011
Location:
North Dakota
Posts:
68
Plugin Contributions:
0

Re: I installed 2.1.0 but nothing but blank white page for Admin

Thanks for reply. I'm going to check that out. But, funny thing, a few hours later I tried something. At first though, after the install, I renamed the admin folder giving it a 6-digit name all small letters. Then tried to login several times, and with different Browsers too. Always the white screen. Then I posted the above for help. A few hours later, frustrated, I changed the 6-digit name to a different 6-digit name, and also all small letters again too. Then I tried that on the admin url, and guess what? The login page showed up!! Why...I have no idea.

7 Feb 2025, 1:06 PM
#4
pazdar avatar

pazdar

Zen Follower

Join Date:
Jan 2008
Posts:
174
Plugin Contributions:
0

Re: I installed 2.1.0 but nothing but blank white page for Admin

I also just had that happen. I tried changing the admin name, did not work. I do not see those lines of code in your_admin/includes/modules/dashboard_widgets/RecentCustomersDashboardWidget.php

Any ideas?

7 Feb 2025, 5:55 PM
#5
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: I installed 2.1.0 but nothing but blank white page for Admin

Sorry its the Recent Orders widget:

your_admin/includes/modules/dashboard_widgets/RecentOrdersDashboardWidget.php

8 Feb 2025, 4:01 PM
#6
pazdar avatar

pazdar

Zen Follower

Join Date:
Jan 2008
Posts:
174
Plugin Contributions:
0

Re: I installed 2.1.0 but nothing but blank white page for Admin

Hi ChuckPhilips, I tried your suggestion, it didn't work. Here is message I'm getting in my error log:

[08-Feb-2025 05:14:30 America/Boise] PHP Fatal error: Uncaught Error: Undefined constant "DISPLAY_LOGS_MESSAGE_LOGS_PRESENT" in /home1/website/public_html/zc_plugins/DisplayLogs/v3.0.0/admin/includes/init_includes/init_display_logs.php:20
Stack trace:
#0 /home1/website/public_html/includes/autoload_func.php(40): require_once()
#1 /home1/pazdarwi/public_html/admin/includes/application_top.php(40): require('/home1/website...')
#2 /home1/website/public_html/admin/login.php(8): require('/home1/website..')
#3 /home1/website/public_html/admin/index.php(16): require('/home1/website...')
#4 {main}
thrown in /home1/website/public_html/zc_plugins/DisplayLogs/v3.0.0/admin/includes/init_includes/init_display_logs.php on line 20

8 Feb 2025, 7:10 PM
#7
chuckphillips avatar

chuckphillips

Zen Follower

Join Date:
Sep 2012
Location:
Upstate South Carolina
Posts:
107
Plugin Contributions:
1

Re: I installed 2.1.0 but nothing but blank white page for Admin

I dont think thats related. It's something to do with the DisplayLogs plugin, apparently missing a constant define. Check the language file for that plugin.

9 Feb 2025, 2:47 PM
#8
pazdar avatar

pazdar

Zen Follower

Join Date:
Jan 2008
Posts:
174
Plugin Contributions:
0

Re: I installed 2.1.0 but nothing but blank white page for Admin

Thank you, you were correct. For some reason I had both versions V3.0.0 and V3.0.2 in my folders. Once I deleted V3.0.0, it worked.