Re: [SMARTY] smarty error

From: Date: Wed, 19 Jun 2002 16:46:59 +0000
Subject: Re: [SMARTY] smarty error
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4942@lists.php.net to get a copy of this message
.. scratch that.. now when i put everything back original everything is broken too blue ----- Original Message ----- From: "Monte Ohrt" <monte@ispi.net> To: "Blue Presley" <blue928@carolina.rr.com> Cc: <smarty-general@lists.php.net> Sent: Wednesday, June 19, 2002 12:05 PM Subject: Re: [SMARTY] smarty error > Try getting rid of the "./" in front of your template when you are using: > > $smarty->display('foo.tpl'); > > or > > {include file="foo.tpl"} > > > > Blue Presley wrote: > > yes.. all directories have appropriate permissions. However, my directory > > structure has been reorganized. anyone know why I would be getting this > > error for just moving files lower in the directory tree? > > > > [Wed Jun 19 11:47:57 2002] [error] [client 127.0.0.1] PHP Warning: Smarty > > error: unable to read template resource: "./login.tpl" in c:\program > > files\php\includes\Smarty.class.php on line 466 > > > > > > that's from apache. > > what is the "template resource?" > > > > thanks, > > blue > > ----- Original Message ----- > > From: "Ben Godfrey" <ben@hypothetical.co.uk> > > To: "Blue Presley" <blue928@carolina.rr.com> > > Cc: <smarty-general@lists.php.net> > > Sent: Monday, June 17, 2002 9:18 PM > > Subject: Re: [SMARTY] smarty error > > > > > > > >>Does the web server have permission to read the file? > >> > >>Ben > >> > >> > >>On Tuesday, June 18, 2002, at 01:39 , Blue Presley wrote: > >> > >> > >>>what does this error mean? > >>> > >>> > >>>PHP Warning: Smarty error: unable to read template resource: > >>>"login.tpl" in c:\program files\php\includes\Smarty.class.php > >>>on line 466 > >>> > >>>the file is there. I don't understand why it can't read it. > >>> > >>>thanks, > >>>blue > >> > > > > > > > > -- > Monte Ohrt <monte@ispi.net> > Director of Technology, ispi Inc. >

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