Warning: mysqli_connect(): (HY000/2002): No such file or directory in /var/www/html/pincode.win/includes/classes/database.php on line 21

Warning: mysqli_errno() expects exactly 1 parameter, 0 given in /var/www/html/pincode.win/includes/classes/database.php on line 41

Fatal error: Uncaught Error: Call to undefined function mysql_error() in /var/www/html/pincode.win/includes/classes/database.php:41 Stack trace: #0 /var/www/html/pincode.win/includes/classes/database.php(23): databaseConnection->debug('connect') #1 /var/www/html/pincode.win/top.php(18): databaseConnection->connect() #2 /var/www/html/pincode.win/index.php(4): require_once('/var/www/html/p...') #3 {main} thrown in /var/www/html/pincode.win/includes/classes/database.php on line 41