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

LEalex - March 13, 2009 - 10:28

Replace

function flush($flush) {

with
function flush($flush = NULL) {

in db.php

AttachmentSize
db_missing_argument_fix.patch 366 bytes

#2

marcus0263 - May 16, 2009 - 08:11

I applied the patch but Cache Router does not appear in my Admin > Site Config.

#3

LEalex - May 19, 2009 - 06:57

Cache Router hasn't a admin interface, you must configure the module in the settings.php file.

#4

slantview - September 3, 2009 - 09:41
Status:active» fixed

This is now fixed.

#5

System Message - September 17, 2009 - 09:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.