Zen Cart Logo
Forums / General Questions / blank pages. Not redirecting.

blank pages. Not redirecting.

Locked

Views: 4,765

Results 21 to 40 of 46
This thread is locked. New replies are disabled.
27 Sep 2008, 4:42 PM
#21
winter_lady avatar

winter_lady

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

blank pages. Not redirecting.

I'm having a similar issue with my shop that I noticed last night when trying to add something to the cart and when creating a new account.
I ran the debug utility but, haven't found any spaces (unless I'm completely missing them) and I'm going crazy trying to figure out how to fix this.
The site is: http://www.castalovelyspell.com I'm running version 1.3.8a.
The error I received when running the debug was the same for everything and it reads: PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shadow9/public_html/castalovelyspell/includes/languages/english/custom/header.php:1) in /home/shadow9/public_html/castalovelyspell/includes/init_includes/init_templates.php on line 78

Please, can anyone explain or help me out here I'm having a hard time trying to get this to work. I'd really appreciate it.
To everyone else having the same problem I hope you get yours fixed too!!:blink:

27 Sep 2008, 5:00 PM
#22
brekke00 avatar

brekke00

New Zenner

Join Date:
Aug 2007
Posts:
57
Plugin Contributions:
0

Re: blank pages. Not redirecting.

the error you have is on line 1 in: /home/shadow9/public_html/castalovelyspell/includes/languages/english/custom/header.php

if the line is emty: delete it.

if not please post you 40 first lines here

28 Sep 2008, 2:39 AM
#23
winter_lady avatar

winter_lady

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: blank pages. Not redirecting.

I've been working with install and reinstalled it again in case I messed up somewhere.
I have sussed out exactly where the problem is.
When I alter the text and/or the image in the custom/header.php that is when I receive blank page errors, and when I replace it with the basic header.php file it works again.
Both are configured the same way and yet when I put my information in there that's when it becomes crazy.
Is there another file I need to configure to ensure this alteration works?
Thank you for your help btw brekke00!

28 Sep 2008, 2:59 AM
#24
cheng avatar

cheng

New Zenner

Join Date:
Nov 2005
Posts:
18
Plugin Contributions:
0

Re: blank pages. Not redirecting.

I got the same problem and thanks to provide the trouble experience. I upload the original english.php then i work great now.
thanks

28 Sep 2008, 9:53 AM
#25
brekke00 avatar

brekke00

New Zenner

Join Date:
Aug 2007
Posts:
57
Plugin Contributions:
0

Re: blank pages. Not redirecting.

Winter lady.

can you post your header php file that is making the truble?

i can have a look at it an see if there is any thing wrong with it.

but as your debug report said the error is on line 1 in the header.php

post it here and i wll have a look

:smile:

28 Sep 2008, 9:54 PM
#26
winter_lady avatar

winter_lady

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: blank pages. Not redirecting.

brekke00, Thank you for the help I'll post the info below.
Cheng, I don't know if my error helped you but, if it did I'm glad I could be of assistance to someone with posting :D.

Here are two errors now, both pointing to the same issue in the header.php

[28-Sep-2008 16:34:35] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shadow9/public_html/castalovelyspell/includes/languages/english/gothic/header.php:1) in /home/shadow9/public_html/castalovelyspell/includes/init_includes/init_templates.php on line 78

[28-Sep-2008 16:40:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shadow9/public_html/castalovelyspell/includes/languages/english/gothic/header.php:1) in /home/shadow9/public_html/castalovelyspell/includes/functions/functions_general.php on line 44

And a screenshot of the header file so you can look at it. Keep in mind if I change the text, delete the text in the sales line or alter the logo information it gives me the same problem:

Thanks again for any help in this matter, I'm really hoping to be able to alter this quickly so I can get this put into circulation but it's been plaguing me :D
Also, is there another file I need to disable or alter before I do this, as I'm wondering if I'm missing something here. If I leave this particular file alone as it is, I can go through to checkout and everything else that was giving me a blank page after I alter it and I don't change anything at all except either the tagline or logo and either one together or separately give me the same issue.
Hope everyone else's sites are doing awesome!!

28 Sep 2008, 10:13 PM
#27
brekke00 avatar

brekke00

New Zenner

Join Date:
Aug 2007
Posts:
57
Plugin Contributions:
0

Re: blank pages. Not redirecting.

Is it the right file you are showing here?

/includes/languages/english/gothic/header.php

first delete the space afther. <?php
on line one.

then press enter so you get a emty line 2.

just make shure you dont have space afther <?php

hope it helps.

please let me know if it worked

28 Sep 2008, 10:16 PM
#28
winter_lady avatar

winter_lady

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: blank pages. Not redirecting.

It's the correct file and those aren't spaces.
I thought so too but, they're just the way my capture encompassed the information.
I'll try the whole thing with making the second line empty and see what happens and post again!
Keep your fingers crossed for me!!
Massive thanks for your time!

28 Sep 2008, 10:21 PM
#29
brekke00 avatar

brekke00

New Zenner

Join Date:
Aug 2007
Posts:
57
Plugin Contributions:
0

Re: blank pages. Not redirecting.

here is my file. hope you can get any help from it.

<?php

/**

 * @package languageDefines

 * @copyright Copyright 2003-2005 Zen Cart Development Team

 * @copyright Portions Copyright 2003 osCommerce

 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

 * @version $Id: header.php 2848 2006-01-14 09:47:08Z wilt $

 */



// header text in includes/header.php

define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');

define('HEADER_TITLE_MY_ACCOUNT', 'My Account');

define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');

define('HEADER_TITLE_CHECKOUT', 'Checkout');

define('HEADER_TITLE_TOP', 'Top');

define('HEADER_TITLE_CATALOG', 'Home');

define('HEADER_TITLE_LOGOFF', 'Log Out');

define('HEADER_TITLE_LOGIN', 'Log In');



// added defines for header alt and text

define('HEADER_ALT_TEXT', ' ::');

define('HEADER_SALES_TEXT', '<h1></h1>');

define('HEADER_LOGO_WIDTH', '1px');

define('HEADER_LOGO_HEIGHT', '1px');

define('HEADER_LOGO_IMAGE', 'logo.gif');



// header Search Button/Box Search Button

define('HEADER_SEARCH_BUTTON','Search');

define('HEADER_SEARCH_DEFAULT_TEXT','Search');

?>
28 Sep 2008, 10:28 PM
#30
winter_lady avatar

winter_lady

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: blank pages. Not redirecting.

I tried it and it was a no go unfortunately.
The same error showed up and the first line isn't altered from the original so, no spacing :(
I'll look over yours and see where the error may lie.
My question since you seem savvy with this is, is there possibly an override I'm missing someplace? Did you get your main file from includes/langues/english/header.php or from the classic folder as I do want to add my own logo as well.
I'm so new at this but, I've got everything except for this and the meta tags to work and really want it to be able to go.
I can't thank you enough for all the help you've given me, I really appreciate it and hope that maybe this error may help others along later!
Also, another question in regards to yours.
Are those single spaces between the package, copyright, define etc lines and double spaces between the blocks?
Is that potentially the problem for me?

28 Sep 2008, 10:42 PM
#31
brekke00 avatar

brekke00

New Zenner

Join Date:
Aug 2007
Posts:
57
Plugin Contributions:
0

Re: blank pages. Not redirecting.

edit this file.

/includes/languages/english.php

and the one in clasic

if you want you can send me your 3 files and i can try and fix them for you. :)

send them on mail to me: ```html
[email protected]


i will then post the error and solution here when it is solved.

i think i see the problem but i need all 3 files to be shure.

i got good help here ones when i installed the first time a year ago. so i am trying to help out when i can. :)

please also have a look at my new site and post back some feedback.  bad or good.
28 Sep 2008, 10:49 PM
#32
brekke00 avatar

brekke00

New Zenner

Join Date:
Aug 2007
Posts:
57
Plugin Contributions:
0

Re: blank pages. Not redirecting.

sendme your CSS file also. your page is made for IE.and is not showing good in Firefox.

that is easy to fix but not logic.

http://www.zen-cart.com/forum/showthread.php?t=108987

here is my post how to fix that.

:)

28 Sep 2008, 10:49 PM
#33
winter_lady avatar

winter_lady

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: blank pages. Not redirecting.

Which three files do you want me to send you?

28 Sep 2008, 10:59 PM
#34
winter_lady avatar

winter_lady

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: blank pages. Not redirecting.

Is that the Brekke media site?
A little advice on the color if I may?
I'd say since you're selling media devices and have a great graphic on top, use the light blue from the graphic for your background instead of the yellow as the light yellow is just a little bright and conflicts with the image as does the brown.
Maybe the brown should be more of a burgundy/purple something deeper to work with the blues, and purples?
Also just a grammatical notice remove the ' out of laptops.
Otherwise I like the layout and the idea it's just the colors that seemed a little overwhelming, I hope you don't mind my sharing with you.

28 Sep 2008, 11:04 PM
#35
brekke00 avatar

brekke00

New Zenner

Join Date:
Aug 2007
Posts:
57
Plugin Contributions:
0

Re: blank pages. Not redirecting.

the /includes/languages/english.php
/includes/languages/english/header.php
/includes/languages/english/classic/header.php
/includes/languages/english/goth/header.php
/includes/languages/english/custom/header.php
/includes/languages/english/gothic/header.php

just forget the css file.i have it alreddy. :)

send me those 6 files. and i will send them back to you tomorrow some time. i have to go to bead sone. 2400 here now and have work tomorrow.

i will have a look at them at work to morrow and fix them when i get home.

:)

you shoud have them in 12- 14 houers from now. :)

28 Sep 2008, 11:23 PM
#36
winter_lady avatar

winter_lady

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: blank pages. Not redirecting.

I'll send those to you in a little while, custom is no longer around it's been deleted so 'gothic' is the new custom folder for me.
I deleted the 'gothic' header.php since it was causing problems with my site so, the files I will send you will be:
includes/languages/english.php
includes/languages/english/header.php
includes/languages/english/classic/header.php
and I can put together the
includes/languages/english/gothic/header.php
but will be deleting it from my site until I have a working one capable of not giving me the white screen of doom :)
Thank you so much.
You retrieved my css already, with your ability to get that without my sharing is that going to be a problem for my site and should I protect it somehow from potentially malicious attacks?
Thank you so very much I really appreciate it and get some rest I'm sure you need it!!!!

28 Sep 2008, 11:27 PM
#37
brekke00 avatar

brekke00

New Zenner

Join Date:
Aug 2007
Posts:
57
Plugin Contributions:
0

Re: blank pages. Not redirecting.

:)

that is fine.

i am using firefox with web developer toolbar.

the css it read by all web browsers so it can be downloaded by anyone. no security risk there. :)

29 Sep 2008, 12:55 AM
#38
winter_lady avatar

winter_lady

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: blank pages. Not redirecting.

Just sent you the email with the information in it :D
Get to beeeeeeeeeeeed!!!
You're as bad as me I tell you!!

29 Sep 2008, 10:06 AM
#39
brekke00 avatar

brekke00

New Zenner

Join Date:
Aug 2007
Posts:
57
Plugin Contributions:
0

Re: blank pages. Not redirecting.

I have gotten the files now. and will post the error and solution here as soon as i get home from work and have changed the files.

29 Sep 2008, 6:23 PM
#40
winter_lady avatar

winter_lady

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: blank pages. Not redirecting.

:)
Thank you so much, I hope you had a great day!