help! weird smarty error
| From: | (Tracy) | Date: | Tue, 18 Mar 2003 21:44:47 +0000 |
| Subject: | help! weird smarty error | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8727@lists.php.net to get a copy of this message | ||
Hi Everyone,
I'm having the weirdest error with Smarty and have not been able to find
any information regarding this error.
Currently I am able to run php files calling smarty templates fine from
the command line (php version 4.0.2). All the proper files are generated
in
the templates_c directory and if I save the output as an html file and
view it, everything is perfect.
However, if I try to run it from the browser (php version 4.2.2) I get a
blank page (absolutely no errors shown in the browser or when I do a view
source) and the following error shows up in my apache log:
PHP Fatal error: Smarty: [in index.tpl line 1]: syntax error: invalid
attribute name - 'setup\'
(Smarty_Compiler.class.php, line 1341) in
/misc/fl/iscb/include/Smarty-2.4.2/Smarty_Compiler.class.php on line 1857
I can't find any reference to the string 'setup' anywhere.
If anyone has any suggestions, please let me know. I think I've gone
through practically everything I can think of now...
Thanks so much,
Tracy