Package: mantis Version: 1.2.18-1 $ uname -a && cat /etc/debian_version Linux host 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u1 x86_64 GNU/Linux 7.8
I'm trying to install mantis-1.2.18-1, but unfortunately the ./admin/install.php page remains blank. It seems that upstream commit 75a4e8df1e6a79b has not be fully applied. ---- $ git show 75a4e8df1e6a79b admin/install.php admin/install_functions.php commit 75a4e8df1e6a79bab38f071cd6f033f194b22d8c Author: Victor Boctor <vic...@mantishub.com> Date: Sun Dec 29 13:25:35 2013 -0800 Fixes #16767: upgrade_unattended script is no longer working. diff --git a/admin/install.php b/admin/install.php index 466c02e..a3e8ed4 100644 --- a/admin/install.php +++ b/admin/install.php @@ -68,13 +68,6 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes echo "</tr>\n"; } -# -------- -# create an SQLArray to insert data -function InsertData( $p_table, $p_data ) { - $query = "INSERT INTO " . $p_table . $p_data; - return Array( $query ); -} - # install_state # 0 = no checks done # 1 = server ok, get database information diff --git a/admin/install_functions.php b/admin/install_functions.php index e59229b..f9ffcc4 100644 --- a/admin/install_functions.php +++ b/admin/install_functions.php @@ -256,3 +256,11 @@ function install_correct_multiselect_custom_fields_db_format() { # Return 2 because that's what ADOdb/DataDict does when things happen properly return 2; } + +# -------- +# create an SQLArray to insert data +function InsertData( $p_table, $p_data ) { + $query = "INSERT INTO " . $p_table . $p_data; + return Array( $query ); +} + ---- Function InsertData is still defined in ./admin/install.php. The following patch is enough: ---- diff -ur usr/share/mantis/www/admin/install.php /usr/share/mantis/www/admin/install.php --- usr/share/mantis/www/admin/install.php 2012-06-15 17:24:55.000000000 +0200 +++ /usr/share/mantis/www/admin/install.php 2015-01-28 22:20:41.000000000 +0100 @@ -120,13 +120,6 @@ echo "</tr>\n"; } -// -------- -// create an SQLArray to insert data -function InsertData($p_table, $p_data) { - $query = "INSERT INTO " . $p_table . $p_data; - return Array ($query ); -} - // install_state // 0 = no checks done // 1 = server ok, get database information ---- Regards, -- Bruno -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org