|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
melix Smarty Rookie
Joined: 22 Apr 2003 Posts: 6
|
Posted: Tue Apr 22, 2003 1:06 pm Post subject: Template not found error |
|
|
I've suffered a lot about this little missing feature : a "File not found" warning when a template can't be found. For now Smarty does just show nothing more than a blank page...
Thanks ! |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Tue Apr 22, 2003 1:19 pm Post subject: Re: Template not found error |
|
|
I assume that you are logging your PHP errors to a file. Smarty triggers PHP errors when bad things happen, so you should see a line like this in your error log:
[22-Apr-2003 09:20:04] PHP Warning: Smarty error: unable to read template resource: "base/menu/menu.tpl" in c:\usr\local\BondDesk\lib\smarty\Smarty.class.php on line 1050 |
|
Back to top |
|
melix Smarty Rookie
Joined: 22 Apr 2003 Posts: 6
|
Posted: Tue Apr 22, 2003 1:23 pm Post subject: |
|
|
Thanks a lot I missed that point. I thought I would find it into the debug window... |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|