trying the cache router module with eaccelerator I encountered some problems :
first, I activated 'engine' => 'eacc' in settings.php
and got this msg
Parse error: syntax error, unexpected $end, expecting T_FUNCTION in [..]/modules/cacherouter/engines/eacc.php on line 226

so I added an ending curly brace to fix this (right at the end of the file)

didn't got through the wholde to see where this was coming from though :)

but I hope this helps

Comments

lizuka’s picture

Assigned: lizuka » Unassigned
lizuka’s picture

ok so I got another error after this one :
Fatal error: [] operator not supported for strings in [..]/modules/locale/locale.module on line 509

so I decided to browse for a previous version of the eacc.php file

and found this
http://drupal.org/node/248529#comment-854842
which I used to replace the original code

now it seems to be ok but I am working in the dark here...

haojiang’s picture

so , did you fixed it ? i came accross this error too.
my setting.php ::

$conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
'default' => array(
'engine' => 'eacc',
'server' => array(),
'shared' => TRUE,
'prefix' => '',
'path' => 'sites/default/files/filecache',
'static' => FALSE,
'fast_cache' => FALSE,
),
);

did i set something wrong?

lizuka’s picture

by replacing the original code in eacc.php with the one here :
http://drupal.org/node/248529#comment-854842

it's working fine

haojiang’s picture

i got a better idea ,
why not using the cvs head (6.x-1.0-dev)'s eacc.php
i tried that one, it works too

slantview’s picture

Status: Active » Fixed

This will be fixed in the next release.

Status: Fixed » Closed (fixed)

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