понедельник, 18 ноября 2013 г.

reCAPTCHA stopped working in Joomla 3

UPDATE: updating to Joomla! 3.2.1 fixes the problem. Do not read further.

Several days ago built-in reCAPTCHA plugin stopped to show up in registration forms in Joomla 3.1.5 - powered site. There was just nothing like <div ...></div>. Updating to Joomla 3.2.0 didn't help.


 So digging in to the code I realized that paths to reCAPTCHA engine were outdated in plugin files (recaptcha.php). Changing them to actual paths started to show reCAPTCHA form, but submitting registration form returns error PLG_RECACPTCHA_ERROR_ . Googling a little bot more I found this page, replaced recaptcha.php with is and all begun to work like it should.


Solution:

If reCAPTCHA plugin does not work or shows errors on your Joomla! powered site, replace contents of file located in /plugins/captcha/recaptcha/recaptcha.php with this: https://github.com/joomla/joomla-cms/blob/master/plugins/captcha/recaptcha/recaptcha.php 

Комментариев нет:

Отправить комментарий