View Issue Details

IDProjectCategoryView StatusLast Update
0034911mantisbtadministrationpublic2024-10-27 06:57
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Target Version2.28.0 
Summary0034911: Admin checks: fatal error if PHP database extension is not available
Description

Executing the admin checks with $g_db_type set to a driver that is not available in PHP throws a fatal error

Additional Information
Fatal error: -1 in /Users/dregad/dev/mantisbt/mantis/core/error_api.php on line 95

Call Stack
#   Time    Memory  Function    Location
1   0.3122  1625928 error_exception_handler( $p_exception = class Error { protected $message = 'Call to undefined function oci_error()'; private $string = ''; protected $code = 0; protected $file = '/Users/dregad/dev/mantisbt/mantis/vendor/adodb/adodb-php/drivers/adodb-oci8.inc.php'; protected $line = 626; private $trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...]]; private $previous = NULL; public $xdebug_message = '<tr><th align=\'left\' bgcolor=\'#f57900\' colspan="5"><span style=\'background-color: #cc0000; color: #fce94f; font-size: x-large;\'>( ! )</span> Error: Call to undefined function oci_error() in /Users/dregad/dev/mantisbt/mantis/vendor/adodb/adodb-php/drivers/adodb-oci8.inc.php on line <i>626</i></th></tr>\n<tr><th align=\'left\' bgcolor=\'#e9b96e\' colspan=\'5\'>Call Stack</th></tr>\n<tr><th align=\'center\' bgcolor=\'#eeeeec\'>#</th><th align=\'left\' bgcolor=\'#eeeeec\'>Time</th><th align=\'left\' bgcolor=\'#eeeeec\'>Memory</th>'... } )
2   0.3122  1625960 trigger_error( $message = -1, $error_type = 256 )
TagsNo tags attached.

Activities

There are no notes attached to this issue.