- Posts: 24
COMMUNITY FORUM
[SOLVED] Re: reCaptcha not working
- philingbb
- Offline
- Junior Member
Thanks - Merci. J'ai gagné du temps.
- chrissie
- Offline
- New Member
- Posts: 1
- Erik Lindquist
- Offline
- New Member
- Posts: 1
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
- Brad
- Offline
- New Member
- Posts: 2
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
- Brad
- Offline
- New Member
- Posts: 2
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
- Carrie Furness
- Offline
- New Member
- Posts: 1
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?
- EasiStudio
- Offline
- Junior Member
- Posts: 32
Many thanks this worked for me.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 :)
- Imke Philipoom
- Offline
- New Member
- Posts: 2
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.
- Imke Philipoom
- Offline
- New Member
- Posts: 2
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
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 :)