getting some warnings on "db" mode
PlayfulWolf - March 6, 2009 - 20:09
| Project: | Cache Router |
| Version: | 6.x-1.0-beta8 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Hi, getting warnings in some administration pages, for example in "Modules" page.
* warning: Missing argument 1 for dbCache::flush(), called in /var/www/vhosts/topp.lt/httpdocs/sites/all/modules/cacherouter/CacheRouter.php on line 57 and defined in /var/www/vhosts/mysite.com/httpdocs/sites/all/modules/cacherouter/engines/db.php on line 83.
* warning: Missing argument 1 for dbCache::flush(), called in /var/www/vhosts/topp.lt/httpdocs/sites/all/modules/cacherouter/CacheRouter.php on line 57 and defined in /var/www/vhosts/mysite.com/httpdocs/sites/all/modules/cacherouter/engines/db.php on line 83.

#1
Replace
function flush($flush) {with
function flush($flush = NULL) {in db.php
#2
I applied the patch but Cache Router does not appear in my Admin > Site Config.
#3
Cache Router hasn't a admin interface, you must configure the module in the settings.php file.
#4
This is now fixed.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.