View Single Post
  #25  
Old 05-15-2015, 12:39 AM
 
mixon mixon is offline
Michael Bugrov
 

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

Default Re: We've released 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. This folder cannot be removed via admin backend e.g. admin/tools.php.
__________________
--
Sincerely yours,
Michael Bugrov,
X-Cart Software Architector

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

Facebook
Linked-in
Reply With Quote