Topic on Extension talk:ConfirmEdit

Fatal error when I try "Log in / create account"

13
Unikum~mediawikiwiki (talkcontribs)

I use trunk version of this extention and MW 1.18. When I click Log in / create account I recieave fatal error:

Fatal error: Call to undefined method WebRequest::getIP() in /srv/http/wiki/extensions/ConfirmEdit/Captcha.php on line 202

This post was posted by Unikum~mediawikiwiki, but signed as Unikum.

Subfader (talkcontribs)

Try the latest version of ConfirmEdit

Unikum~mediawikiwiki (talkcontribs)
JonathanWilliford (talkcontribs)
Unikum~mediawikiwiki (talkcontribs)
Unikum~mediawikiwiki (talkcontribs)
82.29.217.133 (talkcontribs)

For MW 1.16.5 with r107316 I have solved this problem by changing

$wgRequest->getIP() to wfGetIP()

82.29.217.133 (talkcontribs)

For MW 1.16.5 with r107316 I have solved this problem by changing

$wgRequest->getIP() to wfGetIP()

Platonides (talkcontribs)

You were using a very recent ConfirmEdit with an old MediaWiki.

Brted (talkcontribs)

I got this error when I installed 1.18.3 today. New MW, new ConfirmEdit. I fixed it by bringing over my old copy of captcha.php. That version uses wfGetIP() Brted (talk) 02:01, 29 April 2012 (UTC)

134.154.213.226 (talkcontribs)

Changing in to wfGetIP() fixed it for me,too.

70.252.129.166 (talkcontribs)

In my case it was Asirra that was causing the problem. I manually downloaded the latest version of that and overwrote the files in the ConfirmEdit directory with it. All works fine now.

58.87.61.214 (talkcontribs)

In my case I just changed entire return string with just 'return 1;' becase this line just check bad login key case, so I chose to pass this needless process. It works also.

Reply to "Fatal error when I try "Log in / create account""