Project:Cache Router
Version:6.x-1.0-beta8
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

Assigned to:lizuka» Anonymous

#2

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...

#3

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?

#4

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

it's working fine

#5

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

#6

Status:active» fixed

This will be fixed in the next release.

#7

Status:fixed» closed (fixed)

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

nobody click here