Re: [phplib template] file does not exist
| From: | roel | Date: | Thu, 16 Jan 2003 14:33:33 +0000 |
| Subject: | Re: [phplib template] file does not exist | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131863@lists.php.net to get a copy of this message | ||
Thank you, this helped me to find the problem. It seemed that i had to set
the $root variable in the templated class, although i never had to do this
on the other server, but it works now. Thanks!!
"Marek Kilimajer" <kilimajer@webglobe.sk> schreef in bericht
news:3E268F12.1090604@webglobe.sk...
> First go to the file that generates the error and find out how it knows
> the template file does not exists
>
> roel wrote:
>
> > Hi,
> >
> >i'm having a problem. I just installed a webserver with mysql and php. I
> >copied my files that i had stored on another webserver to my new. I
didn't
> >change anything to these files and the files worked fine on the other
> >server.
> >
> >Now in this server i get this error with a template:
> > Template Error: filename: file ./templates/nav_left_body.tpl.php does
> > not exist.
> > Halted
> >
> >But that file does exist. I can see it through ftp an i can get to it via
> >http browser.
> >
> >What could be wrong? Could it be a config failure in my php.ini? Or in
> >httpd.conf? In case it is the config, what could it be?
> >
> >Thanks in advance!!
> >
> >
> >
> >
> >
>