[Mediawiki-l] Error: Blocks not working!

Brion Vibber brion at pobox.com
Thu Apr 1 22:46:07 UTC 2004

On Apr 1, 2004, at 13:10, Dan Carlson wrote:
> Okay, so after deciding that I was reaching a bit too far, we've 
> instituted several single-IP blocks to try to stop this anonymous 
> problem user from making his constant edits.  However, after we set 
> the block with his latest IP address, he made several more edits!  
> Something's wrong here...

Make this change to BlockCache.php:

	function load()
		global $wgUseMemCached, $wgMemc;
		if ( $this->mData === false) {
			$this->mData = array();

Remove that last line! It breaks blocking on non-memcached 
configurations. sigh...

-- brion vibber (brion @ pobox.com)

More information about the MediaWiki-l mailing list