Skip to content

Commit

Permalink
Merge pull request #1921 from phili67/phili67-bootstraper-minor-bug-res
Browse files Browse the repository at this point in the history
Boostraper : minor bug resolution
  • Loading branch information
phili67 committed Oct 2, 2021
2 parents 345137c + 57ff040 commit ee34e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EcclesiaCRM/Bootstrapper.php
Expand Up @@ -172,8 +172,8 @@ private static function testMYSQLI()
SystemConfig::init();
}
// Log the error to the application log, and show an error page to user.
LoggerUtils::getAppLogger()->error("ERROR connecting to database at '".self::$databaseServerName."' on port '".self::$databasePort."' as user '".$sUSER."' - MySQL Error: '".$sMYSQLERROR."'");
Bootstrapper::system_failure('Could not connect to MySQL on <strong>'.self::$databaseServerName.'</strong> on port <strong>'.self::$databasePort.'</strong> as <strong>'.$sUSER.'</strong>. Please check the settings in <strong>Include/Config.php</strong>.<br/>MySQL Error: '.$sMYSQLERROR, 'Database Connection Failure');
LoggerUtils::getAppLogger()->error("ERROR connecting to database at '".self::$databaseServerName."' on port '".self::$databasePort."' as user '".self::$databaseUser."' - MySQL Error: '".$sMYSQLERROR."'");
Bootstrapper::system_failure('Could not connect to MySQL on <strong>'.self::$databaseServerName.'</strong> on port <strong>'.self::$databasePort.'</strong> as <strong>'.self::$databaseUser.'</strong>. Please check the settings in <strong>Include/Config.php</strong>.<br/>MySQL Error: '.$sMYSQLERROR, 'Database Connection Failure');
}
}

Expand Down

0 comments on commit ee34e10

Please sign in to comment.