I've got an error with smarty on my server running serendipity 1.1 on php 5.0.4 in safe_mode.
It tells me
The weird thing is that I did not enable the secure mode of smarty... even if I doFatal error: Smarty error: [in file: entries.tpl line 31]: [plugin] (secure mode) modifier 'escape' is not allowed (core.load_plugins.php, line 118) in ...Smarty.class.php on line 1095
Code: Select all
var $security = true;
var $security_settings = array(
'PHP_HANDLING' => false,
'IF_FUNCS' => array('array', 'list',
'isset', 'empty',
'count', 'sizeof',
'in_array', 'is_array',
'true', 'false', 'null'),
'INCLUDE_ANY' => false,
'PHP_TAGS' => false,
'MODIFIER_FUNCS' => array('escape'),
'ALLOW_CONSTANTS' => false
);
My server was PHP4 before and was now changed to PHP 5 with safe mode on, before this it worked fine. I was also running seredipity on another server with php 5 but safe mode off and everything was also fine.
So, where can I find a solution for this? Looks like smarty is reconfigured by something within serendipity, huh?
Thanks in advance!