Compilation error ??

From: Date: Mon, 03 Jun 2002 15:48:18 +0000
Subject: Compilation error ??
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4538@lists.php.net to get a copy of this message
Hi, I'm working on a script that was working perfectly, and now i get the a parse error on the compiled template: Parse error: parse error, unexpected ')' in /home/www/sites/mnhn/borne/phpdata/templates_c/192/1926952680/0.php on line Here are the first lines of the compiled template: 1 - <?php /* Smarty version 2.1.0, created on 2002-06-03 17:44:29 2 - compiled from main.tpl */ ?> 3 - <?php $this->_load_plugins(array( 4 - array('modifier', 'default', 'main.tpl', 5, false), 5 - array('modifier', 'truncate', 'main.tpl', 60, false),)); ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 6 - 7 - <html> 8 - <head> 9 - <title><?php echo $this->_run_mod_handler('default', true, $this->_tpl_vars['TITLE'], ); ?> isn't " $this->_tpl_vars['TITLE'], " on line 9 a little weird ? Here is the beggining of the template: 1 - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 - {*strip*} 3 - <html> 4 - <head> 5 - <title>{$TITLE|default:"Musée d'histoire naturelle"}</title> Any thoughts ? This have been working perfectly for 2 month... What is even stranger is that if i wait for a while then reload the page, and browse a little, it works perfectly 2 times then crashes again. Bertrand

« previous php.smarty.general (#4538) next »