Saturday, November 23, 2013

Joomla 3.2 and captcha not appearing

So I activated Joomla 3.2's captcha feature for contact forms.

It turned out it wasn't appearing.

So I followed this tutorial (must do) but still it wasn't working.

It didn't took much to realize I had still to fix some bugs in the lines 23-24 of the file plugins\captcha\recaptcha\recaptcha.php

I changed those lines so they read:

 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 = "http://www.google.com";

Bottom line, the "http://" was missing...

And after that it worked like a charm : )


No comments:

Post a Comment

cancel script completely on ctrl-c

I found this question interesting: basically how to cancel completely a script and all child processes : You do this by creating a subro...