Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Page turns to blank when changing currencies or linking to any of the categories.

Page turns to blank when changing currencies or linking to any of the categories.

Locked
This thread is locked. New replies are disabled.
13 Jul 2009, 1:08 PM
#1
bnamodel avatar

bnamodel

New Zenner

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

Post #1 by bnamodel

Hi there,

My version of Zen Cart is 1.3.8a, Database Patch Level: 1.3.8.
And my site has never been upgraded and has no addon installed.

Everything seems perfect except that whenever (1) I click on one of my product category, or (2) change the currency (e.g., from USD to AUD), the page just goes blank and nothing appears.

(1) For example, one of my category link is http://bnamodelworld.com/store/index.php?main_page=index&cPath=1, you can see a blank page when clicking on it.

(2) When I choose "Australian Dollars" in the currency box, the page goes to the link: http://bnamodelworld.com/store/index.php?currency=AUD&main_page=products_new&disp_order=6, but again, the link leads to nothing. Yet strangely, when I turn back, the page just turns up again but with the Australian Dollars as the currency I want. So, I'm totally confused why the page will go to a blank page first when changing the currency.

I also tried to use the Debug Error-Logging Utility, and it finds the following error:

"[13-Jul-2009 06:53:18] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/bnamode1/public_html/store/includes/languages/english.php:1401) in /home/bnamode1/public_html/store/includes/init_includes/init_templates.php on line 78
[13-Jul-2009 06:53:18] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/bnamode1/public_html/store/includes/languages/english.php:1401) in /home/bnamode1/public_html/store/includes/functions/functions_general.php on line 44
"

What does this mean? I'm pretty sure I have never changed either 'init_templates.php' or 'functions_general.php' file.

Thank you very much for your patience. I'm really looking forward to any possible solutions to the page's going blank problems.

Thanks again,
Brian

13 Jul 2009, 7:24 PM
#2
drbyte avatar

drbyte

Sensei

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

Post #2 by drbyte

bnamodel:

"[13-Jul-2009 06:53:18] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/bnamode1/public_html/store/includes/languages/english.php:1401) in ...
Looking up that error message in the FAQ area brings up this article: https://www.zen-cart.com/tutorials/index.php?article=87

bnamodel:

What does this mean? I'm pretty sure I have never changed either 'init_templates.php' or 'functions_general.php' file.You're misreading the error message. It's telling you there's something wrong in english.php. The other files are just the ones discovering the problem. The FAQ article explains more.

.
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 Jul 2009, 12:54 AM
#3
bnamodel avatar

bnamodel

New Zenner

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

Post #3 by bnamodel

Thank you very much! I've solved the problem :) That's caused by the extra lines after the closing ?> in file english.php.