RE: [SMARTY] The dreaded 'Fatal error: Call to undefined function: ()' error
| From: | Jaime Ashander | Date: | Mon, 29 Jul 2002 16:38:09 +0000 |
| Subject: | RE: [SMARTY] The dreaded 'Fatal error: Call to undefined function: ()' error | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5502@lists.php.net to get a copy of this message | ||
I wrote a message a few days ago that explained how I had my directories
set up on win 2000 to work with smarty 2.2.0.
However, in debugging a page, I encountered this error a few times even
after I had the system working with my other existing templates.
It turned out the problem was in _my_ templates, and not the smarty
class templates. I doubt this is your problem tho, since a rollback
fixed nothing. . . but I'll throw this out there.
an ill formed smarty element in one of my templates
<tr>{$smarty_var</tr>
such as that in the above line was causing the problem in my case.
Cheers,
Jaime
>Fatal error: Call to undefined function: () in
>/home/public_html/classes/smarty/Smarty.class.php on line 998
>
>I'm sure I've had this problem on other Smarty-ified sites before, but
>I can't remember now how I fixed it.
>
>I'm guessing it's something that Smarty is thinking is a function call
>but isn't, however I've rolled the templates for the site in question
>back to their previous state (which worked), but no luck.
>
>Can anyone with a little more experience at fixing Smarty problems
>tell me what I should be looking for?