Skip to main content

Hikashop ReCaptcha conflicts with Joomla login

More
10 years 3 months ago #242030 by ashaw
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6.22
-- Browser(s) name and version -- : Firefox 46.0.1
-- Error-message(debug-mod must be tuned on) -- : Error
The CAPTCHA solution was incorrect

I have just imported 500 users into Joomla via csv . If the Hikashop ReCaptcha plugin v2 (2016 ver.) is enabled users cannot login to Joomla via the standard login. The message "Error The CAPTCHA solution was incorrect" is displayed. If I unpublish the Hikashop ReCaptcha plugin users CAN login! This happens with or without the built in Joomla ReCaptcha plugin being published.
Any help welcome :)

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #242065 by nicolas
Hi,

The HikaShop recaptcha plugin doesn't interact with the Joomla login. So I'm surprised that this would be the case.
During the login process of Joomla, two triggers are called in the plugins: onUserAuthenticate and onUserLogin
If you look at the code of the HikaShop recaptcha plugin, none of these triggers are present.
And of course, we're not able to reproduce the problem on our end.
I can only think that there is another plugin implementing one of these triggers on your website and that it tries to save the user data for some reason, which then triggers the onBeforeStoreUser trigger which then calls the recaptcha plugin and in that case the recaptcha plugin thinks that there is a new registration going on and checks the captcha solution.

Please try to deactivate the other plugins one by one with the recaptcha plugin to see which one causes the problem. It should be either a plugin of the groups authenticate, user or system.
The following user(s) said Thank You: ashaw

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #243393 by ashaw
Thanks Nicolas.....I have been a bit busy on other projects but I will follow your advice and see if I can identify a plugin which is conflicting.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #243397 by nicolas
@marcusding
You need to deactivate the Joomla ReCaptcha plugin and Captcha setting in the user manager settings page, as they are not compatible with HikaShop.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #243475 by ashaw

nicolas wrote: @marcusding
You need to deactivate the Joomla ReCaptcha plugin and Captcha setting in the user manager settings page, as they are not compatible with HikaShop.

Hi Nicolas,
I am a little confused now. Does this apply to my original post as well as the one from @marcusding?

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #243482 by nicolas
Hi,

@ashaw No it's not for your case which is completely different.
In your case, it's a user synchronization problem.
Check that the HikaShop user synchronization plugin is enabled and click on the "check database" button of the HikaShop configuration.
If you still have the problem after that, please try to deactivate the other plugins one by one with the recaptcha plugin to see which one causes the problem. It should be either a plugin of the groups authenticate, user or system.

Please Log in or Create an account to join the conversation.

Time to create page: 0.185 seconds
Powered by Kunena Forum