2pisoftware / cmfive

DEPRECATED! Please see https://github.com/2pisoftware/cmfive-core for new version
http://cmfive.com
4 stars 4 forks source link

Working with PHP7 #227

Closed adam-buckley closed 4 years ago

adam-buckley commented 8 years ago

At the moment, the Creole wiki parser is throwing a heap of E_DEPRECATED errors in PHP7, that's because the developer used the name of the class as the constructor. Since Creole hasn't been updated in 5+ years, I would recommend forking the project and updating it ourselves.

At the moment, we can hide errors by setting the error_reporting flags in the index.php file:

error_reporting(E_ALL & ~E_DEPRECATED);

But this is what it looks like when you don't: screenshot_2016-11-11_06-54-30

careck commented 8 years ago

This seems to be an abandoned code base and we should just make the changes on our copy.

adam-buckley commented 8 years ago

Fixed Creole library in b5f6dec1e2515518686414bcf4d754a5d601ce5d, will leave this issue open for any other PHP7 issues