exponentcms / exponent-cms

Content Management, Simple.
exponentcms.org
GNU General Public License v2.0
60 stars 24 forks source link

Upgrade: Smarty v3.1.30+ vs 3.1.27 #1377

Closed exponentcms closed 4 years ago

exponentcms commented 4 years ago

There output anomalies when updating the Smarty template engine, the bug in v3.1.29 has been fixed which prevented custom plugin folders on non-unix systems in their repo, but the output still seems corrupted as the menus do not appear, etc...

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

Specifically, the compiler.switch.php and compiler.exp_include.php files must have minor changes. However, the issue with v3.1.30+ is that ajax output is not occurring as expected...e.g., the output page is an empty div.

exponentcms commented 4 years ago

Still having issues getting it to work...navbars do not appear, ajax calendars don't output...maybe tied to php version? Regardless, Caching still doesn't work for us!

exponentcms commented 4 years ago

It seems the issues with newer versions of Smarty only occur when running PHP v7.0 and earlier...it works in php v7.1?

exponentcms commented 4 years ago

We now ship the newest version of smarty (3.1.33), but also include the older version if php < v7.1.

exponentcms commented 4 years ago

Lighthouse URL: https://exponentcms.lighthouseapp.com/projects/61783/tickets/1333