Page 1 of 1

[solved] Warning: Cannot modify header information - headers already sent by...

Posted: Tue Nov 25, 2008 8:47 am
by shaleksey
I have a problem after used rewrite mode using.
I set everything back as default, but have a problem in admin panel and in site view:

x the problem. $config['backwards_compatible'] = false; #Not used anymore... kept around, just in case $config['disable_htmlarea_translation'] = false; $config['use_Indite'] = true; ?> ?>x the problem. $config['backwards_compatible'] = false; #Not used anymore... kept around, just in case $config['disable_htmlarea_translation'] = false; $config['use_Indite'] = true; ?>
Warning: Cannot modify header information - headers already sent by (output started at /home/tessme/public_html/www/config.php:204) in /home/tessme/public_html/www/include.php on line 248

Warning: Cannot modify header information - headers already sent by (output started at /home/tessme/public_html/www/config.php:204) in /home/tessme/public_html/www/lib/classes/class.admintheme.inc.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at /home/tessme/public_html/www/config.php:204) in /home/tessme/public_html/www/lib/classes/class.admintheme.inc.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at /home/tessme/public_html/www/config.php:204) in /home/tessme/public_html/www/lib/classes/class.admintheme.inc.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /home/tessme/public_html/www/config.php:204) in /home/tessme/public_html/www/lib/classes/class.admintheme.inc.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /home/tessme/public_html/www/config.php:204) in /home/tessme/public_html/www/lib/classes/class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /home/tessme/public_html/www/config.php:204) in /home/tessme/public_html/www/lib/classes/class.admintheme.inc.php on line 176



can somebody suggest what to do?

Re: Warning: Cannot modify header information - headers already sent by...

Posted: Tue Nov 25, 2008 10:21 am
by Nick Smart
This error is usually caused by extra characters (spaces and blank lines are characters) at the start of your source, i.e. before "<?php".

I would start by looking at the top of your config.php file to check there are no spaces, blank lines, etc. before "<?php". If there are, remove them and it should be fine. If there is nothing in that file you'll have to start looking through all the other files you might have edited.

Also, don't edit your files using word processors or similar software. Use a proper program editor, or notepad [1] if you don't have anything suitable.

[1] Not that Notepad isn't a real program editor of course ;-)

Nick

Re: Warning: Cannot modify header information - headers already sent by...

Posted: Tue Nov 25, 2008 2:02 pm
by Dee
Nick Smart wrote: This error is usually caused by extra characters (spaces and blank lines are characters) at the start of your source, i.e. before " too

Regards,
D

Re: Warning: Cannot modify header information - headers already sent by...

Posted: Mon Dec 15, 2008 8:22 am
by shaleksey
All right thanks,

in first - do not need panic.

due some action config.php file was changed and some strings was wrong.
Checked config file and found that errors, done.
Everything working well.