I have a Drupal installation with Memcached and APC modules enabled and PHP modules working and installed. The performance logging module thinks I do not have memcached enabled, though I am able to view memcached stats with each page so it appears to be operational... APC logging enabled ok...
Drupal settings.php config follows...
/**
* Add Memcached Caching.
*/
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
$conf['cache_default_class'] = 'MemCacheDrupal';
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
/**
* Add APC Caching.
*/
$conf['cache_backends'][] = 'sites/all/modules/apc/drupal_apc_cache.inc';
$conf['cache_class_cache'] = 'DrupalAPCCache';
$conf['cache_class_cache_bootstrap'] = 'DrupalAPCCache';
thanks
Comment | File | Size | Author |
---|---|---|---|
#3 | Summary_logging_memcached_not_available-1475500-3.patch | 2.48 KB | raggax2 |
Comments
Comment #1
raggax2 CreditAttribution: raggax2 commentedYou may want to check your cache bins.
The module is checking for a specific cache_performance bin. If you don't have it defined the module will not register memcache as being available. As referenced in the README.txt:
Comment #2
malc0mn CreditAttribution: malc0mn commentedCorrect... Could add a specific check on the settings page to inform the user of this though... As in 'Memcache enabled but no specific 'cache_performance' bin defined...?
Comment #3
raggax2 CreditAttribution: raggax2 commentedThat's not a bad idea. I've included a patch that will set this message as a warning on the users page. I left the original error message the same (about memcache, apc, and zend not being enabled).
Comment #4
malc0mn CreditAttribution: malc0mn commentedFantastic, thanks a lot for that! Applied to both 6.x-1.x and 7.x-1.x branch!
Comment #5
malc0mn CreditAttribution: malc0mn commentedThis got dropped along the line somehow, reopening...
Comment #6
malc0mn CreditAttribution: malc0mn commentedfixed again, available in the upcoming beta releases (b2 & b3)