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™

Internal server Error 500 when registering and sending email

s2Member Plugin. A Membership plugin for WordPress®.

Internal server Error 500 when registering and sending email

Postby ryannagy » October 5th, 2011, 9:42 pm

I just went through a test purchase on a live installation using my credit card. The process worked fine until I recieved a 500 internal error after paying and after creating my own username and password. After clicking the ¨register¨¨ button on this page: http://solutionsfortrauma.com/wp-login. ... n=register

I recieved this message: Internal Server Error.The server encountered an internal error or misconfiguration and was unable to complete your request.

I get the same message when trying to manually add members. In addition, registration confirmation emails are not being sent.

Any suggestions?
User avatar
ryannagy
Registered User
Registered User
 
Posts: 68
Joined: May 18, 2010

Re: Internal server Error 500 when registering and sending e

Postby ryannagy » October 6th, 2011, 12:10 am

My host, MediaTemple, sent this to me today:

"There was recently a change made to our server which does removes permission from the server to call external URLs with PHP. This may be a cause of your problems. You can modify your php.ini file to allow URL calling by adding the following line:

allow_url_fopen = Enabled"

Could that be the problem? I can make the change, but I don't know exactly what it means.

- Ryan
I did the above, duplicated the php.ini that was in my root etc folder with the line above. It did not help. I am still getting the server error.
User avatar
ryannagy
Registered User
Registered User
 
Posts: 68
Joined: May 18, 2010

Re: Internal server Error 500 when registering and sending e

Postby Cristián Lávaque » October 6th, 2011, 4:29 am

I'll email Jason asking him about this.

Did the account get created despite the error?
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

Re: Internal server Error 500 when registering and sending e

Postby ryannagy » October 6th, 2011, 6:38 am

Thanks Cristian. On the account that I created myself - yes it was created. Last night, someone purchased my product and the account was not created. Though, he or she may not have clicked through to the register page.

- Ryan
User avatar
ryannagy
Registered User
Registered User
 
Posts: 68
Joined: May 18, 2010

Re: Internal server Error 500 when registering and sending e

Postby ryannagy » October 6th, 2011, 11:34 am

Here are my error logs. The one's that seem relevant are near then end, having to do with the headers. The first one is related to a previous error of not being able to updgrade S2MemberPRO via Wordpress admin.

"[Wed Oct 05 22:04:39 2011] [error] [client 205.186.175.217] ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker '205.186.175.217', file '/nfs/c09/h02/mnt/132314/domains/solutionsfortrauma.com/html/wp-content/plugins/s2member/includes/classes/auto-eots.inc.php', line 106)

[Wed Oct 05 22:06:28 2011] [error] [client 66.211.170.66] Premature end of script headers: php5
[Wed Oct 05 22:13:51 2011] [error] [client 189.215.229.45] Premature end of script headers: php5, referer: http://solutionsfortrauma.com/wp-admin/user-new.php
[Wed Oct 05 22:20:27 2011] [error] [client 189.215.229.45] Premature end of script headers: php5, referer: http://solutionsfortrauma.com/wp-admin/user-new.php

What do you think?
User avatar
ryannagy
Registered User
Registered User
 
Posts: 68
Joined: May 18, 2010

Re: Internal server Error 500 when registering and sending e

Postby ryannagy » October 6th, 2011, 3:26 pm

For reasons that I cannot fathom, everything is working now. But I am curious as to what Jason comes up with.

By the way Christian - I saw on one of your blogs that you live in Mexico. Is that current information? I am an American but live in Merida, Mexico. Eventually, I will move to DF. Curious as to where you are....
User avatar
ryannagy
Registered User
Registered User
 
Posts: 68
Joined: May 18, 2010

Re: Internal server Error 500 when registering and sending e

Postby Cristián Lávaque » October 7th, 2011, 12:43 am

Taxco, Guerrero. Planning to move to Mexico City too. :)

I'm glad it's working fine too, but I'm also curious to know what Jason can say about the problem you had.
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

Re: Internal server Error 500 when registering and sending e

Postby Jason Caldwell » October 11th, 2011, 6:35 pm

Just notating our other conversation in this thread:
viewtopic.php?f=4&t=14957&p=45083&hilit=Premature+end+of+script+headers#p45083
Related to premature end of script headers on MT (gs).

The error regarding ini_set("memory_limit", "256M"); is harmless. s2Member just tries to get as much as it can, but some hosting providers do not allow it. I'll see what we can do to avoid this issue in the error log though. We don't want any red flags going off if we can avoid that.
~ 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: Yahoo [Bot] and 1 guest

cron