Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
ISSUE SUMMARY:
If I enable nocatchpa in Jomsocial it all looks good but when you try to register you get an error 500
No HTTP response code found.
STEPS TO REPLICATE:
1 In the back end enable nocatchpa in Jomsocial
2 On the frontend create a new account
3 Click I am not a robot and then next and the error appears
4
5
RESULT
EXPECTED RESULT
BROWSER
Hi there,
Thanks for the answer I have contacted our hosting company and this is the answer they have given.
I checked that ticket and was able to replicate the issue with the nocatchpa plugin. I reviewed the server logs but there was nothing in regard to this 500 error. I am afraid that this indeed a problem with the plugin itself and not with the server's configurations.
Hi There
no change with the new recatchpa.
I am not sure how the Joomla update will work as the error is when it uses the jomsocial login
and tries to load this page
www.swinleyriders.co.uk/index.php/jomsocial/register
there is an issue with that joomla version. to tackle the issue I put this changing:
/components/com_community/helpers/recaptcha.php line 80
public function verify ()
{
// if Recaptcha is not enabled, return true
if(!$this->enabled) return true;
// get the Recaptcha response from the form data
$response = JFactory::getApplication()->input->get('g-recaptcha-response');
if(!$response) return false;
// send it to verification server for confirmation
$http = new JHttp();
$result = $http->post(
$this->verifyUrl,
array (
'secret' => $this->privateKey,
'remoteip' => $this->ip,
'response' => $response,
)
);
$result = json_decode($result->body);
return ($result->success === true) ? true : false;
}
changing it to
public function verify ()
{
// if Recaptcha is not enabled, return true
if(!$this->enabled) return true;
// get the Recaptcha response from the form data
$response = JFactory::getApplication()->input->get('g-recaptcha-response');
if(!$response) return false;
// send it to verification server for confirmation
$result = json_decode(file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=".$this->privateKey."&response=".$response."&remoteip=".$_SERVER['REMOTE_ADDR']), true);
return ($result['success']) ? true : false;
}