Forums / Install & configuration / syntaxe error in cached wilcard file

syntaxe error in cached wilcard file

Author Message

Pascal France

Monday 10 August 2009 11:07:47 am

Hi,

I get this error message:

Parse error: syntax error, unexpected T_LNUMBER, expecting ')' in /usr/local/www/var/plain_site/cache/wildcard/wildcard_c14a099cb9648ed105ca513e5fa7e93a_0.php on line 63
Fatal error: eZ Publish did not finish its request

with eZ Publish 3.10.1 when I try to display the print layout.

I use this rule:

URL alias wildcard  	Destination  	               Type
imprimer/*              layout/set/print/{1}          Forward

which was working fine.
I don't know when the error occurred (maybe when I upragded from 3.9 to 4.10).

The line 63 of the cached file contains this error:

'destination_url' => '/var/plain_site/storage/images/{1}/{2}/{3}/{4}/'5}/*',

When I change the code like this

'destination_url' => '/var/plain_site/storage/images/{1}/{2}/{3}/{4}/{5}/*',

all works again.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish