Re: [SMARTY] Weird syntax error
| From: | Duncan Hill | Date: | Tue, 10 Jun 2003 13:03:44 +0000 |
| Subject: | Re: [SMARTY] Weird syntax error | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9690@lists.php.net to get a copy of this message | ||
On Tuesday 10 June 2003 13:59, Duncan Hill wrote:
> Greetings,
>
> Been playing with Smarty, and liking what I see. However, I've now run
> into a weird issue that is really annoying me.
> Fatal error: Smarty: [in menu.tpl line 4]: syntax error: unidentified token
> '\"Y\"' (Smarty_Compiler.class.php, line 1228) in
> /usr/local/php4/lib/smarty/Smarty_Compiler.class.php on line 1824
> I've limited the templates down to just those lines, and the issue
> persists. What on earth is biting me? Smarty 2.5.0, PHP 4.3.1.
Well, it's one of those days. Nuked templates_c/*, and ALL of my templates
that use the variable test logic fail. Bolt from the sky, and I go and turn
off magic_quotes_runtime, and all is well. The template caching was stopping
me from seeing the problem.
Now, searching google, smarty.php.net and more all returned nothing on this
issue.. is it a known behaviour?