PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Strange error when going to welcome and protected pages

s2Member Plugin. A Membership plugin for WordPress®.

Strange error when going to welcome and protected pages

Postby willieg » October 25th, 2010, 2:49 pm

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
User avatar
willieg
Registered User
Registered User
 
Posts: 8
Joined: October 25, 2010
Location: The Texas Hill Country

Re: Strange error when going to welcome and protected pages

Postby Dr Dave » October 25th, 2010, 3:10 pm

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
User avatar
Dr Dave
Experienced User
Experienced User
 
Posts: 16
Joined: July 8, 2010

Re: Strange error when going to welcome and protected pages

Postby willieg » October 25th, 2010, 3:41 pm

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:
User avatar
willieg
Registered User
Registered User
 
Posts: 8
Joined: October 25, 2010
Location: The Texas Hill Country

Re: Strange error when going to welcome and protected pages

Postby Dr Dave » October 25th, 2010, 4:02 pm

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..;-)
User avatar
Dr Dave
Experienced User
Experienced User
 
Posts: 16
Joined: July 8, 2010

Re: Strange error when going to welcome and protected pages

Postby Jason Caldwell » October 25th, 2010, 11:21 pm

Dr. Dave - your rank has been updated to: Experienced User.
~ Thanks for your assistance in the forums.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron