Hello Ron.

On 10/25/25 18:53, Ron Guerin wrote:
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;

Thanks, this applied immediately, just like the other patch
(applied to source package file contrib/web/php-user/mlmmj.php)

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

I'll see if I can figure out what happened here. The source of MLMMJ was different from Bookworm to Trixie due to a new upstream maintainer taking over.

   -- Chris

Chris Knadle
[email protected]

Reply via email to