Extension

Archived
Forum
(read-only)

reCAPTCHA v2

ExpressionEngine 1.x, ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6

Back to this add-on's main page
View Other Add-ons From Denik

     

Google Recaptcha is not displaying

Bug Report

Wired
Wired

Google Recaptcha is not displaying with Freeform even after setting sitekey and secret key.

 

Denik
# 1
Developer
Denik

Hello,
Are there any errors in the console log of your browser?

Please check follow:
1. Disable any other captcha extensions.
2. Are JS-part work? Check your JavaScript code on conflicts with reCaptcha scripts.

Best regards!

Wired
# 2
Wired

I am having a multisite. When I install recaptcha v2 addon, I am getting the below error on my secondary sites.

error : Unable to load the following extension file: ext.recaptchav2.php

There is no error in the console - I haven’t added any javascript code anywhere.

All I have done is installed the addon -> added the recaptcha key

Please let me know if I need to added anything else.

I need to implement the Recaptcha with Freeform.

Denik
# 3
Developer
Denik

Hello,

Google Recaptcha not displaying on all sites (Primary and Secondaries)?

What version of the following are you using:
- ExpressionEngine
- FreeForm
- reCaptcha v2
?

It would be easier to take a look myself. Please send SuperAdmin and FTP login credentials to hi at eecoding dot com if you can.

Wired
# 4
Wired

Hello,

Google Recaptcha not displaying on all sites (Primary and Secondaries)? No

What version of the following are you using:
- ExpressionEngine :ExpressionEngine 3.5.6
- FreeForm : 5.1.2
- reCaptcha v2 :1.0.4
?

It would be easier to take a look myself. Please send SuperAdmin and FTP login credentials to hi at eecoding dot com if you can. // I will send the details shortly.

Denik
# 5
Developer
Denik

Summary: the problem is in conflict with the Gmaps extension (it looks like it doesn’t use the documented hook sharing method) and in script dependencies in child sites.
I provided detailed report by mail.

Best regards!

ejaeDesign
# 6
ejaeDesign

Regretfully, I’m having the same issue. I do have Gmaps module installed. What can we do to avoid any conflict?

Running EE 2.9.3 with Gmaps 4.3.3 and latest version of reCaptcha 1.0.5.

Thanks!

Denik
# 7
Developer
Denik

Hello,

As I sayed, I suppose Gmaps does not use the documented hook sharing method (https://docs.expressionengine.com/v3/development/extensions.html#this-extensions-last-call).
In the source code, it should look something like this: http://prntscr.com/ml949n

The solution could be something from:
1. Send a bug report to the Gmaps developer
2. Uninstall Gmaps extension if you not use them
3. Use the option to add the init script for manual reCaptcha v2: http://prntscr.com/ml9635 + global variable {recaptcha:script} for JS part or {recaptcha:script:html} for HTML part.

Best regards!