Warning: mysqli_connect(): (HY000/2002): No such file or directory in /var/www/vhosts/diamondfilms.com/httpdocs/classes/ConnectionFactory.php on line 15

Fatal error: Uncaught Error: Call to a member function prepare() on bool in /var/www/vhosts/diamondfilms.com/httpdocs/variables.php:3 Stack trace: #0 /var/www/vhosts/diamondfilms.com/httpdocs/config.php(17): include() #1 /var/www/vhosts/diamondfilms.com/httpdocs/common.php(2): include_once('/var/www/vhosts...') #2 /var/www/vhosts/diamondfilms.com/httpdocs/terminos-y-condiciones.php(2): include_once('/var/www/vhosts...') #3 {main} thrown in /var/www/vhosts/diamondfilms.com/httpdocs/variables.php on line 3