Page 1 of 1

error "Cannot modify header information"

Posted: Sat Dec 17, 2005 4:51 am
by Andrew
I got the system installed and it was working great at www.fax.info.  But then I tried to do some search engine mod rewrite stuff found on this thread:
http://forum.cmsmadesimple.org/index.ph ... 602.0.html

I managed to mess something up.  I thought I returned everything back to how it was before following the instructions on that thread, but on every page of the control panel I get:

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

(there are actually 6 of a similar warning)

The site works fine (although I didn't get the SEO stuff working).

Any thoughts on how to get rid of this error?  Is something wrong in my config file?  The permissions of config.php are set to 666.

Thanks!!!

Re: error "Cannot modify header information"

Posted: Sat Dec 17, 2005 5:00 am
by Ted
It sounds like there is an extra carriage return at the end of config.php.  Make sure that the absolute 2 last characters are ?> and that there in no new line directly after.

That should clear up the problem.

Re: error "Cannot modify header information"

Posted: Mon Dec 19, 2005 4:11 am
by Andrew
that took care of it, thanks!