Keyword

Captcha not showing up

  • mericksen
  • mericksen's Avatar Topic Author
  • Offline
  • New Member
More
11 years 5 months ago #121598 by mericksen
Captcha not showing up was created by mericksen
I am using Joomla 2.5.16 and K2 2.55. Where the captcha is supposed to show up it says enter the two words that you see below, but no words show up. I have searched many posts to find a solution, but nothing has worked so far. I have tried using local jquery instead of remote, 1.71. I have tried changing the link to google as some as suggested in the captcha.php. Nothing has worked so far.

When I go to the global config settings and I click on the drop down I see two recaptcha options, one that just says recaptcha and the other says Captcha- recaptcha. Everytime I try to make the Captcha-recaptcha as the one that I use it always just goes to the one that only says recaptcha. Not sure if this could be my problem. I searched my plugins and I only see the Captcha-recaptcha plugin and nothing for the other one listed.
Any help would be appreciated thanks

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

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 5 months ago #121599 by Yiota
Replied by Yiota on topic Re: Captcha not showing up
There seems to be a bug in Joomla's plugin for re-captcha in Joomla 2.5.16.
Make the following changes to

plugins/captcha/recaptcha/recaptcha.php

Replace this: (line 24)

const RECAPTCHA_API_SERVER = "api.recaptcha.net";

with this:

const RECAPTCHA_API_SERVER = "www.google.com/recaptcha/api";

This (line 26): const RECAPTCHA_VERIFY_SERVER = "api-verify.recaptcha.net";
with this: const RECAPTCHA_VERIFY_SERVER = "www.google.com";

and this (line 118): $response = $this->_recaptcha_http_post(self::RECAPTCHA_VERIFY_SERVER, "/verify",

with this: $response = $this->_recaptcha_http_post(self::RECAPTCHA_VERIFY_SERVER, "/recaptcha/api/verify",


Let me know if it worked.

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

More
10 years 8 months ago - 10 years 8 months ago #121600 by smching
Replied by smching on topic Re: Captcha not showing up
I'm using Joomla 2.5.6 & K2 2.5.7
It won't work using your method.

If upgrade K2 to 2.6.5 (without modify the recaptcha.php file), it shows the two words correctly, but can't get reCaptcha to work with registering a new account.

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

More
10 years 8 months ago #121601 by Lefteris
Replied by Lefteris on topic Re: Captcha not showing up
@smching

The versions of Joomla! and K2 you are using are outdated. You need to:
1. Update Joomla! to 2.5.24
2. Update K2 to 2.6.8.

In any case remember to backup your site first.

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


Powered by Kunena Forum