View Issue Details

IDProjectCategoryView StatusLast Update
0022091mantisbtdb postgresqlpublic2020-06-19 13:35
Reporterordina_beheer Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version1.3.4 
Summary0022091: install.php raises "BAD - Does administrative user have access to the database?"
Description

When running install.php out of the box, the forenamed message is raised. We suspect due to the missing $f_database_name on line 405:

$ diff -u install.php install.php-original
--- install.php 2016-12-28 12:04:10.000000000 +0100
+++ install.php-original 2016-11-27 06:30:35.000000000 +0100
@@ -402,7 +402,7 @@
<?php
$t_db_open = false;
$g_db = ADONewConnection( $f_db_type );

  • $t_result = @$g_db->Connect( $f_hostname, $f_admin_username, $f_admin_password, $f_database_name );
  • $t_result = @$g_db->Connect( $f_hostname, $f_admin_username, $f_admin_password );

    if( $t_result ) {

Steps To Reproduce

Just run install.php when a PostgreSQL database is used with a non-default name (which is postgres).
After adding the $f_database_name, the install runs just fine.

TagsNo tags attached.

Relationships

related to 0026604 closeddregad Problem with upgrade 

Activities

atrol

atrol

2017-01-02 02:21

developer   ~0054889

Confirmed by a user in forum for 2.0.0
http://www.mantisbt.org/forums/viewtopic.php?f=3&amp;t=24278

ordina_beheer

ordina_beheer

2020-06-19 05:04

reporter   ~0064111

Hello, after another upgrade we still bump into this bug. I know it's confirmed, a fix is provided by us, we know the issue is minor. When will a fix be applied in a next version?

Cheers,

Ordina Beheer.