I have problems connecting to DB.
This is the error I get (which is from my error_handler.php file):
ERRNO: 8 TEXT Undefined variable: mysqli LOCATION: /home/.mohave/tetest/[test2.mydomain.com]/index.php, line 8
Line 8 in index.php says:
$mysqli = new $mysqli($DB_HOST, $DB_USER, $DB_PASSWORD, $DB_DATABASE);
These are defined in config.php:
I’m using stock setup nothing funny. This is my first attempt at connecting.
What is wrong? Is it something with access privileges? I use the latest DH version of PHP.