Hi all,
Recently, we acquired a website and download the public_html files from FTP. We are trying to run it with XAMPP for website development. Fixed a few bugs here and there, but can't seem to get past this bug:
Fatal error: Smarty error: [plugin] prefilter 'tpl_labels' is not implemented in /opt/lampp/htdocs/libsext/Smarty/libs/Smarty.class.php on line 1088
Here is line 1088 of Smarty.class.php:
function trigger_error($error_msg, $error_type = E_USER_WARNING)
{
trigger_error("Smarty error: $error_msg", $error_type); #1088
}
From Smarty_Compiler.class.php
// run template source through prefilter functions
if (count($this->_plugins['prefilter']) > 0) {
foreach ($this->_plugins['prefilter'] as $filter_name => $prefilter) {
if ($prefilter === false) continue;
if ($prefilter[3] || is_callable($prefilter[0])) {
$source_content = call_user_func_array($prefilter[0],
array($source_content, &$this));
$this->_plugins['prefilter'][$filter_name][3] = true;
} else {
$this->_trigger_fatal_error("[plugin] prefilter '$filter_name' is not implemented");
}
}
}
It's strange that the exact same files work on the website but not on localserv. Would there be a problem with my configuration files?
Thanks, any help would be appreciated!