MLF and PHP 8: state of the mission (Bugs)

by Auge ⌂, Monday, May 02, 2022, 10:28 (719 days ago) @ Auge


So we are ready to release a first PHP-8-aware version of MLF2.

After my report about a failing installation attempt, Micha inserted the necessary fixes into the repository. I installed the forum with his changes and succeeded. With enabled error reporting to the browser window, I found a leftover occurence of strftime (a deprecated function) in the script user.inc.php which I solved and a message about the deprecated use of trim with an empty (NULL) string. So I searched for "trim" and found a bunch of occurences without a previous check for content in the processed variables.

After that I tried to install the version 2.4.23 to perform an update afterwards, what failed in a first step because I had to change from PHP 8.1 back to 7.4 before. :-D Then I checked which changes we need for the update script (SQL-queries, list of files to create and overwrite) and found a few inconsistences between the update script and the SQL-file for the installation. That's the time when yesterday ended. I will continue the work today in the evening.

Tschö, Auge

Trenne niemals Müll, denn er hat nur eine Silbe!

Complete thread:

 RSS Feed of thread