Re: [SMARTY] Help with error during first after install
| From: | Tim Burden | Date: | Sat, 07 Dec 2002 01:30:46 +0000 |
| Subject: | Re: [SMARTY] Help with error during first after install | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6681@lists.php.net to get a copy of this message | ||
Is there an index.tpl in your smarty/templates/ dir?
----- Original Message -----
From: "Roger" <webmaster@g-i-w-s.com>
To: <smarty-general@lists.php.net>
Sent: Friday, December 06, 2002 8:20 PM
Subject: [SMARTY] Help with error during first after install
> Here is the error I get no matter what I do:
> Warning: Smarty error: unable to read template resource: "index.tpl" in
>
/usr/local/plesk/apache/vhosts/myservername.com/httpdocs/smarty/Smarty.class
.php
> on line 589
>
> any idea what I'm doing wrong? here is my smarty_dir statement:
>
define('SMARTY_DIR','/usr/local/plesk/apache/vhosts/myservername.com/httpdoc
s/smarty/');
> require(SMARTY_DIR.'Smarty.class.php');
>
> I'm new to PHP and MySQL and obviously very new to Smarty. It seems
> like a wonderful tool. I can't wait to impliment it...
>
> Thanks,
> Roger
>