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/system/db.php(104): db::__callStatic('prepare', Array) #3 /var/www/allcompany.in/app/controllers/companycontroller.php(6): db::find('companies', 'U15122UP1998PLC...') #4 /var/www/allcompany.in/app/system/route.php(101): CompanyController::getByCompanyID('U15122UP1998PLC...') #5 /var/www/allcompany.in/app/system/app.php(11): Route::dispatch() #6 /var/www/allcompany.in/index.php(16): App::run() #7 {main} thrown in /var/www/allcompany.in/app/system/db.php on line 33