Re: [PHP] [phplib template] file does not exist
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!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [phplib template] file does not exist
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 [EMAIL PROTECTED] schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] [phplib template] file does not exist
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!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php