https://www.icyphoenix.com/viewtopic.php?f=35&t=5179
-----------------------------------
LiTos
Wed 17 Dec, 2008 06:24

Fail... I Just Did... (page Header Problem)
-----------------------------------
I messed around with my index.php file but then restored it back to how it was. I just ctrl+z'ed once and it was back. I reuploaded it but now i get these errors in my header:
[code]
Warning: Cannot modify header information - headers already sent by (output started at /home/elinaaks/public_html/litos-hq/index.php:1) in /home/elinaaks/public_html/litos-hq/includes/sessions.php on line 473

Warning: Cannot modify header information - headers already sent by (output started at /home/elinaaks/public_html/litos-hq/index.php:1) in /home/elinaaks/public_html/litos-hq/includes/sessions.php on line 474

Warning: Cannot modify header information - headers already sent by (output started at /home/elinaaks/public_html/litos-hq/index.php:1) in /home/elinaaks/public_html/litos-hq/includes/page_header.php on line 1402

Warning: Cannot modify header information - headers already sent by (output started at /home/elinaaks/public_html/litos-hq/index.php:1) in /home/elinaaks/public_html/litos-hq/includes/page_header.php on line 1404

Warning: Cannot modify header information - headers already sent by (output started at /home/elinaaks/public_html/litos-hq/index.php:1) in /home/elinaaks/public_html/litos-hq/includes/page_header.php on line 1405
&#65279; [/code]

yeah, my "messing" around was totally useless and unncessesarry but for the sake of my stupidity I did it and surprisingly this is what I get even though i restore everything back to how it was. Any help on how to remove these errors will be appreciated.
Oh and it only appears on the home page of course. yeaaaah.


-----------------------------------
Informpro
Wed 17 Dec, 2008 09:51

Re: Fail... I Just Did... (page Header Problem)
-----------------------------------
can we have the line ("in /home/elinaaks/public_html/litos-hq/includes/sessions.php on line 473  " ....) and the other line ?

a page seem be include 2


-----------------------------------
Lopalong
Wed 17 Dec, 2008 10:40

Re: Fail... I Just Did... (page Header Problem)
-----------------------------------
It appears that you have "Killed" index.php simply by editing it, whether you reverted it or not apparently makes no difference; and unfortunatly a lot of editors will do that. So will bad FTP file transfer settings. :(

Please upload (ftp) a fresh - un-edited index.php using the correct ftp mode and then clear all caches. ;)

Let us know what happens. :)

Meantime! 

What's your forum URL?

What Editor did you use?

What FTP agent (Programme) did you use?

What was the "File Transfer" setting of your FTP Agent while you did this edit?

 :mryellow:


-----------------------------------
LiTos
Wed 17 Dec, 2008 22:32

Re: Fail... I Just Did... (page Header Problem)
-----------------------------------
url= http://litos-hq.com
editor= microsoft expression web
agent= FileZilla
file transfer setting= huh?

oh wait, problem fixed with fresh index.
thanks =)


-----------------------------------
Lopalong
Wed 17 Dec, 2008 23:50

Re: Fail... I Just Did... (page Header Problem)
-----------------------------------
Try a different editor next time you want to experiment. ;)

[quote]file transfer setting= huh?[/quote] = FileZilla > Transfer > Transfer Type = Auto > ASCII > Binary

Auto is usually sufficient for most files, but sometimes you have to select either Binary or ASCII to correctly handle the file depending on how it was formatted in the first place. 

That's what I meant by "Transfer Settings" - :P


