Recaptcha not working after upgrade to 3.1.1

Hi,

I just upgraded our instance of OJS from 3.1.0.1 to 3.1.1. Everything seems to be working fine except for that the recaptcha is no longer verifying correctly. I have attached a picture of the actual error message. Also, below is the PHP error:

PHP Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: operation failed in C:\inetpub\wwwroot\ojs3111\lib\pkp\classes\form\validation\FormValidatorReCaptcha.inc.php on line 85

image

Tambien me interesa saber al respecto, tengo el mismo problema

Hi all,

Are there other warnings in the log? See e.g. the similar ones at this thread: php - reCaptcha file_get_contents(): SSL operation failed - Stack Overflow

Regards,
Alec Smecher
Public Knowledge Project Team

Alec,

Thank you! I was able to get the recaptcha working by pointing the cafile to the cacert in PHP.