Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Smarty error

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-21-2009, 01:09 PM
 
valks1 valks1 is offline
 

Advanced Member
  
Join Date: Mar 2009
Posts: 48
 

Thumbs down Smarty error

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.

Click image for larger version

Name:	Screen.jpg
Views:	122
Size:	440.0 KB
ID:	1539
__________________
valks1
X Cart Gold 4.2
http://www.networkingsuperstore.co.uk
Reply With Quote
  #2  
Old 05-21-2009, 01:27 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Smarty error

It is a bug in 4.2. Upgrate to 4.2.1 or read the bugs forum for 4.2
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 05-21-2009, 11:21 PM
 
valks1 valks1 is offline
 

Advanced Member
  
Join Date: Mar 2009
Posts: 48
 

Default Re: Smarty error

Ok Great !!

How can i upgrade to 4.2.1 without loosing all my shop settings and designs ?
__________________
valks1
X Cart Gold 4.2
http://www.networkingsuperstore.co.uk
Reply With Quote
  #4  
Old 05-22-2009, 02:26 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default 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}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote

The following user thanks Victor D for this useful post:
2inchesofwater (07-29-2009)
  #5  
Old 05-22-2009, 03:22 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:36 PM.

   

 
X-Cart forums © 2001-2020