Package: phpbb3 Version: 3.0.10-3 Severity: grave Tags: upstream patch Justification: renders package unusable
The package seems to be incompatible with PHP 5.4. When creating a new forum, it gives this PHP warning: "Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically" ...and, for some reason, apparently fails to create the forum. According to internet discussions, upstream is unwilling to properly change the syntax as suggested in the warning because it would break PHP 4 backwards compatibility. The suggested fix is therefore to edit the source code and add ~E_STRICT. Patch attached. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages phpbb3 depends on: ii apache2-mpm-worker [httpd] 2.2.22-9 ii dbconfig-common 1.8.47+nmu1 ii debconf [debconf-2.0] 1.5.44 ii mysql-client-5.5 [mysql-client] 5.5.24+dfsg-4 ii php5-cgi 5.4.4-2 ii php5-cli 5.4.4-2 ii php5-gd 5.4.4-2 ii php5-mysql 5.4.4-2 ii php5-sqlite 5.4.4-2 ii ucf 3.0025+nmu3 Versions of packages phpbb3 recommends: ii exim4 4.80-7 ii exim4-daemon-light [mail-transport-agent] 4.80-7 ii php5-imagick 3.1.0~rc1-1+b2 Versions of packages phpbb3 suggests: pn mysql-server | postgresql <none> pn phpbb3-l10n <none> -- debconf information excluded
--- ./includes/startup.php 2012-01-01 17:00:17.000000000 +0200 +++ /usr/share/phpbb3/www/includes/startup.php 2013-03-20 15:21:21.026932169 +0200 @@ -19,7 +19,7 @@ { define('E_DEPRECATED', 8192); } -error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); +error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT); /* * Remove variables created by register_globals from the global scope