Warning: set_exception_handler() expects the argument (Error::exception) to be a valid callback in /var/www/allcompany.in/app/start.php on line 45

Warning: set_error_handler() expects the argument (Error::native) to be a valid callback in /var/www/allcompany.in/app/start.php on line 47

Warning: register_shutdown_function(): Invalid shutdown callback 'Error::shutdown' passed in /var/www/allcompany.in/app/start.php on line 49

Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/allcompany.in/app/system/db.php:33 Stack trace: #0 /var/www/allcompany.in/app/system/db.php(33): PDO->__construct('mysql:host=loca...', 'webroot', 'Ranv@ir001', Array) #1 /var/www/allcompany.in/app/system/db.php(47): db::connection() #2 /var/www/allcompany.in/app/controllers/homecontroller.php(9): db::__callStatic('query', Array) #3 /var/www/allcompany.in/app/system/route.php(86): HomeController::getHome() #4 /var/www/allcompany.in/app/system/app.php(11): Route::dispatch() #5 /var/www/allcompany.in/index.php(16): App::run() #6 {main} thrown in /var/www/allcompany.in/app/system/db.php on line 33