Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/html/classes/DBController.class.php on line 18
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /var/www/html/exceptions/DBException.class.php on line 50
Fatal error: Uncaught exception 'DBException' with message 'Database connection failed!
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
' in /var/www/html/classes/DBController.class.php:20
Stack trace:
#0 /var/www/html/classes/DBController.class.php(11): DbController->__construct()
#1 /var/www/html/classes/PP.class.php(1311): DbController::getInstance()
#2 /var/www/html/papierpeints/print.php(13): PP::exist('2186')
#3 {main}
thrown in /var/www/html/classes/DBController.class.php on line 20