Steve E
unread,Nov 21, 2009, 9:23:56 PM11/21/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Smarty Developers
Hi,
test.tpl:
Test line 1
{invalidfunction}
Test line 2
Code:
$smarty = new Smarty;
$smarty->display('test.tpl');
Error shown:
Fatal error: Uncaught exception 'Exception' with message 'Syntax Error
in template ".\templates\test.tpl" on line 3 "Test line 2" unknown tag
"invalidfunction"' in D:\wamp\www\mempro\smarty\sysplugins
\smarty_internal_templatecompilerbase.php:264
As you can see from the message above, it states the error is on line
3 where the template has "Test line 2", yet the error is the unknown
tag "invalidfunction" on line 2, the line above.
Steve