Cache router wont show up in the Administration menu
| Project: | Cache Router |
| Version: | 6.x-1.0-beta8 |
| Component: | User interface |
| Category: | support request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | postponed |
| Issue tags: | administration menu |
Jump to:
I have done a fresh drupal installation and am trying to install the cache router module. In the modules list the module shows as enabled and also in the database it has added the column `serialized` to the cache tables. However I am not able to see the cache router in the admin section under the site configuration tab. Following is the information of what i have done to install this module:
- installed drupal 5.15
- implemented the patch for cache serialization for 5.14(since this was the latest patch that i could find)
- enabled cache router module.
- did the required changes to the settings.php file
$conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
'default' => array(
'engine' => 'db',
'server' => array(),
'shared' => TRUE,
'prefix' => '',
'path' => 'sites/default/files/filecache',
'static' => FALSE,
'fast_cache' => TRUE,
),
);
Please suggest if I have done something wrong here also how do check that this module is working on the site.
Thanks in advance.

#1
I've installed it yesterday in conjuntion with memcache. As far as my understanding, there is nothing in the admin menu. Settings have to be setup in settings.php
In your case of 'db' something new has to be in the db tables, or cache tables...¿?
In my case, until now I couldn't check stats in memcache, but, if I stop it, site crashes... so, it's working....
#2
I have exactly the same problems in drupal 6.13. There have to be a entry in the Site Configuration menu. See the screenshot!
My config:
178 // CacheRouter
179 $conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc';
180 $conf['cacherouter'] = array(
181 'default' => array(
182 'engine' => 'memcache',
183 'server' => array('localhost:11211','localhost:11212','localhost:11213','localhost:11214','localhost:11215','localhost:11216'),
184 'shared' => FALSE,
185 'prefix' => '',
186 'path' => 'sites/default/files/filecache',
187 'static' => FALSE,
188 'fast_cache' => FALSE,
189 ),
190 );
Anyone else with this problem?
#3
Same problem for me...
Please help us !!
Thanks.
#4
same issue here... no menu entries anywhere to be found.
#5
Subscribing, same issue.
#6
Run the following in mysql console:
INSERT INTO variable (`name`,`value`) VALUES ('admin_menu_cache_server','b:0;');
It disables the admin_menu_cache.
#7
And how this will help in showing an entry in the menu?.
#8
Upps sorry. My problem was with the adminmenu. And with 6.
#9
You don't need cache router in the administration menu for this module to work. Marking as minor.
The stats have yet to be realized due to the way that each engine handles information about cache storage. postponed until I figure out a nice (read: fast) way to implement those stats.
#10
Maybe there might be a simple status page added, somewhere in admin section, that only just re-states what's already set in settings.php, along with a help text saying that the settings should be done there. For example:
Cache router caching plugin: Active (sites/all/modules/cacherouter/cacherouter.inc)
Fast page cache: Enabled
Cache engine: File
....other settings?.....
To adjust settings for this module, you need to edit the settings.php file.
This is pretty minor, but I guess throwing in a simple hook_menu() item, and a small cacherouter.admin.inc file rendering such a page, might help the users to avoid confusion about "did it really install?"
#11
@JirkaRybka - Yes, you're right. I will add this early next week to the status page. Mostly cause I'm tired of people asking if it's working ;)
-s