Try following, open smarty.php from skinswap package and replace:
1.
Code:
define('SMARTY_DIR', $xcart_dir.DIRECTORY_SEPARATOR."Smarty-2.6.3".DIRECTORY_SEPARATOR);
with:
Code:
define('SMARTY_DIR', $xcart_dir.DIRECTORY_SEPARATOR."Smarty-2.6.9".DIRECTORY_SEPARATOR);
2.
Code:
# 4.0.x
if (!@include(SMARTY_DIR."Smarty.class.php")) {
with:
Code:
# 4.0.17
ini_set('include_path',
$xcart_dir . "/include/templater"
. PATH_SEPARATOR . SMARTY_DIR
. PATH_SEPARATOR . ini_get('include_path'));
include_once($xcart_dir."/include/templater/templater.php");
if (!class_exists('Templater')) {
3.
Code:
$smarty = new Smarty;
with:
Code:
$smarty = new Templater;
4. remove this line:
Code:
$smarty->load_filter("output","trimwhitespace");