View Single Post
  #8  
Old 01-31-2004, 09:18 PM
 
teriwinkle teriwinkle is offline
 

Advanced Member
  
Join Date: Aug 2003
Location: Los Angeles
Posts: 63
 

Default

I should have provided more information... Here is a better description of my problem:

I recently upgraded my site from 3.4.8 to 3.5.1. I didn't notice any problems until I tried to use a admin custom mod. The custom mod was one of funkydunks, the subscriber list, found from this thread, which worked in version 3.4.8:

http://forum.x-cart.com/viewtopic.php?p=17493&highlight=#17493.

Then I got the error message:

Quote:
"can't to find template engine"

I found this thread, and I replaced the new smarty code with the old smary code per Boomers suggestion.

Quote:
3.5.0 smarty.php:

Code:

#
# Define SMARTY_DIR to avoid problems with PHP 4.2.3 & SunOS
#
define('SMARTY_DIR', $xcart_dir.DIRECTORY_SEPARATOR."Smarty-2.5.0".DIRECTORY_SEPARATOR);

if (!@include(SMARTY_DIR."Smarty.class.php")) {
echo "Can't to find template engine!";
exit;
}



3.4.9 smarty.php:

Code:

#
# If we are in subdir of X-Cart dir, then include with '../'
# else include with './'
#
if (!@include("../Smarty-2.5.0/Smarty.class.php"))
@include("./Smarty-2.5.0/Smarty.class.php");
After I replaced the new smarty code with the old smarty code, I would get the following message upon entering my website home page. (before I could freely roam my website, I just couldn't use the subscriber list mod.

Quote:
"can't launch template editor"

So, I have put the smarty.php back to orig 3.50 version, and can roam my site, but I cannot use the subscriber list feature mod.

Any ideas as to how fix the compatability problem for the new mod to the 3.5.1 xcart? Thanks!
__________________
Red Hat Linux/Apache
Reply With Quote