Forums / General Questions / White screen of death - zones.php module

White screen of death - zones.php module

Locked

Started by ci_rory on 26 Aug 2009, 1:22 PM · Views: 1,189

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Aug 2009, 1:22 PM
#1
ci_rory avatar

ci_rory

New Zenner

Join Date:
Jul 2009
Posts:
14
Plugin Contributions:
0

White screen of death - zones.php module

Hi all,

I just changed the MODULE_SHIPPING_ZONES_TEXT_UNITS definition in the zone.php (shipping module) from 'lb(s)' to 'g' and now when I go to stage 2 of 3 on the checkout (/index.php?main_page=checkout_shipping) I get the blank white screen.

I have made sure that I haven't changed any speech marks, etc, - I have literally just made that one change to the file and uploaded it to the correct override folder for my template where some other edited shipping modules are that work correctly.

This is frustrating because it doesn't seem to me that I have done anything wrong. However, I am hoping somebody might point out where I have gone wrong...?

Many thanks for any help,

All the best,

Rory. :)

p.s. my website (live - please don't complete the very last payment stage of a transaction) is - b a t t e r y b o s s .co.uk (without the spaces).

26 Aug 2009, 1:28 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: White screen of death - zones.php module

You're certain the line in includes/languages/english/modules/shipping/zones.php looks like this:

define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'g'); 

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

26 Aug 2009, 1:29 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: White screen of death - zones.php module

Probably accidentally added a space or blank line to the end of that file.

26 Aug 2009, 1:47 PM
#4
ci_rory avatar

ci_rory

New Zenner

Join Date:
Jul 2009
Posts:
14
Plugin Contributions:
0

Re: White screen of death - zones.php module

D'oh! It was that odd line of white space on the end of the file! I should have remembered that from a few months ago when I had the same trouble!

Thanks for your help - I'm pleased that solved it. Now I just have this problem with the zone-based shipping not showing up as it should - if you are still in a helpful frame of mind I would most grateful if you could have a look - http://www.zen-cart.com/forum/showthread.php?t=135658 .

Many thanks again for your prompt replies,

Rory. :)