Re: [SMARTY] unable to read template resource error
| From: | Manfred Stienstra | Date: | Sun, 17 Nov 2002 00:23:26 +0000 |
| Subject: | Re: [SMARTY] unable to read template resource error | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6454@lists.php.net to get a copy of this message | ||
On Saturday 16 November 2002 18:57, Roy wrote:
> since the manual
> claims it will use the SMARTY_DIR path and look for 'debug.tpl' by default.
I don't know about this one.
> Specifying a complete path via setting the debug_tpl file...
>
> $this->debug_tpl = '/web/beatfarm/public_html/Smarty/Smarty/debug.tpl';
>
> Generates a different error...
>
> Fatal error: Smarty plugin error: [in
> /web/beatfarm/public_html/Smarty/Smarty/debug.tpl line 5]: unknown tag -
> 'assign_debug_info' in
> /home/beatfarm/public_html/Smarty/Smarty-2.3.0/Smarty.class.php on line
> 1980
But this looks like you didn't specify the directory with the modifiers
correctly. This is the directory called 'plugins' in the normal smarty dir.
The plugins dir has to be somewhere in the php 'include_path'. I may be
mistaken.
Manfred