Forums / General Questions / blank screen/template override not working

blank screen/template override not working

Locked

Started by trebo70 on 24 May 2010, 4:09 AM · Views: 849

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 May 2010, 4:09 AM
#1
trebo70 avatar

trebo70

New Zenner

Join Date:
May 2007
Location:
Los Angeles
Posts:
13
Plugin Contributions:
0

blank screen/template override not working

Hello,
My template override doesn't seem to be working correctly. I initially installed zen cart locally using xamp, customized the design and layout then transfered over to a server. When I did the transfer there was an issue with the template override not working. All the changes I did in the languages folder were not being recognized under the name of the template folders I created. So I had to redo all the changes outside of the template folder I created.
Now I'm having an issue when I have only one product activated for a category I get a blank screen and when I'm viewing a product and I hit the "add to cart" button I get a blank screen. I installed the debug error logging utility and got this message:
[23-May-2010 15:52:30] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/thechoco/public_html/shop/includes/languages/english.php:703) in /home/thechoco/public_html/shop/includes/init_includes/init_templates.php on line 78
Could there be a connection between the blank screens and the template override not working?
thanks
Tre

24 May 2010, 7:28 AM
#2
kobra avatar

kobra

Black Belt

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

Re: blank screen/template override not working

You do not appear to have english.php altered/overidden

/includes/languages/english.php:703

See what line 703 in that file states

Zen-Venom Get Bitten

31 May 2010, 5:30 AM
#3
trebo70 avatar

trebo70

New Zenner

Join Date:
May 2007
Location:
Los Angeles
Posts:
13
Plugin Contributions:
0

Re: blank screen/template override not working

Thanks for your response Kobra,
Line 703 states nothing. The english.php file only has 702 lines.
I trouble shot the default english.php file and my template override english.php file and the default non overriding template english.php file is the one being used. Any idea how I can fix it so that my template is being activated. I checked in my admin under template selection and the template "Chocolate" is activated.
Tre

31 May 2010, 5:33 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: blank screen/template override not working

Download this chart and print from the Free Software Add On section..

It shows the override structure perfectly
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=298

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

31 May 2010, 5:48 AM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: blank screen/template override not working

What text editor are you using to edit the english.php

If you edit that file in a good Text Editor, you can remove the space(s) and/or blank line(s) from the bottom of the file after the closing php bracket ?> to fix this error ...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.