Re: Fwd: Config Smarty bug?

From: Date: Thu, 28 Jun 2001 06:17:21 +0000
Subject: Re: Fwd: Config Smarty bug?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1029@lists.php.net to get a copy of this message
Hi Smarty's and Lando! I've been using smarty on an windows (98 and 2000pro) for a month or so and I have allways been forced to name the template-dir (and others) as absolute pathnames. for example: var $template_dir = 'c:/apache/htdocs/smarty/templates'; // name of directory for templates var $compile_dir = 'c:/apache/htdocs/smarty/templates_c'; // name of directory for compiled templates var $config_dir = 'c:/apache/htdocs/smarty/configs'; // directory where config files are located I haven't seen this as a bug in Smarty or PHP but rather as a bug in windows ;) regards, tomas ps. to the smarty list: I haven't followed the update threads very well so a quickie: will anything brake if I update from 1.4.1 to the current version (1.4.3?)? ----- Original Message ----- From: Andrei Zmievski To: smarty@lists.ispi.net Cc: Lando Sent: Thursday, June 28, 2001 2:10 AM Subject: [smarty] Fwd: Config Smarty bug? Forwarding this to the list because I currently don't have time to look into it and someone may have an idea on how to solve it. From: "Lando" <l.hesp@chello.nl> To: <andrei@ispi.net> Subject: Config Smarty bug? Date: Wed, 27 Jun 2001 14:16:54 +0200 X-Mailer: Microsoft Outlook Express 5.50.4133.2400 Hi, I'm trying to install Smarty on a WindowsNT platform. I think there is a problem with the (back)slashes. Starting the index.php file as you described in de QUICKSTART results in the following output: Config_File: Bad config file path './configs' Warning: Smarty error: unable to read template resource: "index.tpl" in c:\apache\php\smarty\Smarty.class.php on line 1002 Warning: fopen("./templates_c/index.tpl.php","w") - No such file or directory in c:\apache\php\smarty\Smarty.class.php on line 913 Warning: Smarty error: problem writing './templates_c/index.tpl.php.' in c:\apache\php\smarty\Smarty.class.php on line 1002 Warning: Failed opening './templates_c/index.tpl.php' for inclusion (include_path='.; \apache\includes;\apache\htdocs\;\apache\htdocs\phpmyadmin;C:\apache\php\PEAR;c:\apache\php\smarty') in c:\apache\php\smarty\Smarty.class.php on line 555 Warning: Smarty error: unable to read template resource: "file:debug.tpl" in c:\apache\php\smarty\Smarty.class.php on line 1002 Warning: fopen("./templates_c/file%3Adebug.tpl.php","w") - No such file or directory in c:\apache\php\smarty\Smarty.class.php on line 913 Warning: Smarty error: problem writing './templates_c/file%3Adebug.tpl.php.' in c:\apache\php\smarty\Smarty.class.php on line 1002 Warning: Failed opening './templates_c/file%3Adebug.tpl.php' for inclusion (include_path='.; \apache\includes;\apache\htdocs\;\apache\htdocs\phpmyadmin;C:\apache\php\PEAR;c:\apache\php\smarty') in c:\apache\php\smarty\Smarty.class.php on line 599 I hope you have a solution for this problem Greetings Lando Hesp -Andrei --- You are currently subscribed to smarty as: tomas@altern.org To unsubscribe send a blank email to $subst('Email.Unsub') Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/

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