Page 1 of 1

S2 Member Pro: I am not able to view my content

PostPosted: April 14th, 2011, 9:29 am
by lisakimms
I found myself locked out of my own membership page. I am able to log in as an admin make changes etc.. but I am not able to view the pages I make changes to ..I can see everything from admin dashboard until I try to access a page. I am not even redirected to the membership site I just get redirected to an error message page. This started happening yesterday.

Then I took on to my test account which I had created with click bank test and has worked okey for last one week. I am able to access the page but when I put my username and password for that account I get this message:

"503: Service Temporarily Unavailable
Too many IP addresses accessing one secure area!
Please contact Support if you require assistance."

The only page I am able to access from admin dashboard is my support forum which is actually a page just linked to using "page link to" plugin. The message I get when I try to view my pages and posts from admin dashboard is:

"
404 (Page Not Found) Error
If you're the site owner, one of two things happened:
1) You entered an incorrect URL into your browser's address bar, or
2) You haven't uploaded content.
If you're a visitor and not sure what happened:
1) You entered or copied the URL incorrectly or
2) The link you used to get here is faulty.
(It's an excellent idea to let the link owner know.)"

Any idea what is going on here? Appreciate.

Thanks

Re: S2 Member Pro: I am not able to view my content

PostPosted: April 14th, 2011, 8:44 pm
by lisakimms
I have ended the 2nd day with the above problem. My hosting company told me the first problem is s2member related but they fixed the second error message where I could not see my own pages. As far as members log in and the too many IP Addresses accessing one secure area, they told me to try and get help here since its a plugin issue. Most of my members got locked out including my own test account for 2 days now. I haven't heard any response here does anyone know of another forum I can post this question? I really am in desperate need of help as I have some members who are not able to log in. Appreciate any help I can get. Thanks.

Re: S2 Member Pro: I am not able to view my content

PostPosted: April 15th, 2011, 1:13 am
by Cristián Lávaque
Hello Lisa. I'm sorry you're having that trouble. I had not seen it until now tonight.

If you can access your WP Admin area, go to s2Member -> Genaral Options -> Unique IP Access Restrictions and set it to "Allow oinfinite IPs (all IP Restrictions are disabled)".

You should be able to have access to that, because these restrictions aren't applied to Admins. Even so, here's something you can use to disable the IP restrictions another way.

Create the directory/file /wp-content/mu-plugins/s2-hacks.php with this:
Code: Select all
<?php
add_action
('ws_plugin__s2member_before_ip_restrictions_ok', 'hack_remove_ip_restrictions');

function hack_remove_ip_restrictions($vars = array())
{
    $vars['__refs']['restriction'] = false;
}
?>


Let me know if that helps you.

Re: S2 Member Pro: I am not able to view my content

PostPosted: April 15th, 2011, 4:47 pm
by lisakimms
Thanks Cristian. I really appreciate

Re: S2 Member Pro: I am not able to view my content

PostPosted: June 28th, 2011, 6:33 am
by camillemm
Is there a solution to disable restriction for one member only ?

Re: S2 Member Pro: I am not able to view my content

PostPosted: June 28th, 2011, 10:21 pm
by Jason Caldwell
IP Restrictions do NOT apply to Administrators of the site, ever. IP Restrictions are only applied to non-admin accounts, and only based on your configuration of s2Members Unique IP Restrictions. When/if s2Member places a temporary ban on an account that has breached security, based on your configuration, the breach can be removed for that particular User, by editing the User's account in your Dashboard. In the s2Member section of the account, you will find a checkbox that can be ticked to remove any existing bans against the account.

Re: S2 Member Pro: I am not able to view my content

PostPosted: June 28th, 2011, 10:24 pm
by Jason Caldwell
Cristián Lávaque wrote:Hello Lisa. I'm sorry you're having that trouble. I had not seen it until now tonight.

If you can access your WP Admin area, go to s2Member -> Genaral Options -> Unique IP Access Restrictions and set it to "Allow oinfinite IPs (all IP Restrictions are disabled)".

You should be able to have access to that, because these restrictions aren't applied to Admins. Even so, here's something you can use to disable the IP restrictions another way.

Create the directory/file /wp-content/mu-plugins/s2-hacks.php with this:
Code: Select all
<?php
add_action
('ws_plugin__s2member_before_ip_restrictions_ok', 'hack_remove_ip_restrictions');

function hack_remove_ip_restrictions($vars = array())
{
    $vars['__refs']['restriction'] = false;
}
?>


Let me know if that helps you.

Starting with s2Member v110606+, this can be accomplished much easier.
Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code: Select all
<?php
add_filter
("ws_plugin__s2member_disable_login_ip_restrictions", "__return_true");
?>

Re: S2 Member Pro: I am not able to view my content

PostPosted: June 29th, 2011, 1:53 am
by camillemm
Thank you for the answer.