Announcement

  •  » Engine
  •  » Smarty 3 upgrade

#31 2013-04-15 11:37:52

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Smarty 3 upgrade

Thank you flop25, bad news :-/

Offline

 

#32 2013-04-15 20:02:11

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Smarty 3 upgrade

Hi :-)

on
http://www.smarty.net/forums/viewtopic.php?t=18429

I finally found out the reason about Smarty not working on my server.
It is NOT related to the PHP version but to a PHP.INI setting: zend.ze1_compatibility_mode

My production server was set to zend.ze1_compatibility_mode=On which DISABLE passing objects by reference.

We switched it to Off and now it works as expected.

So Smarty should work with any version of PHP (not from 5.2) according that setting is set to OFF. You may write this somewhere in the documentation though, as it took me one week to sort this out!

on free

zend.ze1_compatibility_mode    Off    Off

it should be necessary to test


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#33 2013-04-15 21:09:00

flop25
Piwigo Team
2006-07-06
7037

Re: Smarty 3 upgrade

Thank you! Maybe my free host is still enable :-)


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#34 2013-05-20 18:49:04

flop25
Piwigo Team
2006-07-06
7037

Re: Smarty 3 upgrade

Just checked the basic demo provided with Smarty3 and that works with only "php 1", because "zend.ze1_compatibility_mode    Off    Off" is set on Free


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 
  •  » Engine
  •  » Smarty 3 upgrade

Board footer

Powered by FluxBB

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