Forums / General Questions / I am stuck with a White Page.

I am stuck with a White Page.

Locked

Started by hollywoodstarrs on 29 Oct 2010, 12:24 AM · Views: 675

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
29 Oct 2010, 12:24 AM
#1
hollywoodstarrs avatar

hollywoodstarrs

New Zenner

Join Date:
Oct 2010
Posts:
2
Plugin Contributions:
0

I am stuck with a White Page.

I am having the same problem. Please go to my website link www.ipfirebridge.com/catalog

I am not sure why this is happening as I did a comprehensive test yesterday and everything worked. I even gave myself a refund.
using:
Paypal Website Standard
Stamps.com
added a coupon code today.

I would be more than happy to provide my username/password if that would help. After I created a coupon i went to check the site and I was unable to to get past the 1st page of the checkout where I choose my shipping. After that I am stuck with a White Page.

I didn't change anything from yesteraday. Using PHP for the SMTP but other than that nothing changed. I just set this up in the last 2 wks so everything is the newest version.

Using v1.3.9f Zen Cart
Godaddy- Linux

29 Oct 2010, 1:05 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: I am stuck with a White Page.

hollywoodstarrs:

I am not sure why this is happening as I did a comprehensive test yesterday and everything worked.
If so, what is the issue??

Zen-Venom Get Bitten

29 Oct 2010, 5:57 AM
#3
hollywoodstarrs avatar

hollywoodstarrs

New Zenner

Join Date:
Oct 2010
Posts:
2
Plugin Contributions:
0

Re: I am stuck with a White Page.

Well I have found the problem. Yesterday I went to this file
includes/languages/english/modules/shipping/flat.php

and I made some changes to the Flat Rate text, I wanted it to say USPS United States Flat Rate

define('MODULE_SHIPPING_FLAT_TEXT_TITLE', 'Regular Flat Rate');

define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION', 'Flat Rate in USPS 3-5 Days');

define('MODULE_SHIPPING_FLAT_TEXT_WAY', 'USPS Flat Rate Shipping 3-5 Days');

**from the original:**define('MODULE_SHIPPING_FLAT_TEXT_TITLE', 'Flat Rate');

define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION', 'Flat Rate');

define('MODULE_SHIPPING_FLAT_TEXT_WAY', 'Best Way');

apparently this was an issue that would not work, so I had to change it back to the original and it worked out fine. Any suggestions on how to change this?

:unsure:
I am providing some info on how I found this problem for others to use.

  1. I am using v1.3.9f and I went with my FTP Zilla to this folder /cache and what I found was this text file: myDEBUG-1288309757-24752.log

  2. I transfered the file over to my PC and opened it with Notepad and I found this: [28-Oct-2010 17:49:56] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/46/5706846/html/catalog/includes/languages/english/modules/shipping/flat.php:53) in /home/content/46/5706846/html/catalog/includes/functions/functions_general.php on line 45

  3. I looked in line 53 of my flat.php file and found nothing. It was outside of the ?> close tag

  4. I looked at line 45 of the functions_general.php and found this: header('Location: ' . $url);

  5. I can't make heads or tails of it and dont have 3hrs to figure it out, so I just replaced the modified flat.php file with the original.

  6. I would like to make the shipping table text changes, Any suggestions?:frusty:

29 Oct 2010, 6:04 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: I am stuck with a White Page.

Your blank line outside of the ?> closing tag was EXACTLY your problem.

If you look up your error message in the FAQs/Tutorials section, you'll see this article which explains your problem: https://www.zen-cart.com/tutorials/index.php?article=87

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