Keyword

[SOLVED] Re: reCaptcha not working

More
11 years 9 months ago #64529 by philingbb
Replied by philingbb on topic Re: reCaptcha not working
Wow! very good explanation. It works
Thanks - Merci. J'ai gagné du temps.
The topic has been locked.
More
11 years 9 months ago #64530 by chrissie
Replied by chrissie on topic Re: reCaptcha not working
thanks a lot. it helped! well explained also. :)
The topic has been locked.
More
11 years 8 months ago #64531 by Erik Lindquist
Replied by Erik Lindquist on topic Re: reCaptcha not working
I still get the error:

I have installed:

1. Joomla 2.5.8
2. K2 2.6.5
3. LoginRadius to use social media to connect,'

When I login through LoginRadius and one of the social media connectors I get the error:
"The words you typed did not match the ones displayed. Please try again"

I have followed the above instructions.
1. Disabled the Captcha ReCaptcha Extension
2. Disabled the Captcha ReCaptcha Plugin
3. Set User Configuration - Captcha "None selected"
4. Set K2 Parameters for Comments to Enable reCaptcha in Comments to "Yes"
5. Copied and Pasted Keys to K2 Advanced Parameters
6. Enabled reCaptcha on Registration Form
7.Enable StopForumSpam.com integration on the user registration form = Yes

However, I still get the message:
"The words you typed did not match the ones displayed. Please try again"

Any help would be GREAT.

Thanks,

Erik Lindquist
The topic has been locked.
More
11 years 8 months ago #64532 by Brad
Replied by Brad on topic Re: reCaptcha not working
Having a similar issue here.

Joomla 3.0.3
K2 2.6.5

Disabled the system default Captcha - ReCaptcha plugin.
Set K2 to load a local copy of jQuery v1.8.2.
Changed Captcha setting in Users Manager Options to '- None Selected -'.
Updated public and private keys in the K2 -> advanced ->anti-spam settings section and set enable reCaptcha to 'Yes'.

The captcha to solve appears in the comment section as expected.

Entering a comment and leaving the captcha solution empty results in the message 'The words you typed did not match the ones displayed. Please try again.'

Entering any solution (correct or not) and submitting does nothing.

I've confirmed that my public and private keys are for the domain in question. Similarly, I am not getting any scripting in the browser debugger for Chrome or IE10.

Anyone have any suggestions?


Brad
The topic has been locked.
More
11 years 8 months ago #64533 by Brad
Replied by Brad on topic Re: reCaptcha not working
So, having discovered a similar issue in form submissions using the system recaptcha plugin, I managed to figure out my own issue.

It seems that recaptcha requests via IPv6 have some sort of issue going on, so any box with a v6 address is likely going to have socket errors trying to verify a captcha response.

The solution to this is to either remove IPv6 from the machine running Joomla, which isn't terribly optimal, or hack any references in the recaptcha libraries to not make requests via IPv6.

This can be done by changing the fsockopen call made in /administrator/components/com_k2/lib/recaptchalib.php on line 91

from
...@fsockopen($host, $port,...
to
...@fsockopen(gethostbyname($host), $port,...

Similarly, the default system recaptcha plugin at /plugins/captcha/recaptcha/recaptcha.php can be changed on line 189.

As gethostbyname() doesn't support IPv6, it gets around the problem.

Probably not the best solution, but until requests made using IPv6 are reliable, this will work until someone goes about adding an actual option to determine what protocol(s) the request will use.

For what it's worth, 3.0.2 and 2.6.5 appear to be just fine with both recaptcha plugins (system / k2) enabled.


Brad
The topic has been locked.
More
11 years 7 months ago #64534 by Carrie Furness
Replied by Carrie Furness on topic Re: reCaptcha not working
Does anyone have a fix for this yet?

I tried your idea Brad, and it still won't work. As it stands now, no one can register on my site because of this.

Odd thing is, it worked last week and the only thing I have done is instal JFBConnect. I was actually testing this out and decided to make a test account when I ran into this issue. Problem was, I could not get 'facebook login' to work, but I did figure out that if I disabled K2 captcha it worked fine. Problem with that is, I would end up with this message:
Empty solution not allowed.

So I followed the steps in the other post. and this is what I end up with:
The words you typed did not match the ones displayed. Please try again.

Is anyone with this problem using JFBConnect?
The topic has been locked.
More
11 years 7 months ago #64535 by EasiStudio
Replied by EasiStudio on topic Re: reCaptcha not working

Khalil wrote: As-salamu alaykum,
I have resolved the problem :)
You don't have to disable anything, just to get the Captcha - ReCaptcha plugin working on K2 comment you have to follow these steps:

1 - ON www.google.com/recaptcha Go to
- USE reCAPTCHA ON YOUR SITE
- ADD Gmail account if you don't have, or log in if you have.
- Go MY ACCOUNT -> + Add a New Site
- Create a reCAPTCHA key -> ADD your Domain -> Create a Key.
- Copy (Public Key and then you will copy the Private Key)

2 - On your admin panel go to:
- Component -> K2 -> Parameters -> Comments-> Active reCaptcha -> Yes.
- Go to Component -> K2 -> Parameters -> Advanced -> Anti-spam.
- Past the two Key that you have from Google. (Public and Private Key)
-> Refresh you site and you got it ^_^

IF YOU STILL DON'T HAVE THE CAPTCHA WORKING:
Make sure you have enabled the K2 plugin and Comments on the Category options.
That should be resolving your problem.

- IF, IF that is still not working:
- Go to your site
- Click " F12 " on Google Chrom / Control+F12 (Firebugs, Firefox)
- Refresh your web site
- If you have a JavaScript errors try to find what is your problems and solutions.
- Last thing if you don't have any JS problem, You should re-install joomla xD

That is all
Thank you, your brother from Tunisia :)

Many thanks this worked for me.
The topic has been locked.
More
11 years 6 months ago #64536 by Imke Philipoom
Replied by Imke Philipoom on topic Re: reCaptcha not working

Carrie Furness wrote: Does anyone have a fix for this yet?
I tried your idea Brad, and it still won't work. As it stands now, no one can register on my site because of this.


Same thing here. I haven't been able to make it work: Any way I fill in the captcha it will still tell me it's wrong. The only thing I can think of now is to uninstall K2 :-( because I need users to be able to register. Still, I hope someone finds a solution for this problem.
The topic has been locked.
More
11 years 6 months ago #64537 by Imke Philipoom
Replied by Imke Philipoom on topic Re: reCaptcha not working
Hi, uninstalling K2 worked. Incidentally it also solved some of my other issues that I hadn't connected to K2, like my registration form being in English when it should've been in Dutch...
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 6 months ago #64538 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: reCaptcha not working
Hello Imke, your registration page was not an issue, if you uploaded the Dutch translation for K2 it would have been in Dutch.

As far for registrations and reCaptcha As-salamu alaykum has posted a very thorough step by step solution.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.

Powered by Kunena Forum