Page 1 of 1

Strange error when going to welcome and protected pages

PostPosted: October 25th, 2010, 2:49 pm
by willieg
When I go to my website and click on "Protected Page" or "Login Welcome Page" I get a white screen that displays this text:

Warning: Cannot modify header information - headers already sent by (output started at /home1/myusername/public_html/index.php:2) in /home1/myusername/public_html/wp-includes/pluggable.php on line 890

Strangely enough, when I am logged in to the dashboard of my WordPress I do NOT laways get that message.
Sometimes I do...

I also get the above message when I click on the s2member logo to go to my site...will not even load the site.

I have several plugins and have disabled some and deleted some for various reasons.
I'm using FireFox and the wp 2010 theme. I have the latest version of s2member (free) and wp 3.01 installed.

Any suggestions or am I the only one with this problem?

Thanks for any help or suggestions. :(

Willieg

Re: Strange error when going to welcome and protected pages

PostPosted: October 25th, 2010, 3:10 pm
by Dr Dave
Hi Willieg,

Haven't run into this issue using s2member, but "Headers Already Sent" leads me to suspect white-space in either "pluggable.php" or "index.php:2".

Dig into those files and make sure there is nothing before your <php tag on the very first line. If there is, you will get that message.

Luck-2-ya,
Dave

Re: Strange error when going to welcome and protected pages

PostPosted: October 25th, 2010, 3:41 pm
by willieg
Thanks, this is a new install and maybe one or another of the plugins is sending header info...not sure I understand any of it! :lol: It may be easier if I just deactivate all other plugins and see what happens.

I did check the pluggable.php and it does not have anything before <? php file so maybe it is ok...as for the index.php:2 I didn't fine that one with FTP program....I think what I may have to do is just trash it all and start from scratch.

Thanks for you help and suggestions...I'm pretty new to this stuff (code, etc). :shock: So, when I start poking around with it I get a little light headed :lol: :roll:

Re: Strange error when going to welcome and protected pages

PostPosted: October 25th, 2010, 4:02 pm
by Dr Dave
Sometimes a fresh install is all it takes. You might take a look at your regular index.php w/o the :2 - That was a pretty strange addy;-)

As for light-headed, I started out that way, so I have an advantage..;-)

Re: Strange error when going to welcome and protected pages

PostPosted: October 25th, 2010, 11:21 pm
by Jason Caldwell
Dr. Dave - your rank has been updated to: Experienced User.
~ Thanks for your assistance in the forums.