[ZBX-9898] blank page if config file present but no database support Created: 2015 Sep 22  Updated: 2022 Sep 06  Resolved: 2015 Oct 14

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.0alpha2
Fix Version/s: 3.0.0alpha3

Type: Incident report Priority: Minor
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: debugging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-6874 Disabling requested database PHP exte... Closed

 Description   

have a working zabbix frontend, remove the configured database support.
now the frontend only returns blank page, no error messages in the browser or webserver logs at all.



 Comments   
Comment by vitalijs.cemeris (Inactive) [ 2015 Sep 29 ]

(1) No translation strings changed.

sasha CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2015 Sep 29 ]

RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-9898

Comment by Alexander Vladishev [ 2015 Sep 29 ]

(2) The error message should be translatable

sasha The message will be untranslatable because database is inaccessible in this place. WON'T FIX.

Comment by Alexander Vladishev [ 2015 Sep 29 ]

(3) The check for supported databases must be located in ZBase::initDB()

vitalijs.cemeris RESOLVED in r55765

sasha CLOSED

Comment by Alexander Vladishev [ 2015 Oct 13 ]

(4) Please undo all changes db.inc.php except strtoupper()

vitalijs.cemeris RESOLVED in r56107

sasha CLOSED

Comment by Alexander Vladishev [ 2015 Oct 13 ]

(5) Take a look at my changes in r56089

  • fixed order of the elements in the arrays
  • removed duplicates
  • removed incorrectly added functions pg_connect_escape and db2_attr_case
  • added check for function pg_fetch_assoc

vitalijs.cemeris CLOSED

Comment by Alexander Vladishev [ 2015 Oct 13 ]

(6) This code must be removed

frontends/php/include/classes/setup/CSetupWizard.php:25

require_once realpath(dirname(__FILE__).'/../../../include/db.inc.php');

vitalijs.cemeris RESOLVED in r56107

sasha CLOSED

Comment by Alexander Vladishev [ 2015 Oct 13 ]

(7) Take a look at my changes in r56091, r56092

vitalijs.cemeris CLOSED

Comment by Alexander Vladishev [ 2015 Oct 13 ]

Successfully tested! Please close (5) and (7) before a merge.

Comment by vitalijs.cemeris (Inactive) [ 2015 Oct 13 ]

Fixed in pre-3.0.0alpha3 (trunk) r56115

Generated at Sat Apr 27 03:52:17 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.