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™

503: Service Temporarily Unavailable

s2Member Plugin. A Membership plugin for WordPress®.

Re: 503: Service Temporarily Unavailable

Postby Jason Caldwell » March 15th, 2011, 2:20 am

Make sure you don't have any spaces or blank lines at the top or bottom of that file. White space ( i.e. blank lines ) inside a PHP file creates output, and that can cause the errors that you're seeing here.
~ 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: 503: Service Temporarily Unavailable

Postby rodrico101 » March 15th, 2011, 2:47 am

Jason,

Boy...see what happens when you are half asleep!! Thanks I had few spaces at the top of the file. Can't believe I missed that. Good to go, works great!!

Rod
User avatar
rodrico101
Registered User
Registered User
 
Posts: 8
Joined: January 24, 2011

Re: 503: Service Temporarily Unavailable

Postby Jason Caldwell » March 15th, 2011, 2:53 am

Haha.. No problem. Glad I could help.
~ 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: 503: Service Temporarily Unavailable

Postby jeanmorency » October 13th, 2011, 11:59 am

I had to deal with this issue after setting up an account for demo purpose.

What best practice can you suggest to set up a demo account that will be shared with various prospects (thus multiple IPs) without compromising the restrictions rules set for all other users?

Thanks
User avatar
jeanmorency
Registered User
Registered User
 
Posts: 14
Joined: August 22, 2011

Re: 503: Service Temporarily Unavailable

Postby Jason Caldwell » October 13th, 2011, 1:17 pm

jeanmorency wrote:I had to deal with this issue after setting up an account for demo purpose.

What best practice can you suggest to set up a demo account that will be shared with various prospects (thus multiple IPs) without compromising the restrictions rules set for all other users?

Thanks

If your demo account has the Username "demo", s2Member will bypass IP Restriction routines automatically. Otherwise, you could do something like this if you like.

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", "my_s2_login_ip_restriction_handler");
function my_s2_login_ip_restriction_handler ($what_s2member_says = false, $vars = array ())
    {
        if (strtolower ($vars["username"]) === "mydemouser")
            return true; /* Disable for this Username. */
        /**/
        else /* Return what s2Member says ( i.e. false ). */
            return $what_s2member_says;
    }
?>
~ 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: 503: Service Temporarily Unavailable

Postby jeanmorency » October 13th, 2011, 1:35 pm

Wonderful!
Thank you!
User avatar
jeanmorency
Registered User
Registered User
 
Posts: 14
Joined: August 22, 2011

Re: 503: Service Temporarily Unavailable

Postby RachelC » October 13th, 2011, 5:36 pm

Customers are getting this 503: Service temporarily Unavailable.
I have the restriction all the way up to 10 IP addresses.
Is this a problem again?
Had to refund subscriptions... help!
User avatar
RachelC
Registered User
Registered User
 
Posts: 31
Joined: September 14, 2011

Re: 503: Service Temporarily Unavailable

Postby Jason Caldwell » October 13th, 2011, 8:26 pm

Thanks for reporting this important issue.

No, there are no known issues. If you'd like to create a test account for us, on your site, and send it here we'll take a look for you. Private contact form: http://www.s2member.com/contact/
~ 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: 503: Service Temporarily Unavailable

Postby Sparklesperson » October 24th, 2011, 6:19 am

I tried the hack - no difference. What's next?
User avatar
Sparklesperson
Registered User
Registered User
 
Posts: 19
Joined: October 22, 2010

Re: 503: Service Temporarily Unavailable

Postby Jason Caldwell » October 24th, 2011, 11:17 am

Thanks for your follow-up.
Sparklesperson wrote:I tried the hack - no difference. What's next?
Please elaborate just a bit further. You tried the hack above? For what reason exactly? and in what way did it not succeed for you? Also, please include the WordPress version number, and s2Member version that you're running with.
~ 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: 503: Service Temporarily Unavailable

Postby theinnerdancer1 » October 31st, 2011, 11:54 am

I just sent in a private contact form. I'm running WP 3.2.1 and s2member v. 111029. I also reset the IP addresses and set the restriction to infinity for now. I'm awaiting the reply to the contact form but in the meantime, how can I know its been fixed without asking the subscriber to try again. I know she's already frustrated.
User avatar
theinnerdancer1
Registered User
Registered User
 
Posts: 3
Joined: October 31, 2011

Re: 503: Service Temporarily Unavailable

Postby Jason Caldwell » October 31st, 2011, 12:33 pm

Thank you, your email was received.
I'll answer this here for the benefit of other readers.

Please log into your Dashboard, and go to: Users. Find this particular User and click the [Edit] link.
Scroll down to the bottom and find the section depicted in the attached screenshot below.

( click to enlarge )
SNAG-0091.png

Also, you may want to review your configuration of s2Member here:
s2Member -> Restriction Options -> Unique IP Access Restrictions
~ 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: 503: Service Temporarily Unavailable

Postby theinnerdancer1 » October 31st, 2011, 3:07 pm

what if I have done all this and they still receive the message? What else could it be?
User avatar
theinnerdancer1
Registered User
Registered User
 
Posts: 3
Joined: October 31, 2011

Re: 503: Service Temporarily Unavailable

Postby Jason Caldwell » October 31st, 2011, 6:30 pm

theinnerdancer1 wrote:what if I have done all this and they still receive the message? What else could it be?
If you've done all of this, and the problem persists, I would start looking at your caching plugins.
If you're running a caching plugin for WordPress, you might want to clear the cache, and check your cache configuration.
~ 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: 503: Service Temporarily Unavailable

Postby scottmhorn » November 12th, 2011, 10:40 pm

Is anyone having this problem anymore? I just started and have my first user and they are already hitting the error.

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

I am hosting with bluehost if that makes a difference.

Thanks!
User avatar
scottmhorn
Registered User
Registered User
 
Posts: 5
Joined: June 20, 2011

Re: 503: Service Temporarily Unavailable

Postby Cristián Lávaque » November 15th, 2011, 12:28 am

Scott, have you tried raising the IP limit? WP Admin -> s2Member -> Restriction Options -> Unique IPs

Let me know if that helps.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Previous

Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest

cron