CAPTCHA not validating --

5 replies · opened May 20, 2017

EenniMay 20, 2017

Hi,

We did enter the correct keys into the proper html and php but Captcha does not validate.
Any ideas?

attachment

attachment

contact-2.html
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<div class="g-recaptcha" data-sitekey="valid key for our domain">
</div>

sendemail.php
// Add this only if you use reCaptcha with your Contact Forms
$recaptcha_secret = 'valid secret key for our domain'; // Your reCaptcha Secret

SSemicolon WebSTAFFMay 24, 2017

Hello,

Please make sure that the PHP file_get_contents Function is working fine on your Servers.

This will definitely fix your issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

LlivemusicprosAug 15, 2017

Can anyone expand on the "file_get_contents" function issue? I followed Google's and SemiColonWeb's instructions as well, but I am getting the validation error. I called by web hosting company (Bluehost) and they said that everything is fine on the server end. Any help? Thanks.

SSemicolon WebSTAFFAug 15, 2017

Hello,

The Basic Requirement for the reCaptcha Validation to work properly is to have the allow_url_fopen to be enabled in the PHP.ini Configuration File. You can contact your Web Hosting Provider to check this for you.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

LlivemusicprosAug 15, 2017

Hello, thanks for the reply. I have confirmed that "allow_url_fopen" is enabled in PHP.ini

I have a test page up here: https://www.livemusicpros.com/test.html

Can you see what the issue might be? Bluehost is adamant that everything is configured properly on the server. Thanks!

LlivemusicprosAug 16, 2017

I am all set. I wasn't using the public/private keys correctly and that was causing the validation issue.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard