My arrowchat setup worked fine with phpbb for a long time but stopped working a while ago. I thought I had figured out when I realized I had forgotten to update the db password in arrowchat/includes/config when I changed that db password for my forum, but when I finally fixed that it didn't help. I turned on error reporting and I see the following three lines repeating in my php error log:
[09-Jul-2019 18:48:44 America/Detroit] PHP Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xyz/public_html/abcforum/arrowchat/includes/classes/class_database.php on line 687
[09-Jul-2019 18:48:44 America/Detroit] PHP Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home/xyz/public_html/abcforum/arrowchat/includes/classes/class_database.php on line 687
[09-Jul-2019 18:48:44 America/Detroit] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /home/xyz/public_html/abcforum/arrowchat/includes/classes/class_database.php on line 687
So my two questions are:
- how do I have arrowchat use mysqli rather than mysql extension (though this is obviously not the problem) and
- why isn't arrowchat properly reading my db_username and db_password entries in arrowchat/includes/config?
Thanks for any help.