If this sounds familiar...it is. There were compatibility issues with PHP 5.6 that went unfixed in phpBB 3.0.11 - 3.0.13 even though the fixes had been implemented in the late alpha versions of phpBB 3.1. (It is interesting that the PHP 5.6 compatibility issues were fixed in phpBB 3.0.13-PL1, which was released after 3.1.0. But I digress.)
I wasn't willing to allow this to happen again. I had already fixed the PHP 7.0 compatibility issues in the php-bbdr project, so I decided to migrate those fixes to phpBB 3.1.
- php7fix.zip
- 15.57 KiB | Downloaded 1022 times
The attached ZIP archive contains a program that will automatically patch your phpBB 3.1.9+ installation. It has some requirements to use, so please follow the instructions in the README.TXT file in the archive.
If you have problems which cannot be resolved, restore the original files, then restore the _bocodes table from the ACP Database Restore page. I would also appreciate your posting a note here describing your problems.
In addition to PHP 7.0 support, these files also add support for emojis if your version of PHP has the mbstring extension installed. This isn't the image-based junk in WordPress and phpBB 3.2, it's real emoji support. And it works without the need to mess with "mb4" collations in your database. That means you can add emojis in posts, forum descriptions, ranks, censored words...whatever. You can add them in forum names and topic titles as well, but support there is limited. If you want full emoji support, please use php-bbdr.