Keyword

[SOLVED] Re: reCaptcha not working

More
12 years 4 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
12 years 4 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
12 years 3 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
12 years 3 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
12 years 3 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
12 years 3 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
12 years 2 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
12 years 1 month 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
12 years 1 month 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
12 years 1 month 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.
The topic has been locked.
  • jorge mejia gallegos
  • jorge mejia gallegos's Avatar
  • Offline
  • Junior Member
More
12 years 3 weeks ago #64539 by jorge mejia gallegos
Replied by jorge mejia gallegos on topic Re: reCaptcha not working
Disablingg the recaptcha plugin does make the K2 recaptcha work... BUT I also need the recaptcha plugin to be enabled to work with other components that I have on the site (Mosets Tree and others)

How can recaptcha work for all components?
The topic has been locked.
More
11 years 11 months ago #64540 by B.A. Umberger
Replied by B.A. Umberger on topic [SOLVED] Re: reCaptcha not working
I figured out what the issue was in my case and maybe for several other too ...

There are FOUR areas where reCaptcha is configured in Joomla/K2 installation ... most everyone has been only adjusting the settings from THREE areas, the last setting is sooooo tucked away many of us missed it.

Here is a revised set of instructions for getting reCaptcha to work with Joomla and K2 ...

- Goto www.google.com/recaptcha and get your Public Key and Private Keys.
- Goto Joomla Admin > Plug-in Manager > Captcha - ReCaptcha and enter your Keys and ENABLE Plug-in.
- Goto Joomla Admin > Global Configuration > Default Captcha and set it to use "Captcha - ReCaptcha".
- Goto Joomla Admin > Components > K2 > Parameters > Comments > Anti-spam protection and set it to use "Google reCaptcha" (or Both), plus ENABLE "reCaptcha for registered users".
- Goto Joomla Admin > Components > K2 > Parameters > Advanced > down to "Anti-spam Settings" and enter your Keys again, plus set "Enable reCaptcha on registration form" to YES.

Many of us have done those steps several times trying to figure out the right combination, however there is one final step, mentioned earlier in the forum, a conflict with the default reCaptcha in Joomla vs. K2. The answer to get it to work is this ...

- Goto Joomla Admin > User Manager > Options (button) > Captcha and set it to use "NONE". This will turn-off the default user registration reCaptcha loading in the background behind K2 and causing the conflict.

End of Madness! ... Good luck everyone ... :woohoo:

Umby
The topic has been locked.
More
11 years 6 months ago #64541 by Tanto Soft
Replied by Tanto Soft on topic Re: reCaptcha not working
Google has changed javascript URL. This affects both Joomla reCaptcha and K2. To make it to work I did this:

Joomla plugin:
Edit plugins/captcha/recaptcha/recaptcha.php and change URL
Line 24: const RECAPTCHA_API_SERVER = "api.recaptcha.net/recaptcha/api";
Save file.


K2:
Edit components/com_k2/views/item/view.html.php and change URL
Line 168: change URL to "api.recaptcha.net/recaptcha/api/js/recaptcha_ajax.js"
Save file.

Done! Working for me now!
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 6 months ago #64542 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: reCaptcha not working
Hello Tanto Soft,

This has been fixed in the newer versions of K2. For older ones your fix does the trick :)
The topic has been locked.
More
11 years 6 months ago #64543 by Zehnder
Replied by Zehnder on topic Re: reCaptcha not working
Hi, I tried more or less all the suggestions from above, but I didn't work.

Funny thing is, that in the beginning it worked without any problems. But I think after I switched my website to german the images stopped to appear. Are there any known issues with the languages and the recaptcha function in k2? If no, has anyone an idea how to solve the problem? Would it help if I show you the website with the problem? Thanks a lot for your efforts!
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 6 months ago #64544 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: reCaptcha not working
I don't think that is the issue. Which version of Joomla! and K2 are you using?
The topic has been locked.
More
11 years 5 months ago #64545 by Zoran Kanti-Paul
Replied by Zoran Kanti-Paul on topic Re: reCaptcha not working
I cannot get this working either.

I get told that the words I have entered are wrong every time.

I have settings on my Joomla 2.5 as above.

I have tried as registered and unregistered users, no difference. IN my case I really only want my site users have the ability to post comments. And I would love them to use recaptcha.
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #64546 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: reCaptcha not working
You have deactivated the default Joomla! reCaptcha plugins, right?

You can deactivate caching as well to make sure this not a caching issue.
Finally are you using any third party caching plugins?
The topic has been locked.
More
11 years 5 months ago #64547 by Zoran Kanti-Paul
Replied by Zoran Kanti-Paul on topic Re: reCaptcha not working

Krikor Boghossian wrote: You have deactivated the default Joomla! reCaptcha plugins, right?

You can deactivate caching as well to make sure this not a caching issue.
Finally are you using any third party caching plugins?


No 3rd party caching plugins. Disabled caching still the same problem.
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #64548 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: reCaptcha not working
Are you using the latest version of K2? Also you are not behind a CDN by any chance?

Did you try the solution of B.A. Umberger ?
The topic has been locked.

Powered by Kunena Forum