Google reCaptcha not working on the my websites Joomla 3.10.12 Topic is solved

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
igor050279
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Nov 11, 2023 10:54 am

Google reCaptcha not working on the my websites Joomla 3.10.12

Post by igor050279 » Sat Nov 11, 2023 10:57 am

Hello! Can you help me?
Google reCaptcha not working on the page registration on the all my websites (about 50 websites) Joomla 3.10.12
How find is problem?

Thanks

User avatar
Cnossos
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Mar 16, 2022 7:25 am
Contact:

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by Cnossos » Sat Nov 11, 2023 11:54 am

What kind of Recaptcha (V2, V3…) are you using?

igor050279
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Nov 11, 2023 10:54 am

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by igor050279 » Sat Nov 11, 2023 12:02 pm

I used and reCaptcha v2 and v3 - not working both

igor050279
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Nov 11, 2023 10:54 am

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by igor050279 » Sat Nov 11, 2023 12:26 pm

Cnossos wrote:
Sat Nov 11, 2023 11:54 am
What kind of Recaptcha (V2, V3…) are you using?
i used v2 and v3 - not working both

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

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

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

I'm also having the same problem.
reCaptcha v2 (with checkbox) just spins continuously.
reCaptcha v3 (with checkbox or with invisible reCaptcha) refuses to submit the form even though the badge appears.

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

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by M en J » Tue Nov 14, 2023 1:46 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.

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

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by eosfrontier » Tue Nov 14, 2023 10:11 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: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by eosfrontier » Tue Nov 14, 2023 10:18 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

irenuyam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Mon Mar 11, 2019 8:30 am

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by irenuyam » Wed Nov 15, 2023 10:31 am

eosfrontier wrote:
Tue Nov 14, 2023 10:18 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
I have the same problem as yours, reCaptcha V2 not working.
With the plugin suggested, it works now?
Thanks.

garduck
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Dec 04, 2023 10:32 am

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by garduck » Mon Dec 04, 2023 10:33 am

eosfrontier wrote:
Tue Nov 14, 2023 10:18 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
This fixed it for me. THANK YOU! :)

User avatar
sugapablo
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Feb 14, 2007 1:34 pm
Contact:

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by sugapablo » Mon Dec 04, 2023 3:46 pm

Installing the Mootools Disabler/Enabler and going to the autoenable tab and settting both of these to disabled:
Enable for article edition
Enable frontend com_users

Worked for me. Thank you. :)

umbrellax2
Joomla! Intern
Joomla! Intern
Posts: 64
Joined: Fri Apr 30, 2010 2:14 pm

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by umbrellax2 » Fri Dec 08, 2023 4:55 pm

Okay, maybe I'm dull normal but...

I installed the Mootools Enabler/Disabler, enabled it, set it to Enabled on both under Plugin, set it to Disabled for both under Autoenable.

Checked my reCaptcha plugin, re-entered the keys. Also enabled Invisible reCaptcha and entered the keys. Site is set on reCaptcha now in Global.

No luck - reCaptcha still spinning, won't submit on Password Reset.

What am I missing?

User avatar
Nidzo2203
Joomla! Explorer
Joomla! Explorer
Posts: 321
Joined: Sat Nov 21, 2009 4:52 pm
Contact:

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by Nidzo2203 » Fri Dec 08, 2023 5:11 pm

umbrellax2 wrote:
Fri Dec 08, 2023 4:55 pm
Okay, maybe I'm dull normal but...

I installed the Mootools Enabler/Disabler, enabled it, set it to Enabled on both under Plugin, set it to Disabled for both under Autoenable.

Checked my reCaptcha plugin, re-entered the keys. Also enabled Invisible reCaptcha and entered the keys. Site is set on reCaptcha now in Global.

No luck - reCaptcha still spinning, won't submit on Password Reset.

What am I missing?
Try this
viewtopic.php?f=708&t=1005373&p=3709100#p3709100

User avatar
ozneilau
Joomla! Guru
Joomla! Guru
Posts: 872
Joined: Tue Aug 04, 2009 9:05 am
Location: Tasmania, Australia
Contact:

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by ozneilau » Mon Jan 15, 2024 9:17 am

The best solution is to upgrade the MooTools files. For details, see: viewtopic.php?f=708&t=1005373&p=3709100#p3712113

readbible
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Sep 18, 2023 10:30 pm

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by readbible » Wed Jan 31, 2024 3:49 am

eosfrontier wrote:
Tue Nov 14, 2023 10:18 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
This worked for me. Thank you!

equatorsoft
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat Mar 03, 2012 4:18 pm
Location: UK

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by equatorsoft » Wed Feb 21, 2024 10:46 pm

ozneilau wrote:
Mon Jan 15, 2024 9:17 am
The best solution is to upgrade the MooTools files. For details, see: viewtopic.php?f=708&t=1005373&p=3709100#p3712113
Thank you for posting - it's February 2024, I am awaiting the move to Joomla 4, my reCAPTCHAs became endlessly spinning, and this forum post came up in a Google search.

This is the best answer to keep Joomla 3 sites going a bit longer.

Thanks!

DimSun
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Apr 22, 2024 11:11 am

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by DimSun » Mon Apr 22, 2024 11:28 am

igor050279 wrote:
Sat Nov 11, 2023 10:57 am
Hello! Can you help me?
Google reCaptcha not working on the page registration on the all my websites (about 50 websites) Joomla 3.10.12
How find is problem?

Thanks
Hello!

In file: plugins/captcha/recaptcha/recaptcha.php

In public function onInit() you need to change
this

Code: Select all

else
		{
			// Load callback first for browser compatibility
			JHtml::_('script', 'plg_captcha_recaptcha/recaptcha.min.js', array('version' => 'auto', 'relative' => true));

			$file = 'https://www.google.com/recaptcha/api.js?onload=JoomlaInitReCaptcha2&render=explicit&hl=' . JFactory::getLanguage()->getTag();
			JHtml::_('script', $file);
		}
on

Code: Select all

else
		{
			// Load callback first for browser compatibility
			$file = 'https://www.google.com/recaptcha/api.js?render=' . $pubkey;
			JHtml::_('script', $file);
		}


In public function onDisplay() you need to add the following code at the beginning of the function:

Code: Select all

$pubkey = $this->params->get('public_key', '');

		return "<script>
			grecaptcha.ready(function() {
				grecaptcha.execute('".$pubkey."', {action: 'homepage'}).then(function(token) {
					document.getElementById('g-recaptcha-response').value = token;
				});
			});
			</script>
			<input id='g-recaptcha-response' type='hidden' name='g-recaptcha-response' value=''/>";

Change keys in pugins/CAPTCHA - reCAPTCHA to v3

DimSun
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Apr 22, 2024 11:11 am

Re: Google reCaptcha not working on the my websites Joomla 3.10.12

Post by DimSun » Thu Apr 25, 2024 1:38 pm

I have virtuemart. Disabling/updating mootoo didn't help me


Post Reply

Return to “General Questions/New to Joomla! 3.x”