Hey guys,
I've setup memcached on my webservers that I'm using with mediawiki. And I
wanted a convenient way to check that memcached was in fact working.
So I decided to try and get this mediawiki memcached extension working:
https://www.mediawiki.org/wiki/Extension:Memcached
But when I go to the Special:Memcached page to see what's going on, I get
this message:
Permission error
You do not have permission to do that, for the following reason:
You are not allowed to execute the action you have requested.
When I turn error printing on in php I see this message in the browser:
Strict Standards: Declaration of SpecialMemcached::execute() should be
compatible with SpecialPage::execute($subPage) in
/var/www/jf/mediawiki-1.25.1/extensions/Memcached/Memcached.php on line 36
Notice: Undefined offset: 1 in
/var/www/jf/mediawiki-1.25.1/includes/objectcache/MemcachedClient.php on
line 743
I have both memcached and this special page enabled in the LocalSettings
config:
## Shared memory settings
$wgMainCacheType = CACHE_MEMCACHED;
$wgParserCacheType = CACHE_MEMCACHED; # optional
$wgMessageCacheType = CACHE_MEMCACHED; # optional
$wgMemCachedServers = array( "xx.xx.xx.xx:11211",
"xx.xx.xx.xx:11211",
"xx.xx.xx.xx:11211" );
require_once "$IP/extensions/Memcached/Memcached.php";
Seems like it may be a bug in the code, but I was just wondering if anyone
knew how to correct that. Also if there are any other ways to check if
memcached is in fact doing it's job effectively I'm open to suggestion!
Thanks,
Tim
--
GPG me!!
gpg --keyserver
pool.sks-keyservers.net --recv-keys F186197B