Re: [SMARTY-DEV] Errors in CVS

From: Date: Mon, 23 Jun 2003 17:09:52 +0000
Subject: Re: [SMARTY-DEV] Errors in CVS
References: 1 2 3  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1678@lists.php.net to get a copy of this message
On Mon, Jun 23, 2003 at 07:52:47PM +0400, Konstantin A. Pelepelin wrote: > On Mon, 23 Jun 2003 13:05:30 +0200, Messju Mohr <messju@lammfellpuschen.de> > wrote: > > >you have to set > >$smarty->_cache_paths_file = $smarty->compile_dir . > >'/_smarty_cached_paths.php'; > >after reconfiguring compile_dir. > > > Thank you very much. > > Another issues > > Warning: Uninitialized string offset: -1 in > .../lib/Smarty/Smarty_Compiler.class.php on line 332 > > It is raised only when compiling an empty template with only one line with > comment (newline after it exists) > > {* empty Smarty template *} hmm, i'm sure this was fixed some time ago, maybe in my dreams. anyway, it should be silent now, please test. > Warning: Undefined offset: 4 in .../lib/Smarty/Smarty_Compiler.class.php on > line 2001 > > Warning: Undefined offset: 4 in .../lib/Smarty/Smarty_Compiler.class.php on > line 2019 did you flush your templates_c after "cvs upd"? this may help already. > Warning: Undefined property: params in > .../lib/Smarty/core/core.write_compiled_include.php on line 33 > > It is triggered at > {include file='admin/pager.html'} > when that template should be compiled. > I cannot say what is the matter: other template includes are compiled > without warnings. fixed, thanks. > Please, remove '\r' at lines 30 and 38 in modifier.debug_print_var.php . > They are not necessary for JavaScript debug output, but they make it bad > looking in case of simple HTML debug output ( $smarty- > >assign('_smarty_debug_output','html'); ) i don't know of any cross-browser implications or why a \r is emitted there. let's wait if anyone on the list knows a reason for \r not being \n and \r being there at all. greetings messju > Thank you, > Konstantin A. Pelepelin

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