RE: [SMARTY] Newbie Question

From: Date: Tue, 24 Sep 2002 16:51:17 +0000
Subject: RE: [SMARTY] Newbie Question
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6018@lists.php.net to get a copy of this message
I think you might have forgotten to define your $smarty_object->template_c variable... For some reason it looks like the script is looking for the compiled template file relative to the root directory, or to c:\www\lib... When I was using smarty in a development environment on windows XP (running apache as well), I had to write some very odd paths to get smarty to work. I never figured out why, but I had to specify the $smarty_object->template_c and a couple of the other directories in windows syntax but with escapes, like "c:\\websites\\app_dir\\smarty_dir\\templates_c\\", instead of the more comfortable unix style syntax, "/websites/app_dir/smarty_dir/templates_c/" It might make a difference if you set up php as an apache module or as a stand alone cgi handler, but I'm not sure. -- Josh -----Original Message----- From: Rich Gray [mailto:richardgray@onetel.co.uk] Sent: Tuesday, September 24, 2002 7:34 PM To: Smarty-General@Lists. Php. Net Subject: [SMARTY] Newbie Question Hi all Very basic question here... Smarty v2.3.0 PHP v4.2.3 Win2K Advanced Server Apache v1.3 I am starting to use Smarty to rebuild a current site and am getting the following error in the log file... [Tue Sep 24 15:46:58 2002] [error] PHP Warning: Failed opening '\%%200\%%2001463753\index.html.php' for inclusion (include_path='.;c:\www\lib') in c:\www\lib\smarty\Smarty.class.php on line 686 The template file is index.html Any pointers...? TIA RIch -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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