Package: mlmmj-php-web
Version: 1.5.2-1
Severity: grave
Tags: upstream patch
Justification: renders package unusable
Dear Maintainer,
This script uses a PHP4-style class constructor, which was backward compatible
in PHP 5, but no longer works in PHP 7 or 8. It doesn't cause it to throw
errors, it just causes nothing to actually happen when the script runs.
Fortunately, this is an extremely trivial thing to fix. I am providing a patch
that resolves this issue.
--- /usr/share/mlmmj-php-web/mlmmj.php/mlmmj.php.orig 2025-06-07
23:42:07.000000000 -0400
+++ /usr/share/mlmmj-php-web/mlmmj.php/mlmmj.php 2025-10-12
14:06:56.460328471 -0400
@@ -53,7 +53,7 @@
// die($string);
}
- function mlmmj()
+ function __construct()
{
// set mandatory vars...
$this->errors = FALSE;
Additionally...
The README file disributed with Trixie for this package is the wrong one.
The file in Trixie's /usr/share/doc/mlmmj-php-web is actually the one from the
mlmmj-php-web-admin package. The README found in the Bookworm package is
the correct README for mlmmj-php-web
-- System Information:
Debian Release: 12.12
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500,
'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-37-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set
to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mlmmj-php-web depends on:
ii mlmmj 1.3.0-4
ii php8.2 [php] 8.2.29-1~deb12u1
mlmmj-php-web recommends no packages.
mlmmj-php-web suggests no packages.
-- no debconf information