Page 1 of 1

Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Mon Oct 02, 2006 2:58 am
by cnymike
Suddenly I am getting this error when at the login page...

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/public_html/cmsmadesimple-1.0.2/config.php:157) in /home/michael/public_html/cmsmadesimple-1.0.2/admin/login.php on line 159

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/public_html/cmsmadesimple-1.0.2/config.php:157) in /home/michael/public_html/cmsmadesimple-1.0.2/admin/login.php on line 160
Then once I login, the following errors appear in Admin window...

Code: Select all

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

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

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

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

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

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/public_html/cmsmadesimple-1.0.2/config.php:157) in /home/michael/public_html/cmsmadesimple-1.0.2/lib/classes/class.admintheme.inc.php on line 176
This is in Safari 2.0.

I looked at config.php and notice that the last line number is 156. The error mentioins line 157. Am I missing some config code?
If I am, I sure don't know how that happened as I have not opened or altered that file to the best of my knowledge.

Any ideas?

The only thing I can think of that I did out of the ordinary was to add a photo to the uploads folder via ftp instead of uploading it via the cmsms program. Could that have caused this?

The site seems to "work". It is here... http://www.michaelerb.net/cmsmadesimple-1.0.2 and you can see the errors by going to http://www.michaelerb.net/cmsmadesimple ... /login.php

Michael

Re: Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Mon Oct 02, 2006 5:39 am
by Dr.CSS
Looks fine using Firefox, you must be using that wonderful Internet Exploder thing as it happend to me.  ;)

That's strange as I was typing this I got popups trying to load some sudzuku game or whatever it's called and now my anti virus is going crazy trying to heal some temp files... hmmm... no wonder I never use IE...

Re: Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Mon Oct 02, 2006 12:11 pm
by cnymike
Mark,

After reading your reply, I went back to the login screen and sure enough, there were no errors displayed. But once I logged in the errors were there and I'm not using IE,,,this is in Firefox 2.0.

Code: Select all

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

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

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

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

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

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/public_html/cmsmadesimple-1.0.2/config.php:157) in /home/michael/public_html/cmsmadesimple-1.0.2/lib/classes/class.admintheme.inc.php on line 176
\
If I use the back arrow from the admin screen to go back to the login screen, then more errors appear at the top..

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/public_html/cmsmadesimple-1.0.2/config.php:157) in /home/michael/public_html/cmsmadesimple-1.0.2/admin/login.php on line 159

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/public_html/cmsmadesimple-1.0.2/config.php:157) in /home/michael/public_html/cmsmadesimple-1.0.2/admin/login.php on line 160
Any ideas?

Michael

Re: Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Mon Oct 02, 2006 3:55 pm
by Dr.CSS
By the by I was hit with a very nasty trojan/virus when I looked at your page with IE and had to repair/install XP, never had this problem before in all the places I've been on the net, you may want to have your hosting company check the servers for them.

nothing personal just thought I'd let you know, are they running widows servers?

Re: Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Mon Oct 02, 2006 4:46 pm
by cnymike
This is very surprising and hard to believe. Are you sure you got this virus/trojan from my host? I've got virtual PC and will check it out myself, but I can't believe my hosting company (hostrocket.com) is infected.

Re: Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Mon Oct 02, 2006 4:58 pm
by cnymike
Mark,

I've been working on this host for over a year and I regularly use IE on my windows machine to access the sites that I have hosted there. I have never gotten a virus from my host, nor do my Virus protection and Pest protection logs show any indication whatsoever of attacks or malicious activity from my host. I think it is highly unlikely that whatever you got  was from my site. I'm on my site right now with IE and there is no malicious activity whatsoever.

Sorry to hear you got something from somewhere but I'm pretty confident you didn't get it from my site/host.

Re: Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Mon Oct 02, 2006 5:15 pm
by cnymike
By the way, they are Linux 4.2 hosts.

Re: Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Mon Oct 02, 2006 7:58 pm
by Dr.CSS
Glad to hear they run linux, just a coincidence that it hit me when I was there I never use IE for any thing but checking my designs or other ppl from here who are havng design or other issues, like yours, I saw no errors in Ff. so tried IE and saw 2 errors at the top and then POW, oh well still trying to get it back, good thing I have more than 1 comp.  ;)

Re: Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Mon Oct 02, 2006 8:11 pm
by cnymike
Well, I don't know what caused my errors, but I trashed the installation and started all over again. The errors are gone and I just hope it stays that way.

Re: Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Mon Oct 02, 2006 9:01 pm
by Dr.CSS
I read about this same error mess. in another post and it turns out not all files were uploaded on first install reuploading and upgrading solve their problem.

Re: Suddenly getting "Cannot modify page header..." errors at admin login page

Posted: Tue Mar 06, 2007 10:50 pm
by niklas.wikstrom
A somewhat late reply, and sorry if this issue is closed elsewhere, but anyhow;

Recently installed cmsms and I am new to php, but it turns out that this error occur for some reason if the last line in config.php is empty! That is, if it is not ending at the line 156 ( ?> ).

Weird, but it may be a php5/apache parsing thing? Or is it just ugly coding in cmsms?

cheers,