|
The reCaptcha Error with Joomla

recaptcha.jpg

UPDATE: Feb. 19 Joomla has released 2 patches since this article was published, which corrects the reCaptcha error. If you have not yet updated your Joomla 2.5.x system, go to the Joomla release news section to learn more and download the file.

 

 


 

If you use the reCaptcha plugin included with Joomla 2.5.x then you may notice that it has stopped working.

This is not a fault of Joomla and the issue is not limited to Joomla but has also affected many websites which are not running on Joomla. The error is caused by the change that Google has made to the reCaptcha API URL so the recaptcha_ajax.js is not loading.

What was once api.recaptcha.net is now google.com/recaptcha/api

To correct the URL, you need to edit the plugin file at plugins/captcha/recaptcha/recaptcha.php

Change all the URLs within the class at line 22 from

const RECAPTCHA_API_SERVER = "http://api.recaptcha.net";
const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api";
const RECAPTCHA_VERIFY_SERVER = "api-verify.recaptcha.net";
To these URLs
const RECAPTCHA_API_SERVER = "http://www.google.com/recaptcha/api";
const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api";
const RECAPTCHA_VERIFY_SERVER = "api-verify.recaptcha.net";

For more details, see

https://developers.google.com/recaptcha/docs/display

https://developers.google.com/recaptcha/docs/verify

CMSEnergizer

 

Copyright © 2018 CMSEnergizer.com. All Rights Reserved.
This website is powered by the Joomla!©™ 3 Website Framework | File download and article manager component by CMSE Custom Fields | Advanced Module Manager and Modules Anywhere by NoNumber Elements | Website hosting and development by WebsiteDons

CMSEnergizer.com is owned and operated by Emuzement Net Inc, Tampa, Florida USA