( ! ) Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /web/onko29.ru/www/app/db.php:8
Stack trace:
#0 /web/onko29.ru/www/app/db.php(8): PDO->__construct('mysql:host=mysq...', 'root', '12344', Array)
#1 /web/onko29.ru/www/app/models/BaseModel.php(31): Db::getConnection()
#2 /web/onko29.ru/www/app/models/Depts.php(127): BaseModel::getSQLValues('SELECT emp.id, ...')
#3 /web/onko29.ru/www/app/controllers/DeptsController.php(29): Depts::getEmployerInfo('296')
#4 /web/onko29.ru/www/app/router.php(55): DeptsController->actionEmpview('296')
#5 /web/onko29.ru/www/index.php(17): Router->run()
#6 {main}
Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /web/onko29.ru/www/app/db.php on line 8 |
( ! ) PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /web/onko29.ru/www/app/db.php on line 8 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 359960 | {main}( ) | .../index.php:0 |
2 | 0.0005 | 505736 | Router->run( ) | .../index.php:17 |
3 | 0.0006 | 508064 | DeptsController->actionEmpview( ) | .../router.php:55 |
4 | 0.0006 | 508064 | Depts::getEmployerInfo( ) | .../DeptsController.php:29 |
5 | 0.0006 | 508256 | BaseModel::getSQLValues( ) | .../Depts.php:127 |
6 | 0.0006 | 508256 | Db::getConnection( ) | .../BaseModel.php:31 |
7 | 0.0006 | 509384 | __construct
( ) | .../db.php:8 |