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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
User avatar
shaleksey
Forum Members
Forum Members
Posts: 13
Joined: Tue Nov 25, 2008 8:39 am

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

Post 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?
Last edited by shaleksey on Mon Dec 15, 2008 8:35 am, edited 1 time in total.
Nick Smart
Forum Members
Forum Members
Posts: 116
Joined: Mon Jul 28, 2008 4:48 pm

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

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

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

Post 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
User avatar
shaleksey
Forum Members
Forum Members
Posts: 13
Joined: Tue Nov 25, 2008 8:39 am

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

Post 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.
Last edited by shaleksey on Mon Dec 15, 2008 8:37 am, edited 1 time in total.
Locked

Return to “CMSMS Core”