Solved: Google reCaptcha v2 not working

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
jsykes
New Member
New Member
Posts: 6
Joined: Mon Dec 15, 2008 2:10 am

Solved: Google reCaptcha v2 not working

Post by jsykes »

I have just solved a frustrating issue using a new CMSMS installation, CGBetterForms and Captcha.

When my form was submitted it would report:

"Sorry, incorrect captcha value"

After much Googling, I found the root cause to be a PHP.ini setting.

The PHP.ini setting "allow_url_fopen" must be enabled. I can consistently replicate the issue and solve the issue by toggling this setting.

This site is hosted on a Google Cloud server with WHM/cPanel. By default this value was NOT enabled.

Hopefully this helps the next person that encounters this issue in the context of CMSMS.

Jon
Post Reply

Return to “Tips and Tricks”