#4377 closed defect (fixed)
replace old piecrust
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | blocker | Milestone: | Website Management, Bots |
Component: | website | Version: | master |
Keywords: | Cc: |
Description
Well another issue with new debbie.
It appears piecrust 1.2 is not supported anymore and doesn't work with PHP 7.3.
root@debbie:/var/www# sh postgis_website_update-git.sh Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; PEAR has a deprecated constructor More error details follow: Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; PEAR has a deprecated constructor More error details follow: chown: cannot access '_cache': No such file or directory chown: cannot access '_counter': No such file or directory
So we could move to PieCrust 3.0 which is based on python instead of PHP.
https://bolt80.com/piecrust/en/latest/docs/importing/piecrust1/
I will attempt this and if it doesn't work just try to patch what's broken in the php
Note:
See TracTickets
for help on using tickets.
Well upgrading to new PieCrust proved difficult cause it wanted python 3 and kept grabbing on to the python 2.7 and trying to debug Python code scares me more than debugging PHP code.
Trying to get the old to work with PHP 7.3 took me the whole day, but it's done and seems to be working.
We will eventually need to come up with another platform, but no eminent rush at the moment. We might want to go with sphinx since the sphinx libs I had to install to get the workshops building.