Page 1 of 1

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result

Posted: 05 Feb 2025, 15:36
by ebule
Hi Team,

I am trying to deploy opencats server on my local PC, I have installed XAMP (V 7.2.33) with PHP7.2 and MariaDB 10, i am facing the error below when i open the url in web.

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\opencats-0.9.6\home\travis\build\opencats\OpenCATS\lib\DatabaseConnection.php on line 321

Br.

Re: Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result

Posted: 13 Jun 2025, 11:23
by boulesfairly
ebule wrote: ↑05 Feb 2025, 15:36 Hi Team,

I am trying to deploy opencats server on my local PC, I have installed XAMP (V 7.2.33) with PHP7.2 and MariaDB 10, i am facing the error below when i open the url in web.

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\opencats-0.9.6\home\travis\build\opencats\OpenCATS\lib\DatabaseConnection.php deltarune on line 321

Br.
If you're still having issues with the installation, double-check your PHP version and required extensions—OpenCATS can be picky about environment setup. Also, make sure file permissions are correct.