When I tried to enable memcache_admin, I got the following errors:

Fatal error: Call to undefined function dmemcache_stats() in
/home/httpd/kldp/kldp/sites/all/modules/memcache/memcache_admin/memcache_admin.module
on line 75

So I had to add the following line to the module code

include_once 'includes/dmemcache.inc';

Now the above errors are gone and the module seems to be working but I only see some kind of statistics page and no cache flush or other functionality is available. Please see attached screenshot.

CommentFileSizeAuthor
#1 sc1.GIF52.69 KBksoonson
sc2.GIF48.19 KBksoonson

Comments

ksoonson’s picture

StatusFileSize
new52.69 KB

screenshot added

And it is quite strange that I can only view this page by manually typing the url

At admin page, no link is provided even though both memcache/memcache_admin module is enabled

robertdouglass’s picture

The admin module desperately needs work. It is barely functional, as you point out. Anyone interested in sponsoring work on this should contact me and I'll help you get hooked up with a developer who can push forward on this.

robertdouglass’s picture

Category: bug » support
Status: Active » Fixed

Ok, I figured out what is happening. You don't have the memcache.inc or memcache.db.inc included as your cache.inc replacement. Please re-read the installation instructions because your Drupal memcache module isn't installed correctly. That said, I should provide a check so that the missing function raises a warning.

swentel’s picture

I had this problem too and I think it's because of the INSTALLATION.txt that comes with the package:
$conf = array('memcache_inc' => './includes/memcache.inc',);

On http://drupal.org/project/memcache the array-key is 'cache_inc':
'cache_inc' => './sites/all/modules/memcache/memcache.inc'

After I saw this, I changed my settings and the admin page worked as a charm too.

robertdouglass’s picture

I updated the docs for the 1.4 release. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)