Announcement

  •  » Engine
  •  » Please upgrade smarty to latest stable *** Critical if you run PHP 5.5

#1 2015-02-02 18:38:04

Serge D
Member
US
2014-07-15
383

Please upgrade smarty to latest stable *** Critical if you run PHP 5.5

Hi

currently PWG is using Smarty 3.1.13 which is now 2 years old build
there were number of improvements since and current version is 3.1.21
I did full substitution of "smarty" folder
first experience seems to be that everything is working

now about "why"
* latest version
* 100+ bug fixes, improvements, proper PHP 5.5 support
* run into issue with smarty|capitalize support not working due to deprecated REGEX flag used and it was addressed long time ago (build 3.1.14-27.06.2013). Replacing Smarty solved the issue

Offline

 

#2 2015-02-02 19:08:45

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Please upgrade smarty to latest stable *** Critical if you run PHP 5.5

no problem for me
same branch we should not have any issue

Offline

 

#3 2015-02-11 21:40:34

nicolas
Former Piwigo Team
2004-12-30
1232

Re: Please upgrade smarty to latest stable *** Critical if you run PHP 5.5

I found an issue with smarty 3.1.21 because of underscore template delimiters.
The issue was introduced in 3.1.21. It works with 3.1.20 and it will be fixed in 3.1.22 even if release has not been published.

Offline

 

#4 2015-04-24 22:24:10

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Please upgrade smarty to latest stable *** Critical if you run PHP 5.5

3.1.22 is still not released but encountered a behavior change with 3.1.21:
{if $IS_PICTURE} will throw an error if $IS_PICTURE is not defined, previously it assumed a falsy value

I consider this as a breaking change for plugins thus I think we will at least wait 2.8 to update Smarty

Offline

 
  •  » Engine
  •  » Please upgrade smarty to latest stable *** Critical if you run PHP 5.5

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact