Page 1 of 1

Redirect loop error

PostPosted: June 1st, 2010, 12:16 am
by dlmerriam
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

Re: Redirect loop error

PostPosted: June 8th, 2010, 11:30 pm
by rdkcreative
I'm also getting the same error. Any help would be appreciated.

Re: Redirect loop error

PostPosted: June 19th, 2010, 7:26 pm
by Jason Caldwell
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.

Re: Redirect loop error

PostPosted: June 21st, 2010, 1:28 pm
by Marc
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

Re: Redirect loop error

PostPosted: June 21st, 2010, 9:24 pm
by drbyte
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

Re: Redirect loop error

PostPosted: June 22nd, 2010, 1:01 am
by Jason Caldwell
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.

Re: Redirect loop error

PostPosted: June 22nd, 2010, 11:25 am
by Marc
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

Re: Redirect loop error

PostPosted: June 22nd, 2010, 11:27 am
by Jason Caldwell
Duly noted. Very welcome.
~Thanks for reporting back Marc.