Re: [SMARTY-DEV] Errors in CVS

From: Date: Mon, 23 Jun 2003 11:05:30 +0000
Subject: Re: [SMARTY-DEV] Errors in CVS
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1675@lists.php.net to get a copy of this message
On Mon, Jun 23, 2003 at 01:51:38PM +0400, Konstantin A. Pelepelin wrote: > Hi! > > Trying to use CVS version. > > Warning: Smarty error: problem creating directory > '.../php/games/templates_c' in .../lib/Smarty/Smarty.class.php on line 1148 > > Warning: Smarty error: problem writing temporary file > 'templates_c/3ef6c744968c7' in .../lib/Smarty/Smarty.class.php on line 1148 > > Warning: unable to create file templates_c/_smarty_cached_paths.php because > No such file or directory in > .../lib/Smarty/core/core.write_compiled_resource.php on line 31 > > > > Is it because I use $compile_dir=".../var/tpl_c" directory for compiled > templates instead of default? > (I've replaced prefix paths with dots) yes, this is because the new and experimental $_cache_paths_file is configured in the constructor. you have to set $smarty->_cache_paths_file = $smarty->compile_dir . '/_smarty_cached_paths.php'; after reconfiguring compile_dir. i'm sure this is to change anytime soon. cvs contains some experimental and unstable things at the moment, do expect to do "cvs upd" and be productive afterwards :) greetings messju > And: > > Warning: Undefined variable: _return in > /home/cat/public_html/1/dtf.games/lib/Smarty/core/core.assemble_plugin_filepath.php > on line 38 > > Warning: Undefined variable: _return in > /home/cat/public_html/1/dtf.games/lib/Smarty/core/core.assemble_plugin_filepath.php > on line 54 > > WBR, > Konstantin A. Pelepelin > > -- > Smarty Development Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.dev (#1675) next »