Closed (fixed)
Project:
Memcache API and Integration
Version:
7.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2011 at 14:40 UTC
Updated:
25 Apr 2011 at 14:51 UTC
When using
include_once('./includes/cache.inc');
include_once('./sites/all/modules/memcache/memcache.inc');
$conf['cache_default_class'] = 'MemCacheDrupal';
memcache is working fine.
However, when I try to use memcache.db.inc I get the following error:
Fatal error: Cannot redeclare cache_get() (previously declared in /var/www/html/drupal7/includes/cache.inc:49) in /var/www/html/drupal7/sites/all/modules/memcache/memcache.db.inc on line 77
Regards.
Comments
Comment #1
jeremy commentedThe memcache.db.inc include file is known to be buggy and was intentionally deprecated. I'm not sure why it still exists in the 7.x-1.x-dev branch, it needs to be deleted as it is unsupported.
Comment #2
jeremy commentedThe README noted that memcache.db.inc had not been ported. I have removed it from the 7.x-1.x-dev branch to prevent future confusion:
http://drupalcode.org/project/memcache.git/commitdiff/e62f3f6?hp=597718b...