Re: [SMARTY] New Error On First Smarty Run
| From: | Roger | Date: | Tue, 17 Dec 2002 04:51:10 +0000 |
| Subject: | Re: [SMARTY] New Error On First Smarty Run | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6852@lists.php.net to get a copy of this message | ||
I fixed line 9 of index.php by taking out the bin. Now I'm back to my original error:
Warning: Smarty error: unable to read template resource: "index.tpl" in /usr/local/plesk/apache/vhosts/g-i-w-s.com/httpdocs/smarty/Smarty.class.php on line 589
Tim Burden wrote:
Obviously, you need to get the bin/ out of the SMARTY_DIR ----- Original Message ----- From: "Roger" <webmaster@g-i-w-s.com> To: <smarty-general@lists.php.net> Sent: Monday, December 16, 2002 9:37 PM Subject: [SMARTY] New Error On First Smarty Runhello, I can't tell if I'm getting close to having smarty run or not. I've talked to my isp and I got the correct path. now my index.php lines 9 and 10 looks like this:define('SMARTY_DIR','/usr/local/bin/plesk/apache/vhosts/myserver.com/httpdoc s/smarty/');require(SMARTY_DIR.'Smarty.class.php'); and the new error I get is: Warning: Unable to access/usr/local/bin/plesk/apache/vhosts/myserver.com/httpdocs/smarty/Smarty.class .phpin /usr/local/plesk/apache/vhosts/myserver.com/httpdocs/smarty/index.php on line 10 Fatal error: Failed opening required'/usr/local/bin/plesk/apache/vhosts/myserver.com/httpdocs/smarty/Smarty.clas s.php'(include_path='.:/usr/local/plesk/apache/lib/php') in /usr/local/plesk/apache/vhosts/myserver.com/httpdocs/smarty/index.php on line 10 Anyone got any suggestions? Thanks, Roger