RE: [SMARTY] Smarty unable to read template resource?

From: Date: Mon, 13 Jan 2003 21:28:23 +0000
Subject: RE: [SMARTY] Smarty unable to read template resource?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7152@lists.php.net to get a copy of this message
Don't know if this will help you... I'm new to Smarty, but I haven't had this problem at all. I followed the directions on the 'Extended Setup' by making a class that extends Smarty for my app, and includes the locations you want for your app. Worked flawlessly. I had it working first with .tpl files in the same folder as index.php and it worked, then I converted it to a custom class that extends smarty, and now my .tpl files are in C:\Smarty\Templates\myapp\ whereas index.php is in C:\Apache\htdocs\myapp\. http://smarty.php.net/manual/en/installing.smarty.extended.php HTH- Geoff > -----Original Message----- > From: Roger [mailto:webmaster@g-i-w-s.com] > Sent: Monday, January 13, 2003 1:50 PM > To: Brian Fidler; smarty > Subject: Re: [SMARTY] Smarty unable to read template resource? > > > I've been on this email list for two months. Since day one > I've had the > exact same error as yourself. > Roger > > > I'm getting the following error: > > Smarty error: unable to read template resource: "index.tpl" in > > /var/www/mydomain/httpdocs/smartyfiles/Smarty.class.php on line 589 > > brian fidler > >

« previous php.smarty.general (#7152) next »