- Install Drupal 6.10.
- Install CacheRouter 6.x-1.0-beta8 and Enable it.
- Add
$conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc'; $conf['cacherouter'] = array( 'default' => array( 'engine' => 'db', 'server' => array(), 'shared' => TRUE, 'prefix' => '', ), );in settings.php.
- Go back to admin/module page and it showed the following warning:
warning: Missing argument 1 for dbCache::flush(), called in ...\sites\all\modules\cacherouter\CacheRouter.php on line 57 and defined in ...\sites\all\modules\cacherouter\engines\db.php on line 83.
- Replace function flush($flush) with function flush($flush = NULL) according to the instruction at #393430: getting some warnings on "db" mode.
- The warning disappear but CacheRouter is no where to be found in Administer.
How do we install CacheRouter? My goal is to enable CacheRouter with APC.
Comments
Comment #1
danielnolde commentedthe error you describe relates to db-based caching
if your goal is to replace default db-based caching with APC-based caching, then configure just that (to use APC) and skip trying to use cacherouter with db-caching (if that is a problem with D6.10).
Give APC-only a try, perhaps it works and you don't need to bother about your db-caching related error ... ?
Comment #2
davidjbullock commentedI've tried db, memcache, and APC
The administrator menu never shows up and I can't see any evidence tha t its working
Comment #3
xn2001 commentedI did try already with APC and it was giving me the following warning:
That is why I decided to do a CLEAN install with only Drupal & CacheRouter and see if it works out of the box but it didn't.
Comment #4
Netzarim commentedI am not seeing any error messages, but I am also not seeing any admin menu for this module.
Comment #5
aaronshaf commentedI'm not seeing the admin for this either.
Comment #6
marcus0263 commentedI'm having the same issue, I changed the db caching to xcache and I receive this error
This is with Drupal 6.12
Comment #7
marcus0263 commentedOh, forgot to mention I applied the patch also and I also do not have any "Cache Router Admin" in my Site Config. Having the same error/issues with db cache and xcache does not work.
So db cache, Cache Router never shows up in Site Config and xcache pukes and crashes the entire site.
Comment #8
adminfor@inforo.com.ar commentedThere is no admin menu for this module. Setup is into settings.php
Comment #9
marcus0263 commented????
http://drupal.org/node/330237
They need to update the page for this mod ;)
I'll test for the db cache then, I run xcache and it pukes my entire site when I activate this mod for xcache.
Anyone have any comparison of running this mod in db cache over just a standard xcache setup on Apache?
Cheers
Comment #10
slantview commentedThe admin interface has not been released yet. Doesn't mean that the module doesn't work.