kolber / stacey

Cheap & easy content management
http://staceyapp.com
MIT License
1.04k stars 132 forks source link

Update for php 7.1+ (Stacey 3 only) #161

Open o-l-e opened 5 years ago

o-l-e commented 5 years ago

Hi i just had a site i made for a friend stop working recently, because his host stopped supporting php 5.6 and 7.0.

So i got some great help from my friend @pauliusef to create a fix for this. I hope this could be of help to others, and feel free to request a pull for this (even if it is not maintained any longer) so others can find if needed.

Anyway, to use this fix, replace the following files:

  1. page-data.inc.php in the app folder
  2. twig-extensions.inc.phpin the extensions folder

stacey3-php-7.1+.zip

Ole

shamlian commented 5 years ago

Have you submitted a pull request?

o-l-e commented 5 years ago

No @shamlian, but feel free to do it if you can.

shamlian commented 5 years ago

No @shamlian, but feel free to do it if you can.

I'd like to test it, first. Or perhaps you friend @pauliusef who did the work would like the credit? I just updated my site to Stacey v3 with php 7.3 and am not running into this issue.

domenicomazza commented 5 years ago

FYI all of my Stacey 3 installations are fine. I'm running PHP 7.2.10 with Nginx as the web server.

kariemil commented 5 years ago

Would be exciting to see a 3.0.1 😍