Smarty Error: unable to read template resource
| From: | Jim Pringle | Date: | Tue, 18 Feb 2003 08:27:48 +0000 |
| Subject: | Smarty Error: unable to read template resource | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7814@lists.php.net to get a copy of this message | ||
I'm new to smarty but I can't seem to get it to work. I'm running win2k,
PHP 4.2.1, smarty 2.4.2, & IIS 5. I followed the install directions from
the PDF file found on smarty.php.net.
Upon running the sample index.php file, I get this:
--------------------------------------------------
Warning: Smarty error: unable to read template resource: "index.tpl" in
C:\webs\zmod\smarty\Smarty.class.php on line 999
Warning: Failed opening '\%%-98\%%-983514096\debug.tpl.php' for inclusion
(include_path='.;c:\php4\pear') in C:\webs\zmod\smarty\Smarty.class.php on
line 1212
--------------------------------------------------------------
I'm pulling my hair out. The index.tpl file exists. I've got all
appropiate folder permissions set. But it refuses to work. I re-read the
INSTALL file that came with Smarty for any subtle change. None. So I wrote
my own files from the QUICKSTART guide and I get the same 'unable to read
template' error.
Any idea where I can go from here? Thanks
Jim