error with math function

From: Date: Thu, 27 Feb 2003 17:24:12 +0000
Subject: error with math function
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8267@lists.php.net to get a copy of this message
Hi, Since I installed the latest PHP version (4.3.0) an error occures in the smarty compiler on the Smarty Math function. Fatal error: Smarty: [in file:admin/fichelist.tpl line 203]: syntax error: expecting '=' after attribute name in c:\documents and settings\administrator\my documents\server\sportsearch\sportsearchData\smarty\Smarty_Compiler.class.ph p on line 1398 The line I use in de template never changed, and worked allright before. {math equation="x + y" x=$smarty.section.nr.index_next y=$index} even the documented code failes: {* $height=4, $width=5 *} {math equation="x + y" x=$height y=$width} I use Windows2000/apache with php as a module. but I have also the gci to use GTK. Does anyone know about this problem and has a solution for it. Many thanks, Max

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