Keywords: TestLink - Windows - Technical issue - Other
Description:
I'm trying to install TestLink in my local however, kept on encountering this error once TestLink attempts to create a connection to the DB server:
Fatal error: Uncaught TypeError: mysqli_close(): Argument #1 ($mysql) must be of type mysqli, bool given in C:\xampp\htdocs\TestLink\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php:822 Stack trace: #0 C:\xampp\htdocs\TestLink\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php(822): mysqli_close(false) #1 C:\xampp\htdocs\TestLink\vendor\adodb\adodb-php\adodb.inc.php(2414): ADODB_mysqli->_close() #2 C:\xampp\htdocs\TestLink\lib\functions\database.class.php(484): ADOConnection->Close() #3 C:\xampp\htdocs\TestLink\install\installNewDB.php(240): database->close() #4 {main} thrown in C:\xampp\htdocs\TestLink\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php on line 822
Here's what line 822 looks like: @mysqli_close($this->_connectionID);
I didn't do anything to the file being pertained to so I'm confused as to how am I going to solve this. Thanks!