error "Cannot modify header information"

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
Andrew

error "Cannot modify header information"

Post 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!!!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: error "Cannot modify header information"

Post 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.
Andrew

Re: error "Cannot modify header information"

Post by Andrew »

that took care of it, thanks!
Locked

Return to “CMSMS Core”