Hi Steve.
I'm still trying to figure this one out.
I get 3 errors. I think only this first one is a real problem.
[03-Jan-2024 03:37:30 UTC] PHP Warning: mysqli_connect(): (HY000/2002): No such file or directory in /home/mou16122/public_html/postals/xataface-2.2.5/xf/db/drivers/mysqli.php on line 4line 4 of code is in function xf_db_connect(): return mysqli_connect($host, $user, $pass);
$host, $user and $pass are all as I expect.
03-Jan-2024 03:37:30 UTC] PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home/mou16122/public_html/postals/xataface-2.2.5/xf/db/drivers/mysqli.php on line 17
line 17 is in xf_db_error() and reads: return mysqli_error();
It's in a check for a parameter being null. so I think this one is a red herring - it's an error in the error handling :-)
[03-Jan-2024 03:37:30 UTC] PHP Fatal error: Uncaught Exception: Error connecting to the database: in /home/mou16122/public_html/postals/xataface-2.2.5/Dataface/Application.php:623
line 623 is throwing the exception about the error connecting to the DB and calls xf_db_error() so this triggers the third error.
So it looks like this line is the one causing the first error:
$this->_db = xf_db_connect( $dbinfo['host'], $dbinfo['user'], $dbinfo['password'] );
As I said, the params inside xf_db_connect all look good, so it's something down inside mysqli_connect().