Joomla 3 and Recaptcha v2 Topic is solved

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
a2zcs
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Thu Dec 06, 2012 3:42 am
Location: Oakland, Maine
Contact:

Joomla 3 and Recaptcha v2

Post by a2zcs » Fri Nov 10, 2023 8:56 pm

Hi,
All of a sudden it seems that all of the Recaptchas are not completing on the Joomla 3 sites, they just sit there and spin. Anyone know a fix for this, other than upgrading to Joomla 4? The later will be done eventually.

MojaveTPS
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Nov 11, 2023 7:05 am

Re: Joomla 3 and Recaptcha v2

Post by MojaveTPS » Sat Nov 11, 2023 7:16 am

Having the exact same issue here all of a sudden also on Nov 10, 2023. Recaptchas are not completing (indefinate spinning wheel).

Does anyone know of a fix ASAP also other than upgrading to Joomla 4? The later will also be done eventually.

Selecting "Submit" (while it's indefinitely spinning) on the form(s) the following error appears:

Error
RSFP_RECAPTCHAV2_invalid_input_response (RSFP looks to be "RS Form Pro", which is in use)

gingerweb
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Aug 31, 2014 9:36 pm

Re: Joomla 3 and Recaptcha v2

Post by gingerweb » Sat Nov 11, 2023 3:30 pm

same here too :-(

lucmook
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Nov 21, 2017 7:26 pm

Re: Joomla 3 and Recaptcha v2

Post by lucmook » Sat Nov 11, 2023 3:41 pm

same problem here on several Joomla 3x websites on my server but not all :eek:

gsmela
Joomla! Explorer
Joomla! Explorer
Posts: 289
Joined: Thu Jun 10, 2010 12:38 pm
Contact:

Re: Joomla 3 and Recaptcha v2

Post by gsmela » Sat Nov 11, 2023 8:38 pm

I noticed this with Recaptcha 2 & 3 - and switched to hcaptcha on those sites...

ElNicholls
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Mar 14, 2013 12:35 pm

Re: Joomla 3 and Recaptcha v2

Post by ElNicholls » Mon Nov 13, 2023 1:21 am

Same problem here on multiple Joomla 3x websites.

ElNicholls
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Mar 14, 2013 12:35 pm

Re: Joomla 3 and Recaptcha v2

Post by ElNicholls » Mon Nov 13, 2023 5:12 am

Is anyone using Rocket theme for their template on sites with this problem? Seems to be all Rocket theme template sites to me.

gingerweb
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Aug 31, 2014 9:36 pm

Re: Joomla 3 and Recaptcha v2

Post by gingerweb » Mon Nov 13, 2023 8:10 am

It isnt just RT it is 90% of my 100+ J3 sites, switching to Recaptcha v3 or hcaptcha appears to be the only fix

eosfrontier
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Mon Nov 13, 2023 10:44 am

Re: Joomla 3 and Recaptcha v2

Post by eosfrontier » Mon Nov 13, 2023 10:45 am

@gingerweb can you please explain which plugin you mean when you say "Switch to Recaptcha v3"?

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9747
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Joomla 3 and Recaptcha v2

Post by AMurray » Mon Nov 13, 2023 10:48 am

You could also simply use Google's code snippet and copy that in directly and not use a plugin at all.
Regards - A Murray
General Support Moderator

gingerweb
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Aug 31, 2014 9:36 pm

Re: Joomla 3 and Recaptcha v2

Post by gingerweb » Mon Nov 13, 2023 10:57 am

eosfrontier wrote:
Mon Nov 13, 2023 10:45 am
@gingerweb can you please explain which plugin you mean when you say "Switch to Recaptcha v3"?
I have lots of different scenarios amidst all my sites but so far whilst fixing i have found:

1. hcaptcha.com is working fine on all J3 standard contact forms in place of recaptcha v2 so switch to this is easy and free.
2. For more detailed forms I use RS Forms Pro ( https://www.rsjoomla.com/joomla-extensi ... -form.html ) for most of the others where you can use hcaptcha but also they now have there own "Hashcash Honeypot" must be on latest version to see this, and that is simple to setup, doesnt need any site keys so thats a few extra steps less.
3. I have also switched some of these in RSforms pro to recaptcha 3 which works on some sites as long as mootools is turned off.

eosfrontier
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Mon Nov 13, 2023 10:44 am

Re: Joomla 3 and Recaptcha v2

Post by eosfrontier » Mon Nov 13, 2023 12:00 pm

@gingerweb - Are you not using ReCaptcha for the user registration/forgotten password pages?

sababer9
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Tue Jun 07, 2011 10:36 am

Re: Joomla 3 and Recaptcha v2

Post by sababer9 » Mon Nov 13, 2023 1:29 pm

Same problem with me. Still debugging the problem which looks like some kind of iframe or cookie issue.

mark_c
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Nov 13, 2023 2:36 pm

Re: Joomla 3 and Recaptcha v2

Post by mark_c » Mon Nov 13, 2023 2:41 pm

Same thing happening. Interestingly enough the forms on our pages using Gridbox instead of standard Joomla articles were not affected. Switching the rest of the forms over to hCaptcha in the meantime.

M en J
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Thu Dec 06, 2018 9:56 pm

Re: Joomla 3 and Recaptcha v2

Post by M en J » Tue Nov 14, 2023 1:44 am

After digging for a few days I found a solution that worked for me.
Install the Mootools Disabler/Enabler from https://extensions.joomla.org/extension ... r-disabler and enable the plugin. Just leave the defaults and see if it works for you before you start fiddling around. I didn't need to adjust anything.

By the way: it is not Breezing Forms that is in error here. If you are using RSForms, the same thing will happen. The problem is that Google doesn't accept the mootools anymore. If your site is loading the mootools it will prevent recaptcha from working.

mark_c
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Nov 13, 2023 2:36 pm

Re: Joomla 3 and Recaptcha v2

Post by mark_c » Tue Nov 14, 2023 6:51 am

Oooh, I'll definitely try that out, thanks M en J. I had planned to try disabling all the scripts one at a time to see if I could narrow down what it was. This isn't the first time that I've had an issue as a result of mootools either. I don't recall what exactly it was last time, but I'm positive it was the cause!

simplybrf
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Mar 02, 2021 10:30 am

Re: Joomla 3 and Recaptcha v2

Post by simplybrf » Tue Nov 14, 2023 10:38 am

Same problem here with Joomla 3 and Recaptcha 2. Does anyone have a solution?

sababer9
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Tue Jun 07, 2011 10:36 am

Re: Joomla 3 and Recaptcha v2

Post by sababer9 » Tue Nov 14, 2023 10:41 am

M en J wrote:
Tue Nov 14, 2023 1:44 am
After digging for a few days I found a solution that worked for me.
Install the Mootools Disabler/Enabler from https://extensions.joomla.org/extension ... r-disabler and enable the plugin. Just leave the defaults and see if it works for you before you start fiddling around. I didn't need to adjust anything.

By the way: it is not Breezing Forms that is in error here. If you are using RSForms, the same thing will happen. The problem is that Google doesn't accept the mootools anymore. If your site is loading the mootools it will prevent recaptcha from working.
Awesome work M en J!!!
Though I will have to find out slightly different solution where both MooTools and reCaptcha can live together.

gsmela
Joomla! Explorer
Joomla! Explorer
Posts: 289
Joined: Thu Jun 10, 2010 12:38 pm
Contact:

Re: Joomla 3 and Recaptcha v2

Post by gsmela » Tue Nov 14, 2023 1:48 pm

An article https://www.rsjoomla.com/support/docume ... error.html on the RSJoomla site explains the MooTools issue.

eosfrontier
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Mon Nov 13, 2023 10:44 am

Re: Joomla 3 and Recaptcha v2

Post by eosfrontier » Tue Nov 14, 2023 10:13 pm

That didn't fix it for me on user registration/forgotten password forms.

eosfrontier
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Mon Nov 13, 2023 10:44 am

Re: Joomla 3 and Recaptcha v2

Post by eosfrontier » Tue Nov 14, 2023 10:17 pm

OK I figured it out. In addition to enabling the plugin, you need to go to the autoenable tab and set both of these to disabled:
Enable for article edition
Enable frontend com_users

webnanny
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue May 16, 2017 7:21 pm

Re: Joomla 3 and Recaptcha v2

Post by webnanny » Sat Nov 18, 2023 2:52 pm

Same problem on about 10 of my joomla.3 sites on 2 servers. All are using recaptcha v.2 on contact email forms only, except for one that also has Eshop in use.

I tried hCaptcha on one site. I thought I had done the installation OK but the captcha is not showing up on the email form, just an error message "Captcha plugin not set or not found." I messed up somewhere.

The lady with the Eshop site is desparate because it's holiday shopping season. I put a notice on her frontpage advising everyone of the problem and telling them to email her directly with a list of the products they wanted to buy...

I don't know if this is part of the same issue but my own J3 site disappeared altogether, first the admin side and a few days later the public side. Code 500 or just a blank page appears. It's all still there on the cpanel file manager.

If any one has any advice on the hcaptcha issue I'd appreciate it. Their support is on github and so far no response to my post yesterday.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24986
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Joomla 3 and Recaptcha v2

Post by pe7er » Sat Nov 18, 2023 4:08 pm

webnanny wrote:
Sat Nov 18, 2023 2:52 pm
I tried hCaptcha on one site. I thought I had done the installation OK but the captcha is not showing up on the email form, just an error message "Captcha plugin not set or not found." I messed up somewhere.
Welcome to Joomla forum!

Which hCaptcha plugin did you use?
Did you use https://extensions.joomla.org/extension/hcaptcha/ ?

I've just added the hCaptcha plugin for Joomla 4 (latest version 1.4.2) to a Joomla 4 site and did not experience any issues.
  • Did you configure the "CAPTCHA - hCaptcha" plugin correctly? Did you copy the hCaptcha "Site Key" to the "Site Key" field and the "Secret key" to the "Secret key" field?
  • Did you change the Global Configuration of your site?
    Global Configuration > [Site] > Default Captcha: "CAPTCHA - hCaptcha"
webnanny wrote:
Sat Nov 18, 2023 2:52 pm
If any one has any advice on the hcaptcha issue I'd appreciate it. Their support is on github and so far no response to my post yesterday.
Considering that hCaptcha is a free plugin and that people in the Joomla community live in different time zones, what is your expectation about support and the time your support question should be answered?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

ankurjainitsoft
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Apr 10, 2023 3:01 pm

Re: Joomla 3 and Recaptcha v2

Post by ankurjainitsoft » Sun Nov 19, 2023 7:00 pm

does anyone have any luck on this,
I am also facing same issue where recaptcha is spinning on different J3 multiple websites,
I tried fresh installation of J3 on same server with new recaptcha keys and it is working fine there.

I tried "M en J"'s solution but that didn't work for me.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24986
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Joomla 3 and Recaptcha v2

Post by pe7er » Sun Nov 19, 2023 7:03 pm

ankurjainitsoft wrote:
Sun Nov 19, 2023 7:00 pm
I am also facing same issue where recaptcha is spinning on different J3 multiple websites,
Could you check if those sites use Mootools?
(check the HTML source of the page to see if any mootools javascript files are loaded)
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

ankurjainitsoft
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Apr 10, 2023 3:01 pm

Re: Joomla 3 and Recaptcha v2

Post by ankurjainitsoft » Mon Nov 20, 2023 6:54 am

pe7er wrote:
Sun Nov 19, 2023 7:03 pm
ankurjainitsoft wrote:
Sun Nov 19, 2023 7:00 pm
I am also facing same issue where recaptcha is spinning on different J3 multiple websites,
Could you check if those sites use Mootools?
(check the HTML source of the page to see if any mootools javascript files are loaded)
Hi @pe7er,

Yes i have checked and mootools is there,
I tried by disabling mootools and recaptcha now is working fine,
but i don't think it is the good solution, as website other plugins, components or modules are using it,
I tried fresh installation of "Joomla! 3.10.0 Stable" and recaptcha is working fine there.
did anyone checked this?


Regards
Ankur Jain

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24986
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Joomla 3 and Recaptcha v2

Post by pe7er » Mon Nov 20, 2023 8:27 am

ankurjainitsoft wrote:
Mon Nov 20, 2023 6:54 am
I tried by disabling mootools and recaptcha now is working fine,
but i don't think it is the good solution, as website other plugins, components or modules are using it,
The latest stable release of Mootools was almost 8 years ago, in January 2016.
There haven't been any updates ever since: https://github.com/mootools/mootools-core
3rd party extensions that still use Mootools are IMHO a bit outdated.
I would look for replacements.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

ondevio
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Nov 22, 2023 11:25 am

Re: Joomla 3 and Recaptcha v2

Post by ondevio » Wed Nov 22, 2023 11:27 am

Hello everyone,

Google reCaptcha v2 keeps loading forever upon clicking it when used in Joomla 3 in combination with Breezing Forms.

We tried different things, like the MooTools enabled/disabler plugin, but it only worked when I edited "./libraries/cms/html/behavior.php" and commented out line 63 to remove MooTools.

```js
// Commented-out to make Google reCaptcha work again
// JHtml::_('script', 'system/mootools-' . $type . '.js', array('version' => 'auto', 'relative' => true, 'detectDebug' => $debug));
```

Cheers,

Mariano.

simplybrf
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Mar 02, 2021 10:30 am

Re: Joomla 3 and Recaptcha v2

Post by simplybrf » Wed Nov 22, 2023 1:05 pm

Thanks Mariano!

Yes, it finally worked.
I commented out line 63 to remove Mootools in "./libraries/cms/html/behavior.php" and now Recaptcha works again!!

simplybrf
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Mar 02, 2021 10:30 am

Re: Joomla 3 and Recaptcha v2

Post by simplybrf » Thu Nov 23, 2023 11:53 am

But I discovered disabling Mootools created other problems.
I lost some important tabs for options in the editing view


Post Reply

Return to “Administration Joomla! 3.x”