Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / another blank page error

another blank page error

Locked

Views: 623

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Jul 2009, 7:31 PM
#1
johnestrella avatar

johnestrella

New Zenner

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

another blank page error

I was trying to make the telephone number an option by editing the tpl__modules_create_account.php when i noticed that something went horibly wrong somewhere between there and i dont know where. I put my settings back but i'm still having problems which i couldn't find. I also tried putting back some distribution files which i thought might help (english.php, create_account.php, tpl_modules_create_account.php)

On my home page ( https://www.dipplus.com ) i get HEADER_TITLE_CATALOG HEADER_TITLE_LOGIN and HEADER_SALES_TEXT... when i add somthing to the cart i get a blank page again and i also see HEADER_TITLE_CART_CONTENTS AND HEADER_TITLE_CHECKOUT on the top of page if i reload the previous page. if i click on header_title_checkout, i get a blank page.

I have installed a second instance of zencart to https://www.dipplus.com/testsite1 just so that i can transer some unedited distribution files.

In my shopping cart, i'm missing images like add to cart, tell a friend, and write a review.

When using the debug utility... i received the error message of:

[11-Jul-2009 12:23:40] PHP Warning: Cannot modify header information - headers already sent by (output started at /home5/dipplusc/public_html/includes/languages/english.php:1) in /home5/dipplusc/public_html/includes/init_includes/init_templates.php on line 78

[11-Jul-2009 12:23:40] PHP Warning: Cannot modify header information - headers already sent by (output started at /home5/dipplusc/public_html/includes/languages/english.php:1) in /home5/dipplusc/public_html/includes/functions/functions_general.php on line 44

it would be smart of me to backup all my files before every edit. Sorry and hope i'm not being a pain..

I appreciate your help.

John

12 Jul 2009, 12:49 AM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: another blank page error

debug utility pointing at english.php file .
make sure you have no blank space at the beginning and end of your file starting with <?php and php>
make sure all your Defines terminated with ; .. constant and its value must be contained in single quotes ' ' .

12 Jul 2009, 3:29 PM
#3
johnestrella avatar

johnestrella

New Zenner

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

Re: another blank page error

I fixed this headache..

Thanks for your help. When going through the english.php file, i noticed that the end of the file didn't have the ?>, it just ended with the define for discount savings. After comparing with a clean distribution file i noticed that i was missing about 50 lines (ouch). Copied all the missing lines in and presto...

Thanks Tony.