Page 1 of 1

Warning: Cannot modify header information - headers already

PostPosted: Mon Apr 14, 2008 1:20 pm
Author: Snowneo
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://forum.snowneo.com

PHP Version:
MySQL Version:


What was done before the problem appeared?
uploaded a header image that was 200x600 the same size that they asked for.


What was done to try to solve the problem?
Uninstalled the Vista style from the forum.



De.scription and Message

On all of the pages I get this error:

Code: Select all
Warning]: Too few arguments in /home/www/forum.snowneo.com/includes/page_header.php on line 838  Warning: Cannot modify header information - headers already sent by (output started at /home/www/forum.snowneo.com/includes/page_header.php:838) in /home/www/forum.snowneo.com/includes/page_header.php on line 1159  Warning: Cannot modify header information - headers already sent by (output started at /home/www/forum.snowneo.com/includes/page_header.php:838) in /home/www/forum.snowneo.com/includes/page_header.php on line 1161  Warning: Cannot modify header information - headers already sent by (output started at /home/www/forum.snowneo.com/includes/page_header.php:838) in /home/www/forum.snowneo.com/includes/page_header.php on line 1162


Attached is a .txt file of the whole code. It would not allow me to post all of the code as it was too long.

Re: Warning: Cannot modify header information - headers alre

PostPosted: Mon Apr 14, 2008 6:46 pm
Author: Helter
that error usually means that you have information, or even blank lines either before the php start tag " <php> "
the template should not cause this. Have you added any mods to your site? did you alter the index.php file in the Vista logo folder?

PostPosted: Tue Apr 15, 2008 2:12 pm
Author: Snowneo
I haven't added anything or altered the vista logo files, I also checked for spaces and there is none.

I also noticed that it doesn't show it when I am not logged in.

I also looked in the file and found each line

818
'L_MESSAGE_TEXT' => sprintf($lang['ctracker_info_pw_expired'],

1139
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');

1141
header ('Expires: 0');

1142
header ('Pragma: no-cache');

Re: Warning: Cannot modify header information - headers alre

PostPosted: Tue Apr 15, 2008 3:20 pm
Author: dan0042
Forums working fine for me mate

PostPosted: Tue Apr 15, 2008 3:33 pm
Author: Snowneo
Hmm, maybe it is just me, I dont know what I did, but now all I get is

Warning: sprintf() [function.sprintf]: Too few arguments in /home/www/forum.snowneo.com/includes/page_header.php on line 838

but that only shows up for unregistered/logged in.

Re: Warning: Cannot modify header information - headers alre

PostPosted: Tue Apr 15, 2008 4:43 pm
Author: .QUACK.Major.Pain
Did you try re-uploading the header file? Could be bad load?

PostPosted: Tue Apr 15, 2008 5:57 pm
Author: Snowneo
Yup, I tried that as well. still no change.

PostPosted: Wed May 21, 2008 9:33 pm
Author: BlahBlahCha
I have the same exact problem with mine, if you haven`t found the solution yet, i`ll let you know when i find it. Or if you`ve found it, let me know <img>

Re: Warning: Cannot modify header information - headers alre

PostPosted: Thu May 22, 2008 8:02 am
Author: CaNNon
Some one was trying to get into your site Snowneo, recheck your site looks like they are now in.

If you need some help pm me.

Re: Warning: Cannot modify header information - headers alre

PostPosted: Thu May 22, 2008 9:58 am
Author: Allen
Too late, the site has been hacked by some turks.....

here is their image they left.

** EDIT by CaNNon **
Sorry but I'm removing the image I don't want to help them in anyway and displaying what they wish does just that.

Re: Warning: Cannot modify header information - headers alre

PostPosted: Thu May 22, 2008 10:00 am
Author: Allen
Did you disable Ctracker on your site?

I don't understand, I have spent countless hours on my site. don't see any hacked integra's till now. How did they get in cannon?

Re: Warning: Cannot modify header information - headers alre

PostPosted: Thu May 22, 2008 10:10 am
Author: Allen
Hmm... Here is the page source.




Looks like they actually got on the server. They have installed on the subdomain. http://forum.snowneo.com/

Unless you installed your site this way. Usually the install sets up, http://snowneo.com/forum/integramod141

And or maybe added an .htaccess page forcing the new index. I am no pro and I don't use subdomains at all. Just an amateurs thoughts.

** Edit By CaNNon **
Sorry mate but lets not feed their massage to the bots.

PostPosted: Thu May 22, 2008 12:00 pm
Author: BlahBlahCha
Damn, that sucks

Nothing like that had happened to mine yet, so maybe i still have a chance, is it possible to fix this before something happens?

Re: Warning: Cannot modify header information - headers alre

PostPosted: Fri May 23, 2008 4:32 am
Author: CaNNon
Have you setup a .htaccess file?

PostPosted: Fri May 23, 2008 8:42 am
Author: BlahBlahCha
Not sure if you are speaking to me, but, i guess i haven't because i've never heard of it.

PostPosted: Mon May 26, 2008 10:36 pm
Author: BlahBlahCha
Is it possible to get rid of that writing on the top of each page? I would really appreciate it if someone could help me <img>

Re: Warning: Cannot modify header information - headers alre

PostPosted: Mon Jun 02, 2008 9:56 am
Author: Londons-Kalling
I get the same it goes away if you turn of PW reminder in CTracker

lost our site to turkish hackers 2 years ago, just come back to integramod so would prefer it not to happen again.