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

X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 04-30-2012, 08:41 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

Since QT just released that probably all non-standard XC mods will not function properly until patched by their developers. This is normal. I personally would suggest anyone using anything before 4.5.x not to upgrade or to upgrade if this will be new store. The patch will work only on XC files and if you have custom skin not using one of the default XC skins as base then the patch will not apply to it - you need to manually go over all files and update them. And of course all 3rd party mods and customizations....
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #12  
Old 04-30-2012, 11:36 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

On a clean 4.5.0 install the upgrade runs without any issues. There is a problem with it though - after smarty is upgraded the ajax add to cart on product details pages doesn't work. It reloads the page. On product details page the ajax add to cart works. Please fix
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #13  
Old 05-01-2012, 10:13 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

Quote:
Originally Posted by cflsystems
On a clean 4.5.0 install the upgrade runs without any issues. There is a problem with it though - after smarty is upgraded the ajax add to cart on product details pages doesn't work. It reloads the page. On product details page the ajax add to cart works. Please fix

I'm sorry, but it seems I failed to replicate this problem. Could you please let me know if there are any error records in X-Cart error logs?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #14  
Old 05-02-2012, 08:18 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

There are no errors. Perhaps I wasn't clear - the "buy now" button on products list pages works and adds to cart but instead of doing it in the background it reloads the page. The "add to cart" button on product details page works as it should - without reloading the page
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #15  
Old 05-03-2012, 11:21 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

OK, I see. I tried the same steps in the featured products section list on the ideal comfort skin on the home page. I got product added without any page reload. Probably there is some admin backend option difference.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #16  
Old 05-04-2012, 08:19 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

There were no changes to XC, just as it is installed, applied the patch and the button stops working. Try any other skin and you will see it not working.

JFYI so you can fix that upgrade
1. Ideal Comfort - skin loads, button works
2. Books & Magazines - skin loads, button doesn't work
3. Light & Lucid - skin loads, button doesn't work
4. Artistic Tunes - skin doesn't load at all - error
Code:
PHP Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/blacksea/xcart450smarty/skin/artistictunes_business/customer/bread_crumbs.tpl" on line 5 "{if $location and not($main eq "catalog" and $current_category.category eq "")}" unknown function "not"' in /var/www/blacksea/xcart450smarty/include/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:627 Stack trace:
5. Fashion Mozaic - skin loads, buttons doesn't work
6. Vivid Dreams - skin loads, button doesn't work
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following 2 users thank cflsystems for this useful post:
Duramax 6.6L (05-04-2012), qualiteam (05-07-2012)
  #17  
Old 05-05-2012, 02:11 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

Just my observation - seems like XC 4.5.0 gets slower with Smarty3 upgrade. I thought Smarty 3 is supposed to be faster and more efficient....
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #18  
Old 05-07-2012, 02:33 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

Quote:
Originally Posted by cflsystems
Just my observation - seems like XC 4.5.0 gets slower with Smarty3 upgrade. I thought Smarty 3 is supposed to be faster and more efficient....

I've done several tests and sometimes Smarty3 works faster, but not always.
Obviously the speed is almost the same (since no specific Smarty3 features used).

I cannot perform a complete test at the moment as it requires a dedicated server.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions

Last edited by qualiteam : 05-07-2012 at 02:38 AM.
Reply With Quote
  #19  
Old 05-07-2012, 03:57 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

Quote:
4. Artistic Tunes - skin doesn't load at all - error

The issue has been fixed. I've updated the pack.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions

Last edited by qualiteam : 05-07-2012 at 04:09 AM.
Reply With Quote
  #20  
Old 05-07-2012, 08:17 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)

Quote:
Originally Posted by qualiteam
The issue has been fixed. I've updated the pack.

Only the skin not loading issue or the buy now button issue as well?
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 07:04 AM.

   

 
X-Cart forums © 2001-2020