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™

Redirect loop error

s2Member Plugin. A Membership plugin for WordPress®.

Redirect loop error

Postby dlmerriam » June 1st, 2010, 12:16 am

I have suddenly developed an error on getting to the login page that seems to be coming from S2 at http://www.infomania-247.com. Everyone who has tried is getting the same error.

Plain http://www.infomania-247.com redirects to: http://infomania-247.com/?s2member_level_req=1 and that's as far as it gets.

However, explicitly going to http://www.infomania-247.com/wp-login.php works fine and no problems I've found thereafter.

This is the wording I get from FireFox and Chrome:
***************************************************
Chrome:
This webpage has a redirect loop.

The webpage at http://infomania-247.com/?s2member_level_req=1 has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
**************************************************
FireFox:
The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

* This problem can sometimes be caused by disabling or refusing to accept cookies.
**************************************************
Cookies are fine. A half a dozen other people tried and all get the same error.

Works: http://www.infomania-247.com/wp-login.php
Doesn't: http://www.infomania-247.com

WP 2.92
Host Gator
All other blogs that are also addons to the same account are working.
Example: http://www.dianemerriam.com

I've stripped plugins to the absolute minimum. What's left are these enabled plugins:
Akismet
Exec-PHP
Role Manager
s2Member
Sniplets
Wordpress Download Monitor

I've also tried changing themes and that doesn't work either.

Anyone ..... help!!!!

Thanks,
Diane
User avatar
dlmerriam
Registered User
Registered User
 
Posts: 1
Joined: May 31, 2010
Location: Clarksville, IN

Re: Redirect loop error

Postby rdkcreative » June 8th, 2010, 11:30 pm

I'm also getting the same error. Any help would be appreciated.
User avatar
rdkcreative
Registered User
Registered User
 
Posts: 2
Joined: June 8, 2010

Re: Redirect loop error

Postby Jason Caldwell » June 19th, 2010, 7:26 pm

dlmerriam wrote:I have suddenly developed an error on getting to the login page that seems to be coming from S2 at http://www.infomania-247.com. Everyone who has tried is getting the same error.

Plain http://www.infomania-247.com redirects to: http://infomania-247.com/?s2member_level_req=1 and that's as far as it gets.

However, explicitly going to http://www.infomania-247.com/wp-login.php works fine and no problems I've found thereafter.

This is the wording I get from FireFox and Chrome:
***************************************************
Chrome:
This webpage has a redirect loop.

The webpage at http://infomania-247.com/?s2member_level_req=1 has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
**************************************************
FireFox:
The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

* This problem can sometimes be caused by disabling or refusing to accept cookies.
**************************************************
Cookies are fine. A half a dozen other people tried and all get the same error.

Works: http://www.infomania-247.com/wp-login.php
Doesn't: http://www.infomania-247.com

WP 2.92
Host Gator
All other blogs that are also addons to the same account are working.
Example: http://www.dianemerriam.com

I've stripped plugins to the absolute minimum. What's left are these enabled plugins:
Akismet
Exec-PHP
Role Manager
s2Member
Sniplets
Wordpress Download Monitor

I've also tried changing themes and that doesn't work either.

Anyone ..... help!!!!

Thanks,
Diane


Very sorry for my delayed response. I've been swamped here. OK, from what I can see, it appears to be related to a "www" issue. Depending on the configuration of your server, and depending on the configuration in your .htaccess file, it could be that your WordPress installation is configured to use your domain without a "www", and your server is not.

Please let me know if you ever got this resolved.
~ 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

Re: Redirect loop error

Postby Marc » June 21st, 2010, 1:28 pm

I also have the infinite loop error. I have 2 links on my site, one is member login and the other is members area. If you click on the members area link wordpress just hangs and firefox shows the message described above. The error appears if you try to access any protected content without being logged in first.
No 404 error page appears, it just hangs.
Do you think it is the URI as this is when it started...
I have one main members menu page. From this page it has maybe 100 sub pages. When protecting the ID of the main menu page it did not protect the child pages, only the parent page. So I had to use URI to say
/members-only
and this did protect the sub pages, but now the loop error.
Any ideas would be appreciated.
Excellent product by the way, thank you!
Marc
Marc
Guest User
Guest User
 

Re: Redirect loop error

Postby drbyte » June 21st, 2010, 9:24 pm

make sure both URL

WordPress address (URL):
Site address (URL):

in your wordpress admin settings are the same

Check your database and make sure both entries have the same url

IF all the same, temporary rename your wp-cron.php to something like wp-TEmpcron.php. Log off and close all browsers. Clean up your browser cache and try again.

If no errors then go back and rename wp-Tempcron.php to what It was before wp-cron.php

I would also check wp-confg and your .htaccess and make sure it's defined as either www. or http://www.



NOTE: Some host companies if you use their upgrade process the system creates a mirror copy before the upgrade and that may cause a loop. Call your host and ask them to clear your account temp dir. Make sure you back up your site first.

Hope this helps
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: Redirect loop error

Postby Jason Caldwell » June 22nd, 2010, 1:01 am

Also make sure that you're NOT protecting your Membership Options Page. The Membership Options Page, as configured in your WP Dashboard, under: s2Member -> General Options -> Membership Options Page, should ALWAYS be un-protected. This is the Page that non-Members are redirected to, should they attempt to access an area of your site that is off limits to the public.

In other words, protecting your Membership Options Page could lead to redirection loops. I'm adding this to my list of things to "go back over" before the next release. We need to make sure that s2Member will NOT allow this under any circumstance. I thought we had this taken care of already, but it appears it needs more attention. ~Thanks for reporting this.
~ 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

Re: Redirect loop error

Postby Marc » June 22nd, 2010, 11:25 am

Thank you Jason!
It was the "Membership Options" (General options) that was causing all the problems.
Thank you for your help, and a great product!
One thing I would like to see (at some point) is a way for the member to see when their membership expires.
Thank you for all your help, I really appreciate it.
Marc
Marc
Guest User
Guest User
 

Re: Redirect loop error

Postby Jason Caldwell » June 22nd, 2010, 11:27 am

Duly noted. Very welcome.
~Thanks for reporting back Marc.
~ 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 0 guests

cron