Server issue problem with registration

Tealk

Well-known member
if i will register an accound i get this error, how i can fix this?
Code:
Fehlerinformation
ErrorException: Undefined variable: errno - library/Zend/Http/Client/Adapter/Socket.php:236
Erstellt von: Unbekanntes Benutzerkonto, Vor einem Moment
Stapelverfolgung
#0 /var/www/web120088/html/XenForo/library/Zend/Http/Client/Adapter/Socket.php(236): XenForo_Application::handlePhpError('api-verify.reca...', 80, false)
#1 /var/www/web120088/html/XenForo/library/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('POST')
#2 /var/www/web120088/html/XenForo/library/Zend/Service/ReCaptcha.php(487): Zend_Http_Client->request('03AHJ_VutTr6EiG...', '85453253 18')
#3 /var/www/web120088/html/XenForo/library/Zend/Service/ReCaptcha.php(502): Zend_Service_ReCaptcha->_post('03AHJ_VutTr6EiG...', '85453253 18')
#4 /var/www/web120088/html/XenForo/library/XenForo/Captcha/ReCaptcha.php(53): Zend_Service_ReCaptcha->verify(Array)
#5 /var/www/web120088/html/XenForo/library/XenForo/Captcha/Abstract.php(128): XenForo_Captcha_ReCaptcha->isValid(Object(XenForo_Input))
#6 /var/www/web120088/html/XenForo/library/MinecraftAvatar/ControllerPublic/Register.php(12): XenForo_Captcha_Abstract::validateDefault()
#7 /var/www/web120088/html/XenForo/library/XenForo/FrontController.php(313): MinecraftAvatar_ControllerPublic_Register->actionRegister(Object(XenForo_RouteMatch))
#8 /var/www/web120088/html/XenForo/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch()
#9 /var/www/web120088/html/XenForo/index.php(13): XenForo_FrontController->run()
#10 {main}
Benötigter Status
array(3) {
["url"] => string(42) "http://www.anzahcraft.de/register/register"
["_GET"] => array(0) {
}
["_POST"] => array(15) {
["username"] => string(8) "tealk144"
["email"] => string(17) "xxx"
["password"] => string(8) "********"
["password_confirm"] => string(8) "********"
["dob_month"] => string(1) "5"
["dob_day"] => string(2) "23"
["dob_year"] => string(4) "1990"
["gender"] => string(4) "male"
["timezone"] => string(16) "Europe/Amsterdam"
["recaptcha_challenge_field"] => string(185) "03AHJ_VutTr6EiG4dIYCIKB8c-BcdqQ08kr27YwnBE-HYQD3KoArHMF9dO1o8hf02CV7gkcHE5FZyastmI3_78SPYp1Ds8434YmDaucRfnWD6klPeBQ44JsmUDFCKWTIgo6imQOmhPtHmY-6tAKZtqw23DhebEQD6yG1djl3Er2kJNZlsMAwxJmGo"
["recaptcha_response_field"] => string(11) "85453253 18"
["agree"] => string(1) "1"
["_xfToken"] => string(8) "********"
["reg_key"] => string(32) "75c58abe926e7400cc87737a7281b86f"
["8wayrun_time"] => string(10) "1383312542"
}
}
 
This is actually masking another error -- one that is likely telling you that fsockopen is disabled in PHP (by your host). You'd need to contact them (as disabling any functions in PHP is a really bad idea) or disable any functions that try to contact an external server (ReCAPTCHA, StopForumSpam, Akismet, Gravatar, etc).

If your host refuses to enable functions, I strongly suggest you find a new host.
 
I get this error only for a few days
If i use KeyCAPTCHA

Code:
Fehlerinformation
ErrorException: fsockopen() has been disabled for security reasons - library/KeyCAPTCHA/KeyCAPTCHA.php:59
Erstellt von: Unbekanntes Benutzerkonto, Vor einer Minute
Stapelverfolgung

#0 [internal function]: XenForo_Application::handlePhpError('back11.keycaptc...', 80, 0, '', 30)
#1 /var/www/web120088/html/XenForo/library/KeyCAPTCHA/KeyCAPTCHA.php(59): fsockopen('http://back11.k...')
#2 /var/www/web120088/html/XenForo/library/KeyCAPTCHA/KeyCAPTCHA.php(100): KeyCAPTCHA_CLASS->http_get('25025d7747384e0...')
#3 /var/www/web120088/html/XenForo/library/KeyCAPTCHA/KeyCAPTCHA.php(135): KeyCAPTCHA_CLASS->check_result(Array)
#4 /var/www/web120088/html/XenForo/library/XenForo/Captcha/Abstract.php(128): KeyCAPTCHA_KeyCAPTCHA->isValid(Object(XenForo_Input))
#5 /var/www/web120088/html/XenForo/library/MinecraftAvatar/ControllerPublic/Register.php(12): XenForo_Captcha_Abstract::validateDefault()
#6 /var/www/web120088/html/XenForo/library/XenForo/FrontController.php(313): MinecraftAvatar_ControllerPublic_Register->actionRegister(Object(XenForo_RouteMatch))
#7 /var/www/web120088/html/XenForo/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch()
#8 /var/www/web120088/html/XenForo/index.php(13): XenForo_FrontController->run()
#9 {main}

Benötigter Status

array(3) {
  ["url"] => string(42) "http://www.anzahcraft.de/register/register"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(14) {
    ["username"] => string(8) "Tealk144"
    ["email"] => string(17) "xxx"
    ["password"] => string(8) "********"
    ["password_confirm"] => string(8) "********"
    ["dob_month"] => string(1) "5"
    ["dob_day"] => string(2) "23"
    ["dob_year"] => string(4) "1990"
    ["gender"] => string(4) "male"
    ["timezone"] => string(16) "Europe/Amsterdam"
    ["hash"] => string(161) "25025d7747384e00c62dc0faf7cb8a49|4a199c4e32f77aa22c4c89056881b2e2|http://back11.keycaptcha.com/swfs/ckc/5c5ed0e12cdbb627944f47a9cfbe3b06-|5273b1cd19ea1-.2.2.25|1"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "4b747132c2bb8692d7a60802c23f7c15"
    ["8wayrun_time"] => string(10) "1383313869"
  }
}
 
This is the error I was referring to previously. The previous recommendations stand.
 
I get this error only for a few days
If i use KeyCAPTCHA
If you are using KeyCAPTCHA you can use following trick:
1 Check in browser http://your_site.com/includes/KeyCAPTCHA/kc-gettime.php link - you should see your server current time.
2 Go to keycaptcha.com member area>site list>Settings>Additional and uncheck flag "Allow outgoing request" and specify link from step 1.
3 Save settings
In this case captcha will not try to establish connection with backs.keycaptcha.com

Or you can try to enable outgoing requests (fsockopen) on your server.
 
Back
Top Bottom