Connection to database failed: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Notice: Undefined index: db in /home/spidernight/public_html/code/classes/framework/main/Controller.php on line 14
Argument 1 passed to Configuration::retrieveRecords() must be an instance of PDO, null given, called in /home/spidernight/public_html/code/classes/framework/main/Controller.php on line 122 and defined
#0 /code/classes/framework/main/Configuration.php(322): error_to_exception(4096, 'Argument 1 pass...', '/home/spidernig...', 322, Array)
#1 /code/classes/framework/main/Controller.php(122): Configuration->retrieveRecords(NULL, Array, Array)
#2 /code/classes/framework/main/Controller.php(113): Controller->getRecords(Array, Array)
#3 /code/classes/custom_html/PublicDocument.php(24): Controller->getOneRecord(Array, Array, true)
#4 /public/index.php(7): PublicDocument->__construct('Spider Night')
#5 {main}