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.
Comments
Comment #1
ksoonson commentedscreenshot 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
Comment #2
robertdouglass commentedThe 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.
Comment #3
robertdouglass commentedOk, 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.
Comment #4
swentel commentedI 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.
Comment #5
robertdouglass commentedI updated the docs for the 1.4 release. Thanks.
Comment #6
(not verified) commented