Re: Variable modifier parse error?
| From: | Andrei Zmievski | Date: | Mon, 23 Jul 2001 14:39:12 +0000 |
| Subject: | Re: Variable modifier parse error? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1245@lists.php.net to get a copy of this message | ||
On Fri, 20 Jul 2001, Kamal Mahyuddin wrote:
> I seem to get a parse error when I use certain variable modifiers.
>
> A snippet of the compiled template file:
> <?php echo _smarty_mod_handler('smarty_mod_date_format', true,
> $this->_tpl_va
>
> rs['news'][$this->_sections['article']['properties']['index']]['timestam
> p'], );
> ?>
>
> Note the ',' at the end. Why does the Smarty compiler add that there?
>
> My hoster runs PHP 4.0.6 on a Linux box, and I have Smarty 1.4.4
> installed there. It works perfectly on my Win2K box with PHP 4.0.5 and
> Smarty 1.4.4.
It would help to see the original template code that produced this.
-Andrei
"The time from now until the completion
of the project tends to become constant." -- Douglas Hartree