Re: Problems with FastTemplates...

From: Date: Mon, 10 Jul 2000 20:09:26 +0000
Subject: Re: Problems with FastTemplates...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-5802@lists.php.net to get a copy of this message
dgw@q-logic.org wrote: > Hi, > > Have a look in the fasttemplate.php class and check that the following > definition is correct. > > var $WIN32 = false; // Set to true if this is a WIN32 server > That line is correct, so the problem has to be another thing. > > Un saludo, Gracias. > > > David Garcia Watkins > dgw@q-logic.org > > ----- Original Message ----- > From: "Juan Luis Baptiste M." <fbaptiste@interatworld.com> > To: <cdi@thewebmasters.net>; <php-general@lists.php.net> > Sent: Monday, July 10, 2000 4:55 PM > Subject: [PHP] Problems with FastTemplates... > > > Hi! > > > > I'm trying to use FastTemplates, but I'm having trouble when creating an > > instance of FastTemplate. I have in > > /usr/local/apache/htdocs/prueba/mytemplate.tpl (the html file), > > fasttemplate.php (the class) and test.php (where I call new > > fasttemplate, define, assign, etc...). When I do: > > > > $tpl= new fastTemplate("/usr/local/apache/htdocs/prueba/"); > > > > I get this error: > > ERROR: get_template() failure: [/usr/local/apache/htdocs/prueba/] > > > > If I do > > $tpl= new fastTemplate("prueba/"); > > > > I get this: > > ERROR: Specified ROOT dir [prueba/] is not a directory > > ERROR: Cannot open template. Root not valid. > > > > and prueba it IS a directory. What I'm doing wrong? > > > > And if I do this: > > $tpl= new fastTemplate("."); > > I get this: > > ERROR: get_template() failure: [./] > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#5802) next »