X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Smarty error (https://forum.x-cart.com/showthread.php?t=47691)

valks1 05-21-2009 01:09 PM

Smarty error
 
1 Attachment(s)
Hi

When my products are being displayed, i have an error showing in the centre.
Can anyone advise on how i can get rid of this by fixing the problem ?

Please see the attached screen dump.

Attachment 1539

cflsystems 05-21-2009 01:27 PM

Re: Smarty error
 
It is a bug in 4.2. Upgrate to 4.2.1 or read the bugs forum for 4.2

valks1 05-21-2009 11:21 PM

Re: Smarty error
 
Ok Great !!

How can i upgrade to 4.2.1 without loosing all my shop settings and designs ?

Victor D 05-22-2009 02:26 AM

Re: Smarty error
 
4.2.1 is mostly a bugfix release so upgrade is possible. But I recommend to make a test upgrade of your live store CLONE and try to upgrade this clone first.

check this http://forum.x-cart.com/showthread.php?t=46853

PS
To fix this particular bug only
replace in your skin1/customer/main/subcategories.tpl
Code:

{math equation="x+15" assign="standoff" x=$current_category.image_x}

with
Code:

{math equation="x+15" assign="standoff" x=$current_category.image_x|default:0}

cflsystems 05-22-2009 03:22 AM

Re: Smarty error
 
You won't lose your settings and design. Depends of customized your store is and 3rd party mods the upgrade process could be a pain sometimes. 4.2.1 fixes a lot more then just this bug and I recommend you to upgrade. But like Victror says do it on test store first


All times are GMT -8. The time now is 01:59 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.