View Single Post
  #53  
Old 02-22-2006, 09:08 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Not working with 4.0.17

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");
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote