Re: [SMARTY] smarty error
| From: | Blue Presley | Date: | Wed, 19 Jun 2002 16:45:13 +0000 |
| Subject: | Re: [SMARTY] smarty error | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4941@lists.php.net to get a copy of this message | ||
no go.. i've tried just ('foo.tpl'),
('emp/foo.tpl'),('./foo.tpl')
what i've done is i had all my files in one directory with the template*
directories in the heirarchy. to organize things a bit, I just created to
subdirectories (emp and js) to file things in. once i put the items in
those directory.. kerput.. nuttin.. broken.. and i keep getting that error
now. any other thoughts?
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.
>