Extension talk:ReCAPTCHA

From MediaWiki.org

Jump to: navigation, search

Contents

[edit] deleted the following

I deleted the following two points from the Notes section of the page since they appear to be quite unnecessary.

  1. You will need to call ConfirmEdit in LocalSettings.php using require_once( "$IP/extensions/recaptcha/ConfirmEdit.php" ); (in addition to require_once( "$IP/extensions/recaptcha/ReCaptcha.php" );).
  2. I found the previous instruction to be false. I initially enabled ConfirmEdit, but it caused a problem with the redeclaration of a variable, so I disabled it and reCAPTCHA then worked fine, using MediaWiki 1.11.0 on Linux.


The first is not right - recaptcha.php does a require_once( "ConfirmEdit.php" ); so you clearly don't require the LocalSettings.php change. This of course makes the next statement redundant. Michael Daly 02:31, 12 October 2007 (UTC)

[edit] ReCaptcha Glitch

Hi there, I installed the ReCaptcha extension for my wiki, but now when I try to log in, I get this message:


Fatal error: Call to undefined function wfMemcKey() in /thecbg.org/wiki/extensions/recaptcha/ConfirmEdit.php on line 336

Any i deas on how to fix this? Ishmayl 15:21, 3 November 2007 (UTC)

[edit] reCAPTCHA API Key Not For Current Domain Error

I just upgraded to MediaWiki 1.11 and everything seems to be working fine but when I encounter a page that usually have a reCAPTCHA on it, it now says that the reCAPTCHA key wasn't created for the current domain, but I had been using the same API key before I upgraded and everything worked fine, anyone have any idea what can be causing this?

Fixed: Nevermind, for some reason I did indeed have to create new keys, even though before upgrading the ones I had worked fine. --BlaenkDenum 01:10, 20 November 2007 (UTC)

[edit] Support for new versions?

ConfirmEdit Works. With reCAPTCHA enabled shen saving changes on any account the following error results:

Fatal error: Cannot redeclare class SimpleCaptcha in bla/bla/bla/extensions/ConfirmEdit/ConfirmEdit_body.php on line 66

sup wit dat? —The preceding unsigned comment was added by 86.28.134.69 (talkcontribs) . Please sign your posts with ~~~~!

You're not supposed to require_once both ReCAPTCHA and ConfirmEdit in LocalSettings.php. —Emufarmers(T|C) 06:08, 12 June 2009 (UTC)

I have the same fatal error. But there is no captcha on the site when I take out require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" ); and leave require_once( "$IP/extensions/recaptcha/ReCaptcha.php" ); It also doesn't work if i leave the first require_once and take out the second. Ideas? I am using the latest versions of mediawiki, confirmedit.php, and recaptcha.

Confirming above. No captcha when I remove require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );, and fatal error when included with require_once( "$IP/extensions/recaptcha/ReCaptcha.php" );. MediaWiki 1.15.1, ConfirmEdit r50221 --FoohonPie 22:33, 9 August 2009 (UTC)
So it turns out I was wrong, I just wasn't testing properly. Works fine if you remove the ConfirmEdit require, just make sure when you test that you are including an external link(with <a> tag and all), otherwise the captcha won't be triggered. --FoohonPie 22:37, 9 August 2009 (UTC)