Closed (fixed)
Project:
MongoDB
Version:
7.x-1.x-dev
Component:
Cache
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2012 at 13:47 UTC
Updated:
18 Apr 2012 at 08:21 UTC
If I in settings.php configure Mongodb cache with a value in $conf['cache_backends'], it does not work, but if I instead use include_once('.path_to/mongodb_cache/mongodb_cache.inc') it works.
I suppose it should not work like that.
Comments
Comment #1
Corwin commentedTry:
$conf['cache_backends'][] = 'sites/all/modules/mongodb/mongodb_cache/mongodb_cache.inc';
$conf['cache_default_class'] = 'DrupalMongoDBCache';
This is working for me in 7.x-1.x-dev. It's slower than MySQL but that's another issue.
Comment #2
misc commentedAs I stated, that does not work for me, I use the latest from Git. But interesting that it works for you.
Comment #3
misc commentedCorwin, sorry, you were right. I added more settings for the cahe form the README.txt, and they does not work, and make
$conf['cache_backends'][]break:Those breaks it. I will update the README.txt, and mark this as fixed.
Comment #4
misc commentedSaying one thing, doing another...