- Posts: 2
COMMUNITY FORUM
[SOLVED] Re: reCaptcha not working
- Lisa Renshaw
-
Topic Author
- Offline
- New Member
It appears I'm not the only one with this problem... can someone please answer this post.
- Steve Scott
-
- Offline
- New Member
The new version of Joomla - 2.5 has a captcha form element built in - which is great. However, if you install K2 (2.5.6) this also uses the same ReCaptcha element. Unless you get the settings just right the two will conflict in strange ways. In order for the system to work you need to follow these three steps:
- Disable the Captcha -ReCaptcha component in the Joomla Component Manager
- Go to the User Manager and then to the Options (Users Configuration) and set Captcha to be "none selected"
- Go to the K2 configuration and enable Captcha and enter your public and private keys.
If you don't follow all three steps, then both captcha's will be used but only one will be displayed (the K2 one I think) and you will get error messages similar to this:
"The words you typed did not match the ones displayed. Please try again."
Or if you disable just the K2 Captcha then you get this error message:
Empty solution not allowed.
- Theo Prinssen
-
- Offline
- New Member
- Posts: 15
I've got the same problem and followed your instruction but still the re-captcha is not showing.
You say: Disable the Captcha -ReCaptcha component in the Joomla Component Manager.
But in the component manager I don't see something with the re-captcha....so I think you ment the plugin manager.
However......re-chaptcha is still not working.
Any other solutions or suggestions?
Regards, The
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
I disabled the captacha plugin.
Enabled and Pasted in the recaptcha keys into the K2 / Parameters / Advanced / Anti-spam Settings
But it is not showing up
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
anyone have any suggestions?
- Gerry Go
-
- Offline
- New Member
- Posts: 1
- Khalil
-
- Offline
- New Member
- Posts: 1
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 :)
- Teemu Peemu
-
- Offline
- New Member
- Posts: 14
So I just created global keys and works fine. I even tried to enable the plugin back on and still works :P
- Robert Kelly
-
- Offline
- New Member
- Posts: 2
- danai
-
- Offline
- New Member
- Posts: 4
Thank you very much !
This is the only that works in k2!
- philingbb
-
- Offline
- Junior Member
- Posts: 24
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 :)