Topic on Extension talk:ConfirmEdit

The current version of this extension is not compatible with 1.20

9
Prh47bridge (talkcontribs)

That includes the version of the extension that is bundled with 1.20.

If you set $wgCaptchaClass = 'FancyCaptcha' in your LocalSettings.php you will get an HTTP 500 error if you attempt any operation involving a captcha such as creating a new account. If you look in FancyCapthca.class.php you will see it includes a call to getWikiId. The FSFileBackend class does not have that method in 1.20, although the trunk version does. The Apache error_log confirms that the failure is due to an attempt by FancyCaptcha.class.php to call FSFileBackend::getWikiId.

I am currently using the 1.19 version of this extension with 1.20 without any problems.

143.106.157.72 (talkcontribs)

I can't seem to find a working version. I have tried downloading the latest version and 1.19 in the ConfirmEdit page and it does not work with mediaiki 1.20. Any captcha option gives me a 500 error.

Nataraj (talkcontribs)

FancyCaptcha does not work for me in MediaWiki 1.20.3. It says on text submit

 Internal error
 [41207728] 2013-03-16 07:01:45: Fatal exception of type MWException

Very sad... Can somebody fix it. I muss FancyCaptcha, and not a php developer :-(((

Nemo bis (talkcontribs)

Probably the same bug as bugzilla:46132, can you comment there please?

Nataraj (talkcontribs)

I do not know...

If you can tell me how to see MediaWiki or php Error log or something like this, I can tell you more about this error. For now only one thing I have is that message it browser. Since MediaWiki and other php scripts does not use common web server error log to report errors, I really do not know how to debug it...

Nataraj (talkcontribs)

I found the source of the problem: the source was me.

For some unknown reason in previous installation I've configured FancyCaptcha right in the extensions/ConfirmEdit/FancyCaptcha.php file and while upgrading I've replaced all my custom configuration with a default one. So nothing worked.

So there is no bug in FancyCaptcha in my case (what about Prh47bridge's case I do not know), but there is a wish requests

1. to add some more diagnostics in cases when capcha files are missing or wrong

2. May be do some sanity check on initialization, i.e. check that capcha dis exists or something, so when you run media wiki on wrong configuration you will get warning even when you are not editing anything. May be add this check to upgrade script if it is possible...

Nataraj (talkcontribs)
93.41.94.161 (talkcontribs)

I'm getting the same issue:

  [74137648] 2014-11-06 01:04:27: Fatal exception of type MWException


When I set "$wgShowExceptionDetails = true;" in LocalSettings.php, it gets expanded to:

  [3fec957a] /index.php?title=Special:UserLogin&returnto=Main+Page&type=signup Exception from line 161 of   
  /example.com/htdocs/extensions/ConfirmEdit/FancyCaptcha.class.php: Ran out of captcha images

For previous people participating in this thread, a similar error turned out to be wrong location of the images. Here, it's not the case:

  $wgCaptchaDirectory = "/tmp/captcha";
  # ls /tmp/captcha/
  image_0c30eb32_909fdf4961658cbf.png  image_4b5777ea_02ea373d0eb70a08.png  image_7c662fed_bb479185e2e52234.png 
  (...)

Any ideas what can be wrong? This is with MediaWiki 1.23.6.

Lieutenant S. Reznov (talkcontribs)
Reply to "The current version of this extension is not compatible with 1.20"