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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

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

Post 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
Last edited by cnymike on Mon Oct 02, 2006 3:31 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

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

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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?
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

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

Post 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.
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

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

Post 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.
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

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

Post by cnymike »

By the way, they are Linux 4.2 hosts.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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.  ;)
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

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

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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.
niklas.wikstrom

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

Post 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,
Locked

Return to “[locked] Installation, Setup and Upgrade”