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

Attention users of X-Cart vv.4.0.x - 4.7.1

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #71  
Old 05-11-2015, 05:49 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Not only shipping. Break everything user related - addresses, other info as well. I believe this was taken out from the modified patches.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
BCSE (05-12-2015)
  #72  
Old 05-12-2015, 12:05 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,091
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by cflsystems
Not only shipping. Break everything user related - addresses, other info as well. I believe this was taken out from the modified patches.

So I need to download patches again for all versions, ugg..

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote

The following user thanks BCSE for this useful post:
cherie (05-12-2015)
  #73  
Old 05-12-2015, 12:19 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Yes. And you need to manually apply only the actual change on 4.1.x and 4.2.x in func.cart.php from their last version as the code changed a lot and if just copy/paste will break the shipping...
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
aim (05-12-2015)
  #74  
Old 05-12-2015, 04:11 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,091
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by cflsystems
Yes. And you need to manually apply only the actual change on 4.1.x and 4.2.x in func.cart.php from their last version as the code changed a lot and if just copy/paste will break the shipping...

Yeah we manually apply each and every patch. Works better that way.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #75  
Old 05-15-2015, 12:41 AM
 
mixon mixon is offline
Michael Bugrov
 

X-Cart team
  
Join Date: Jul 2005
Posts: 91
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Hi, guys!

We've recently found out that the behavior of the smarty modificator http://www.smarty.net/docs/en/language.modifier.default.tpl in smarty3 (4.7.x) differs from the behavior in smarty2 (46x).

The default smarty modificator won't work for 0 or false values, thus to make it work like in previous versions, we strongly recommend to delete the file include/lib/smarty3/plugins/modifiercompiler.default.php from the 4.7.х X-Cart installation (invoke: rm include/lib/smarty3/plugins/modifiercompiler.default.php via SSH / FTP).

After that you should delete the var/templates_c folder from the 4.7.x installation. It can be done manually via SSH / FTP or via cleanup.php tool.
Since this folder cannot be removed via admin backend e.g. admin/tools.php unfortunately.
__________________
--
Sincerely yours,
Michael Bugrov,
X-Cart Software Architector

founder of: X-Monitoring service
founder of: Infinite scroll

Facebook
Linked-in
Reply With Quote
  #76  
Old 05-15-2015, 09:03 AM
 
bugaminute bugaminute is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 126
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Just updated to 4.7.1 and got

line 55 [15-May-2015 12:06:03 America/New_York] PHP Fatal error: Out of memory (allocated 85458944) (tried to allocate 73924608 bytes) in XXXXXXXXX/include/lib/smarty3/Smarty.class.php on line 1616

SSH'd to site and whacked the var/templates_c folder and let system establish it.

The cured the blank page on the product details pages
__________________
Xcart Version Gold 4.7.12
Prod Sys- Debian 9 Stretch
Prod Sys - Apache/2.4.25 (Debian)
CDSEO Pro- 2.2
Mysql Community Edition 5.7.32
PHP 7.3
Reply With Quote
  #77  
Old 05-17-2015, 09:43 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by bugaminute
Just updated to 4.7.1 and got

line 55 [15-May-2015 12:06:03 America/New_York] PHP Fatal error: Out of memory (allocated 85458944) (tried to allocate 73924608 bytes) in XXXXXXXXX/include/lib/smarty3/Smarty.class.php on line 1616

SSH'd to site and whacked the var/templates_c folder and let system establish it.

The cured the blank page on the product details pages

You have 3 variants

1)Upgrade to 4.7.2 (recommended)
2)Apply the patch debug_SmartyException.diff
3)Overwrite your xcart_dir/include/lib/smarty3/Smarty.class.php file with x-cart4.7.2/include/lib/smarty3/Smarty.class.php file
Attached Files
File Type: diff debug_SmartyException.diff (655 Bytes, 1 views)
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #78  
Old 05-18-2015, 04:03 AM
 
bugaminute bugaminute is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 126
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Ildar

Thanks for the replay. Yes, I had already deleted the templates_c folder wich is how I got 4.7.1 working. Just now I overwrote it with the Smarty.class.php from 4.7.2. This did not solve another issue

http://forum.x-cart.com/showthread.php?p=386729#post386729

Is this related? Or should I open a new Bug Issue?

Thanks

Nick
__________________
Xcart Version Gold 4.7.12
Prod Sys- Debian 9 Stretch
Prod Sys - Apache/2.4.25 (Debian)
CDSEO Pro- 2.2
Mysql Community Edition 5.7.32
PHP 7.3
Reply With Quote
  #79  
Old 05-18-2015, 04:10 AM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by bugaminute
Ildar

Thanks for the replay. Yes, I had already deleted the templates_c folder wich is how I got 4.7.1 working. Just now I overwrote it with the Smarty.class.php from 4.7.2. This did not solve another issue

http://forum.x-cart.com/showthread.php?p=386729#post386729

Is this related? Or should I open a new Bug Issue?

Thanks

Nick

Please, check if you have this code in the
include/lib/smarty3/Smarty.class.php
file
lines 1610-1618

Code:
class SmartyException extends Exception { public static $escape = false; public function __toString() { return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- '; } }
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #80  
Old 05-18-2015, 09:21 AM
 
bugaminute bugaminute is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 126
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Yes it does.

Nick
__________________
Xcart Version Gold 4.7.12
Prod Sys- Debian 9 Stretch
Prod Sys - Apache/2.4.25 (Debian)
CDSEO Pro- 2.2
Mysql Community Edition 5.7.32
PHP 7.3
Reply With Quote
Reply
   X-Cart forums > News and Announcements


Thread Tools

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:23 AM.

   

 
X-Cart forums © 2001-2020