Debian Bug report logs - #677817
[mlmmj-php-web-admin] PHP files need to be in a subdirectory, or need editing

version graph

Package: mlmmj-php-web-admin; Maintainer for mlmmj-php-web-admin is Christopher Knadle <Chris.Knadle@coredump.us>; Source for mlmmj-php-web-admin is src:mlmmj (PTS, buildd, popcon).

Reported by: Chris.Knadle@coredump.us

Date: Sat, 16 Jun 2012 23:06:01 UTC

Severity: important

Found in version mlmmj/1.2.18.0-1

Fixed in version mlmmj/1.2.18.0-2

Done: Thomas Goirand <zigo@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, MLMMJ packaging team <pkg-mlmmj-devel@lists.alioth.debian.org>:
Bug#677817; Package mlmmj-php-web-admin. (Sat, 16 Jun 2012 23:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to Chris.Knadle@coredump.us:
New Bug report received and forwarded. Copy sent to MLMMJ packaging team <pkg-mlmmj-devel@lists.alioth.debian.org>. (Sat, 16 Jun 2012 23:06:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Knadle <Chris.Knadle@coredump.us>
To: submit@bugs.debian.org
Subject: [mlmmj-php-web-admin] PHP files need to be in a subdirectory, or need editing
Date: Sat, 16 Jun 2012 19:03:52 -0400
Package: mlmmj-php-web-admin
Version: 1.2.18.0-1
Severity: important

Greeetings Thomas Goirand and thanks for uploading mlmmj version 1.2.18.0.

In the mlmmj source package, the PHP files for mlmmj-php-web-admin are 
contained in a subdirectory /htdocs, but this directory doesn't exist after 
the binary package for mlmmj-php-web-admin is built and the PHP files are thus 
moved up one directory.  These files all look UP one directory and then try to 
traverse down into /conf and /templates, which causes an error of these files 
not being found, because that's not where they are.

The end result is the web browser shows a blank page.  The error in web server 
logs is:
-----------------------------
PHP Fatal error:  require(): Failed opening required 
'/usr/share/conf/config.php' (include_path='/usr/share/mlmmj-php-web-admin') 
in /usr/share/mlmmj-php-web-admin/index.php on line 29


and line 29 is:
require(dirname(dirname(__FILE__))."/conf/config.php");


I think the cleanest fix would be to edit the debian/rules to install these 
PHP files in /htdocs like exists in the upstream source.

Thanks.

  -- Chris

--
Chris Knadle
Chris.Knadle@coredump.us




Reply sent to Thomas Goirand <zigo@debian.org>:
You have taken responsibility. (Thu, 21 Jun 2012 16:51:11 GMT) (full text, mbox, link).


Notification sent to Chris.Knadle@coredump.us:
Bug acknowledged by developer. (Thu, 21 Jun 2012 16:51:11 GMT) (full text, mbox, link).


Message #10 received at 677817-close@bugs.debian.org (full text, mbox, reply):

From: Thomas Goirand <zigo@debian.org>
To: 677817-close@bugs.debian.org
Subject: Bug#677817: fixed in mlmmj 1.2.18.0-2
Date: Thu, 21 Jun 2012 16:48:39 +0000
Source: mlmmj
Source-Version: 1.2.18.0-2

We believe that the bug you reported is fixed in the latest version of
mlmmj, which is due to be installed in the Debian FTP archive:

mlmmj-php-web-admin_1.2.18.0-2_all.deb
  to main/m/mlmmj/mlmmj-php-web-admin_1.2.18.0-2_all.deb
mlmmj-php-web_1.2.18.0-2_all.deb
  to main/m/mlmmj/mlmmj-php-web_1.2.18.0-2_all.deb
mlmmj_1.2.18.0-2.debian.tar.gz
  to main/m/mlmmj/mlmmj_1.2.18.0-2.debian.tar.gz
mlmmj_1.2.18.0-2.dsc
  to main/m/mlmmj/mlmmj_1.2.18.0-2.dsc
mlmmj_1.2.18.0-2_amd64.deb
  to main/m/mlmmj/mlmmj_1.2.18.0-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 677817@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated mlmmj package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 21 Jun 2012 05:50:52 +0000
Source: mlmmj
Binary: mlmmj mlmmj-php-web mlmmj-php-web-admin
Architecture: source amd64 all
Version: 1.2.18.0-2
Distribution: unstable
Urgency: low
Maintainer: MLMMJ packaging team <pkg-mlmmj-devel@lists.alioth.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Description: 
 mlmmj      - mail server independent mailing list manager
 mlmmj-php-web - web interface for mlmmj, written in php
 mlmmj-php-web-admin - administrative web interface for mlmmj, written in php
Closes: 617241 617248 677817 677819
Changes: 
 mlmmj (1.2.18.0-2) unstable; urgency=low
 .
   * Fixes path to web files, now conf files are in /etc (Closes: #677817),
   thanks to Chris Knadle <Chris.Knadle@coredump.us> for reporting.
   * Fixed README.Debian as suggested by Reuben Thomas <rrt@sc3d.org>
   (Closes: #617241).
   * Tells about nobody / nogroup rights in README.Debian (Closes: #617248),
   thanks to Reuben Thomas <rrt@sc3d.org> for reporting.
   * Reference correctly install path in the README.Debian of the
   mlmmj-php-web-admin package thanks to Chris Knadle <Chris.Knadle@coredump.us>
   for reporting (Closes: #677819).
Checksums-Sha1: 
 b075da0c040971e3d5cec67448a8082815b86a1f 1367 mlmmj_1.2.18.0-2.dsc
 0462d77140d34b84c0e8be15eb484d748d374cd0 24094 mlmmj_1.2.18.0-2.debian.tar.gz
 4ee8af5f77c2a8d10a12f4ab551a9a1e1dd3674e 279610 mlmmj_1.2.18.0-2_amd64.deb
 5a1b3463bcd4b52c47483fc7db28fcd1b7cbf6a4 22166 mlmmj-php-web_1.2.18.0-2_all.deb
 80b904a03d30f091efb1c718eedab44c72eed97c 41224 mlmmj-php-web-admin_1.2.18.0-2_all.deb
Checksums-Sha256: 
 91f5f57cae0705a66e7264d46a6243d6096a32286347deb00b097efcc6479662 1367 mlmmj_1.2.18.0-2.dsc
 14017542011565ab040e87c7cff1e130f80e127b2cf46c65275829c7783b1c06 24094 mlmmj_1.2.18.0-2.debian.tar.gz
 0fe6b364a4aa07d3b67630b48ac8ac15a3139e3b23c30d7bdaf34c291d666566 279610 mlmmj_1.2.18.0-2_amd64.deb
 2897d480a39fdb36b723e0e7cff2764ec6686903a6e8f1c221e4adc121ab0cf7 22166 mlmmj-php-web_1.2.18.0-2_all.deb
 a83efd4d675e690b3327afc47cfb0bf75101efbe994f973f7ab4f7b13a545e0a 41224 mlmmj-php-web-admin_1.2.18.0-2_all.deb
Files: 
 1e6afe7df2647c45d541fb1b754d63ff 1367 mail optional mlmmj_1.2.18.0-2.dsc
 c515de6632ef8e302b533da90a599a1e 24094 mail optional mlmmj_1.2.18.0-2.debian.tar.gz
 aad3e5967a78409ba7b80d85faeebeeb 279610 mail optional mlmmj_1.2.18.0-2_amd64.deb
 59285a0bb845107640ad7a4b7f6eb073 22166 mail optional mlmmj-php-web_1.2.18.0-2_all.deb
 52dcf8161e02ae4060c430da095f5766 41224 mail optional mlmmj-php-web-admin_1.2.18.0-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk/jTVUACgkQl4M9yZjvmkkIjgCeJe7jodxD1Wo2jBY7gcsEfPI4
440AnRoV5GSOr60IPOcTEzwyhZog9h/7
=C8K3
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 30 Jul 2012 07:26:37 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 12:47:13 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.