Google recaptcha for Simple Machines Forum (SMF) Problem
Carapos.com - The following errors were detected in your registration. Please correct them to continue:
- The letters you typed don't match the letters that were shown in the picture.
I got the notification above when clicked register in SMF forum.
Now, you can check error log in Admin > Maintenance > error log like this image below
Then, you will see error log :
***/index.php?action=register2
2: file_get_contents(https://www.google.com/recaptcha/api/siteverify):
failed to open stream: No such file or directory
Файл: /***/Sources/recaptcha/ReCaptcha/RequestMethod/Post.php
***/index.php?action=register2
2: file_get_contents(): Unable to find the wrapper "https" - did you
forget to enable it when you configured PHP?
Файл: /***/Sources/recaptcha/ReCaptcha/RequestMethod/Post.php
2: file_get_contents(https://www.google.com/recaptcha/api/siteverify):
failed to open stream: No such file or directory
Файл: /***/Sources/recaptcha/ReCaptcha/RequestMethod/Post.php
***/index.php?action=register2
2: file_get_contents(): Unable to find the wrapper "https" - did you
forget to enable it when you configured PHP?
Файл: /***/Sources/recaptcha/ReCaptcha/RequestMethod/Post.php
now, go to the link ***/Sources/recaptcha/ReCaptcha/RequestMethod/Post.php in your public_html folder in cpanel.
you will see that google recaptcha using PHP_VERSION < 5.6.0.
Let's change the php version in your control panel
type select PHP version in search box :
select php version to 5.5 and set as current :
Now, click switch to php option in right side above,
and the "allow_url_fopen" must on.
Now, go back to your site and test the registration page using google recaptcha,
I hope this will work for you,