Forums

ReCaptcha is not displayed

Repitol 11 Jul, 2017
Hi the team
I can't find why the recaptcha doesn't display anything on my website
I followed the tutorial video but no way.
Could you check what's wrong with my settings ?

event : custom code with {ReCaptcha}
action :
On load and before any other action : Load ReCaptcha
On submit and before any other action : Check ReCaptcha / EventLoop on fail

I didn't change the public and private keys, using the default ones, not the domain ones
:(
See the website registration

Thanks for your help
GreyHead 11 Jul, 2017
Hi Repitol,

There's an error showing up on the page: Mixed Content: "The page at 'https://www.___.com/index.php?option=com_chronoforms&chronoform=enregistrement' was loaded over HTTPS, but requested an insecure script 'http://www.google.com/recaptcha/api/challenge?k=6LfNoAUAAAAAAKi8QZmjv-QHOvlGtyh509SG3FzG'. This request has been blocked; the content must be served over HTTPS."

It looks as though you need to switch the ReCaptcha to use the secure Google url.

Bob
Repitol 11 Jul, 2017
Right Bob !
I modified the "LoadReCaptcha" action / advanced - 1rst Url (ReCaptcha server)
for https
and it works now

thanks
Repitol 17 Jul, 2017
Hi Bob,
the recaptcha is well displayed now but not working correctly (whatever we try, the code never match)
Do I have to change the default private and public key with the ones generated by Google recaptcha for the domain ?
thanks
Repitol 17 Jul, 2017
I tried with the Recaptcha generated for the domain, but same problem
Here's the link to the form
link
GreyHead 17 Jul, 2017
Hi Repitol,

I can't see much from the front-end - please take a Form Backup using the icon in the Forms Manager and post it here and I'll take a closer look.

Bob
Repitol 17 Jul, 2017
ok Form is attached

This is private content

GreyHead 17 Jul, 2017
HI Repitol,

It appears to work OK when I add my own Google keys see here

Bob
Repitol 17 Jul, 2017
yes indeed
so
1 ) I don't have the good public and private keys ( I use the domain ones) ?
2 ) it fails under https ?
Repitol 18 Jul, 2017
Hi Bob,
this is the error message Recaptcha displays on the https website
reCAPTCHA a renvoyé : invalid-request-cookie

Does it gives you a clue ?
Repitol 18 Jul, 2017
Bob I think I know where the problem is :

CF V4 only accepts Recaptcha V1
but Google Recaptcha doesn't use this version anymore, only V2
so no way to confirm the V1 code on Google API

Solution :
- use CF V5 if possible (the website is still under Joomla 1.5)
- or (what I did) : disable Registration with CF and recaptcha

Note : In My CF V4 version, when I delete recaptcha (On Load) or (On Submit)
it deletes all On Load / On Submit actions. Weird...
GreyHead 18 Jul, 2017
Hi Repitol,

The correct answer is to upgrade the site as Joomla! 1.5 hasn't been supported by Joomla! for quite a while now.

I don't know exactly want the problem is - I tested it on Joomla! 3 and the ReCaptcha works OK so it isn't the withdrawn support. It may be the combo of Joomla! 1.5 and CFv4 and ReCaptcha v1 falls down somewhere.

I suggest that you switch to use another of the Anti-Spam Captchas in CF - that's probably the simplest work-around.

Bob
Repitol 18 Jul, 2017
Yep, I know about that Joomla version. Upgrade is on the wishlist for this summer
Whatever thanks for your help Bob !
;)
This topic is locked and no more replies can be posted.