Fatal error in memcache_admin module is caused when cache.inc is not set to memcache.inc:

memcache_admin_stats_types() /memcache/memcache_admin/memcache_admin.module:79

This is a bug in my opinion because occasionally it's nice to disable memcache but if I disable memcache in the settings file I get WSOD because memcache_admin is unaware of the change.

Quick fix suggestion:
if(variable_get(cache.inc, '') !== 'memcache.inc') exit();

CommentFileSizeAuthor
#1 1253416.patch933 bytesben.bunk

Comments

ben.bunk’s picture

StatusFileSize
new933 bytes

A patch I whipped up to solve my gripes.

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

Where are you getting this error? I'm unable to duplicate (I can browse my development website with the memcache and memache_admin modules enabled and the cache configuration line commented out of settings.php).

jeffsheltren’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I'm closing this as I'm unable to reproduce this either and it's been quite a while with no feedback.