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.kna...@coredump.us



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to