| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Upgrade your site to Smarty 2.6.2 | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Upgrade your site to Smarty 2.6.2
My xcart site is currently running Smarty 2.6.2 and heres how to do it :
Step 1 download the source of Smarty 2.6.2 from http://smarty.php.net/distributions/Smarty-2.6.2.tar.gz Step 2 uncompress the file and upload the contents of the libs directory to a directory called Smarty-2.6.2 (in xcart/) Step 3 You need to copy 3 files from xcart/Smarty-2.5.0/plugins to xcart/Smarty-2.6.2/plugins. The files in question are: modifier.abs_value.php, modifier.value_sign.php & modifier.formatprice.php Step 4 You need to change the following line in xcart/smarty.php from Code:
Code:
Step 5 Load your site (and it will work) hopefully .... STEP 3 IS IMPORTANT !!! It appears these plugins are custom made and are not in the original smarty distribution.
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#2
|
|||||||||
|
|||||||||
The above procedure is to make sure you have a backup of the old Smarty 2.5.0 if anything goes wrong ... if you want you can do it this way(thou you will not keep a backup of 2.5.0 on the server):
Do Step 1 as normal Step 2 - uncompress the files and upload the contents of the lib directory to the directory called Smarty-2.5.0 (in xcart/), confirming you wish to overwrite all files. Skip Steps 3 and 4 Do Step 5 as normal I recommend you do it the first way, but wanted to show you that you didn't have to create another smarty directory if you didn't want to
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#3
|
|||||||||
|
|||||||||
What are the advantages of the upgrade... That you have noticed?
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#4
|
|||||||||
|
|||||||||
The pages seem to be loading a lot quicker !
Heres a changelog from smarty: http://smarty.php.net/misc/NEWS Remember you are looking at the changes since 2.5.0 !!!!
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#5
|
|||||||
|
|||||||
Well my friend.. I think you're right, the pages do seem to load a little quicker! However, you have to place the Smarty 2.6.2 folder in the xcart directory (not the customer directory) Works fine so far, thanks to your brave adventure!
|
|||||||
#6
|
|||||||||
|
|||||||||
Quote:
You are right, my mistake (oops!!!) ... I've updated my post accordly.
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#7
|
|||||||
|
|||||||
I found 1 error with 2.6.2
Webmaster mode doesn't work for me in 2.6.2.
Any ideas? George
__________________
Dan. KingWebmaster, LLC Professional Website Development http://www.kingwebmaster.com http://www.autodataentry.com |
|||||||
#8
|
|||||||
|
|||||||
Re: I found 1 error with 2.6.2
Quote:
You got that right George. I have the same problem with Webmaster Mode breaking after upgrading to Smarty 2.6.2. Anyone have any thoughts?
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
#9
|
|||||||
|
|||||||
smarty 2.6.2
Its probably something simple.
If anyone figures it out, pleasde post the solution. The speed of the 2.6.2 was nice while it lasted.
__________________
Dan. KingWebmaster, LLC Professional Website Development http://www.kingwebmaster.com http://www.autodataentry.com |
|||||||
#10
|
|||||||
|
|||||||
Yep, fortunately I made an entire backup of my xcart directory before upgrading to 2.6.2. It probably is something simple, hopefully.
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
|
|||
X-Cart forums © 2001-2020
|