Re: [SMARTY-DEV] Errors in CVS
| From: | Konstantin A. Pelepelin | Date: | Mon, 23 Jun 2003 15:52:47 +0000 |
| Subject: | Re: [SMARTY-DEV] Errors in CVS | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1677@lists.php.net to get a copy of this message | ||
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 *} 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 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. 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'); )Thank you, Konstantin A. Pelepelin