Forums / Upgrading from 1.3.x to 1.3.9 / Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

Locked

Started by sanji on 14 May 2010, 3:29 PM · Views: 1,996

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
14 May 2010, 3:29 PM
#1
sanji avatar

sanji

Zen Follower

Join Date:
Jan 2005
Posts:
138
Plugin Contributions:
0

Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

Hello,

I just upgraded my web site from 1.3.8 -> 1.3.9b. Upgrade went smoothly, but after finishing the process with the database upgrade, I get a blank page on the admin site...

  • The customer site is working fine
  • There is no error log saved in the cache folder
  • I re-checked all modifications a second time, and re-uploaded all files of the admin folder, without success
  • The 2 configure.php files are fine

With just a blank page, it is really difficult to understand where the error is coming from. How should I start?

14 May 2010, 4:02 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

The FAQ area is a good place to start: https://www.zen-cart.com/tutorials/index.php?article=82

.
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.

14 May 2010, 6:37 PM
#3
sanji avatar

sanji

Zen Follower

Join Date:
Jan 2005
Posts:
138
Plugin Contributions:
0

Re: Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

I of course already checked that FAQ :

  • As I said, I already re-uploaded several times (3 to be precise) all the files, without any change

  • I use WinMerge to update my modified files, and did twice the whole process - since it did not work the first time, I thought I might have made a mistake, and started again from scrach, without any sucess

  • "Common customization errors", this is really vague... Why don't I get any error message ? I can deal with an error message, but how on earth is it possible to get just a blank page? This doesn't really make sens to me, my files are not empty, I should get something on the screen...

14 May 2010, 8:10 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

It should be showing you all your PHP errors in the log files. They intentionally never show to the screen, because that would create security problems.

But maybe something in your upgrade has damaged one or more of the bootstrap files that load before the debug logger is enabled, in which case you'll have to take much more drastic measures to find your problems:

Near the top of your /admin/includes/application_top.php file, you'll see this line:```
define('DEBUG_AUTOLOAD', false);

Change that false to true, and add another line directly below it, as shown here:```
define('DEBUG_AUTOLOAD', [B]true[/B]);
[B]define('STRICT_ERROR_REPORTING', true);[/B]

Now you should see all kinds of information, including errors and warnings and headers-already-sent messages, etc. Many of those messages will be a result of earlier messages, and thus not all information is actually indicative of an "error", so be careful not to send yourself on a wild goose chase.

What addons do you have installed?

.
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.

14 May 2010, 10:10 PM
#5
sanji avatar

sanji

Zen Follower

Join Date:
Jan 2005
Posts:
138
Plugin Contributions:
0

Re: Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

I added this line, and still no error message whatsoever...

By installing the original 1.3.9 admin files OR my backup 1.3.8 admin files, everything is working fine. However, when I place my new 1.3.9 files, I get this blank screen. This means that my edits must be faulty.

I have quite a lot of add-ons, including super_orders, edit_orders, green tea, profit_margin_calculator, login_as_customer, add_customers_from_admin, birthday, sales_Report... Plenty of possibilities to make mistakes! What surprises me is that I always made my upgrades without (too much) troubles, until this time...

22 May 2010, 10:42 AM
#6
tropheus avatar

tropheus

New Zenner

Join Date:
Jun 2004
Posts:
25
Plugin Contributions:
0

Re: Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

I get this same blank page in admin after upgrading. I have also re uploaded the files a number of times and get no admin error messages in the Cache folder.

What I have notice though after I log into Admin, from the blank page I can access admin by pointing my browser to it?

22 May 2010, 3:50 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

So ... it lets you login if you point your browser to it. Um ... that's what one would expect. How can you login if you don't point your browser to it?

.
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.

22 May 2010, 4:09 PM
#8
tropheus avatar

tropheus

New Zenner

Join Date:
Jun 2004
Posts:
25
Plugin Contributions:
0

Re: Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

After logging in on the login.php page I just get a blank page with the address admin/login.php?zenAdminID=xxxxxxx, then when I browse to admin/ I get access to admin and it works fine.

I have re uploaded the files a number of times and get no admin error messages in the Cache folder. I have added the lines of code that you suggested in an earlier post with no apparent error messages

22 May 2010, 6:21 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

What exactly are all the differences between your admin files and the clean admin files of the original unzipped Zen Cart files?
You're encountering an error as a result of something failing ... and a clean install doesn't fail, so you've either got something "extra" or something "missing".

.
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.

24 May 2010, 5:14 PM
#10
tropheus avatar

tropheus

New Zenner

Join Date:
Jun 2004
Posts:
25
Plugin Contributions:
0

Re: Upgrade 1.3.8 -> 1.3.9b gives a blank page on admin

Thanks Dr Byte For helping me, I was only looking in the admin folder for the problem when it lay with meta_tags.php

Cheers