Re: [SMARTY-DEV] Errors in CVS

From: Date: Tue, 24 Jun 2003 08:39:59 +0000
Subject: Re: [SMARTY-DEV] Errors in CVS
References: 1 2 3 4  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1686@lists.php.net to get a copy of this message
On Mon, 23 Jun 2003 19:09:52 +0200, Messju Mohr <messju@lammfellpuschen.de> wrote:
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
Inserting print_r($this->_plugins[$type][$name]); at these lines gives Array ( [0] => smarty_block_strip [1] => [2] => ) Warnings are inserted in output at start of template, not at {strip}{/strip} block, but they are really triggered by presence of {strip} in template. And {textformat} triggers them too. By the way, there is Warning: Undefined variable: output in .../lib/Smarty/plugins/block.textformat.php on line 70 Note to Monte. New version of filepaths caching creates ./_smarty_cached_paths directory under my compiled templates dir, even if $use_sub_dirs is false. WBR, Konstantin A. Pelepelin

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