Situation
Hey team,
For some reason, I am unable to login to openemr anymore. The error seem to be DB related, but I am pretty sure everything is in place as nothing was changed in my local.
OpenEMR Version
I’m using OpenEMR version openemr-7.0.2
Browser:
I’m using: Chrom and Firefox
Operating System
I’m using: Windows 10
Search
Did you search the forum for similar questions? Yes, nothing have worked for me
Logs
Did you check the logs?
'Fatal error : Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in C:\xampp\htdocs\openemr\openemr-7.0.2\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php:1370 Stack trace: #0 C:\xampp\htdocs\openemr\openemr-7.0.2\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php(1370): mysqli_query(false, 'SET NAMES ‘utf8…’, 0) #1 C:\xampp\htdocs\openemr\openemr-7.0.2\vendor\adodb\adodb-php\adodb.inc.php(1613): ADODB_mysqli->_query('SET NAMES ‘utf8…’, false) #2 C:\xampp\htdocs\openemr\openemr-7.0.2\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php(1113): ADOConnection->_Execute('SET NAMES ‘utf8…’) #3 C:\xampp\htdocs\openemr\openemr-7.0.2\library\ADODB_mysqli_log.php(60): ADODB_mysqli->execute('SET NAMES ‘utf8…’, false) #4 C:\xampp\htdocs\openemr\openemr-7.0.2\library\sql.inc.php(66): ADODB_mysqli_log->ExecuteNoLog(‘SET NAMES ‘utf8…’) #5 C:\xampp\htdocs\openemr\openemr-7.0.2\interface\globals.php(301): require_once(‘C:\xampp\htdocs…’) #6 C:\xampp\htdocs\openemr\openemr-7.0.2\interface\login\login.php(41): require_once(‘C:\xampp\htdocs…’) #7 {main} thrown in C:\xampp\htdocs\openemr\openemr-7.0.2\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php on line 1370’