Forums

NoCaptcha failing validation with allow_url_fopen ENABLED

robertpaxton 21 Jan, 2017
Hello! It appears that something broke with NoCaptcha a week or two ago, on validation -- I can check the "I'm not a robot" and submit, but after some time I get the "the reCAPTCHA wasn't entered correctly" message. Looking through the forums, I see that allow_url_fopen is significant -- I've verified that this has always been set to 1. I'm running on a VPS, so I'm in full control of PHP settings. My guess is it probably broke after I did a routine CentOS update, which involved some PHP components.

The log:
[Sat Jan 21 06:54:52.733783 2017] [:error] [pid 21719] [client 68.190.173.217:55045] PHP Warning:  file_get_contents(https://www.google.com/recaptcha/api/siteverify?secret=
<snip> 
in /var/www/html/circlesanctuary/html/administrator/components/com_chronoforms5/chronoforms/actions/check_nocaptcha/check_nocaptcha.php on line 29, referer: https://www.circlesanctuary.org/index.php/component/com_chronoforms5/chronoform,Email-Bob/


Please let me know your thoughts -- thanks!
GreyHead 21 Jan, 2017
Hi robertpaxton,

You appear to have <snip>'d the bit of the error message that might have said what the error is?

Did you check allow_url_fopen on the Site Admin > System Info > PHP Info page?

Bob
This topic is locked and no more replies can be posted.