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

Jump to: navigation, search

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
Unikum09:57, 17 December 2011

Try the latest version of ConfirmEdit

Subfader12:37, 18 December 2011

I use trunk version from SVN (last update at 2011-12-17).

Unikum20:48, 18 December 2011

You need to use the REL1_18 branch for both your main MW install and this extension. You can fix this by going to your ConfirmEdit directory and running:

svn switch http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_18/extensions/ConfirmEdit

Apparently, the change with getIP() hasn't been propagated to the REL1_18 branch.

JonathanWilliford17:50, 9 January 2012

Thanks for the tip.

Unikum16:27, 17 January 2012
 
 

Problem appears since r106097.

Unikum05:22, 22 December 2011

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

$wgRequest->getIP() to wfGetIP()

82.29.217.13309:55, 26 December 2011
 

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

$wgRequest->getIP() to wfGetIP()

82.29.217.13309:55, 26 December 2011

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

Platonides12:50, 7 January 2012
 
 
 

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)

Brted (talk)02:01, 29 April 2012

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

Cagdas06:01, 9 May 2012
 

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.

70.252.129.16621:44, 2 May 2012
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox