Page 1 of 1

Cannot modify header information - headers already sent by

Posted: Wed Jun 21, 2006 11:09 am
by sydefx
Hi all,

I have just moved an installation of CMSMS from a cms dir to the root dir of the hosting account.

Everything was working fine yesterday, but when i logged into the admin area today i got the following errors:


Warning: Cannot modify header information - headers already sent by (output started at /home/slwincou/public_html/thisrebelbreed/modules/Album/Album.module.php:628) in /home/slwincou/public_html/thisrebelbreed/lib/classes/class.admintheme.inc.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at /home/slwincou/public_html/thisrebelbreed/modules/Album/Album.module.php:628) in /home/slwincou/public_html/thisrebelbreed/lib/classes/class.admintheme.inc.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at /home/slwincou/public_html/thisrebelbreed/modules/Album/Album.module.php:628) in /home/slwincou/public_html/thisrebelbreed/lib/classes/class.admintheme.inc.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /home/slwincou/public_html/thisrebelbreed/modules/Album/Album.module.php:628) in /home/slwincou/public_html/thisrebelbreed/lib/classes/class.admintheme.inc.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /home/slwincou/public_html/thisrebelbreed/modules/Album/Album.module.php:628) in /home/slwincou/public_html/thisrebelbreed/lib/classes/class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /home/slwincou/public_html/thisrebelbreed/modules/Album/Album.module.php:628) in /home/slwincou/public_html/thisrebelbreed/lib/classes/class.admintheme.inc.php on line 176

I checked out the class.admintheme.inc.php file and it did have an extra line at the end which i thought could have been the cause after reading some past posts. Unfortunately it didn't help.

Please note i have also tried dropping the database and starting again.

The errors have not always referred to the album module so i don't think it is anything to do with that particular module, although i am not 100% sure obviously.

I have also checked all the file permissions.

I am running CMSMS 0.13 on PHP 4.4.2, MYSQL 4.1.19-standard

Any help would be great!

Regards
Sy

Re: Cannot modify header information - headers already sent by

Posted: Wed Jun 21, 2006 11:59 am
by Maarten
Try to empty the cacheĀ  Site Admin-> Global Settings -> Empty Cache -> Clear

Re: Cannot modify header information - headers already sent by

Posted: Wed Jun 21, 2006 12:07 pm
by sydefx
hi Maarten,

Thanks for the reply.

I tried that but the errors are still there??

Re: Cannot modify header information - headers already sent by

Posted: Wed Jun 21, 2006 12:52 pm
by Maarten
Okay, did you change the paths in the config file? config.php

Re: Cannot modify header information - headers already sent by

Posted: Wed Jun 21, 2006 1:02 pm
by sydefx
yes the config paths are all to the new root dir

Re: Cannot modify header information - headers already sent by

Posted: Wed Jun 21, 2006 1:25 pm
by Maarten
:-\ I would suggest that you try to reinstall the album module.

Re: Cannot modify header information - headers already sent by

Posted: Wed Jun 21, 2006 1:37 pm
by sydefx
yes i have also tried uninstalling and reinstalling album too...

thanks very much for all the suggestions

its strange as the installation in the original /cms dir still works fine!