Re: [SMARTY] Compilation error ??

From: Date: Mon, 03 Jun 2002 15:50:01 +0000
Subject: Re: [SMARTY] Compilation error ??
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4540@lists.php.net to get a copy of this message
You didn't upgrade Smarty or anything like that? On Mon, 03 Jun 2002, Bertrand DUNOGIER wrote: > 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 > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -Andrei http://www.gravitonic.com/ * The best source is the source code. *

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