Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to database: SQLSTATE[HY000] [2002] No such file or directory' in /home/amirite/amirite/app/db.php:32 Stack trace: #0 /home/amirite/amirite/app/db.php(44): DB::connect() #1 /home/amirite/amirite/app/users.php(60): DB::prepare('SELECT * FROM u...', Array, true) #2 /home/amirite/amirite/app/amirite.php(2477): users::getUser(NULL, 'allan') #3 /home/amirite/amirite/www/usersvotes.php(11): amirite->getUser(Array) #4 {main} thrown in /home/amirite/amirite/app/db.php on line 32