Exception -> object(PDOException)#3 (8) { ["message":protected]=> string(94) "SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(2002) ["file":protected]=> string(54) "/var/www/clients/client0/web262/web/include/db.inc.php" ["line":protected]=> int(9) ["trace":"Exception":private]=> array(3) { [0]=> array(5) { ["file"]=> string(54) "/var/www/clients/client0/web262/web/include/db.inc.php" ["line"]=> int(9) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" } [1]=> array(3) { ["file"]=> string(54) "/var/www/clients/client0/web262/web/include/db.inc.php" ["line"]=> int(20) ["function"]=> string(16) "connectDBWithPDO" } [2]=> array(4) { ["file"]=> string(48) "/var/www/clients/client0/web262/web/tc/index.php" ["line"]=> int(16) ["args"]=> array(1) { [0]=> string(54) "/var/www/clients/client0/web262/web/include/db.inc.php" } ["function"]=> string(12) "include_once" } } ["previous":"Exception":private]=> object(PDOException)#2 (9) { ["message":protected]=> string(91) "PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(54) "/var/www/clients/client0/web262/web/include/db.inc.php" ["line":protected]=> int(9) ["trace":"Exception":private]=> array(3) { [0]=> array(5) { ["file"]=> string(54) "/var/www/clients/client0/web262/web/include/db.inc.php" ["line"]=> int(9) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" } [1]=> array(3) { ["file"]=> string(54) "/var/www/clients/client0/web262/web/include/db.inc.php" ["line"]=> int(20) ["function"]=> string(16) "connectDBWithPDO" } [2]=> array(4) { ["file"]=> string(48) "/var/www/clients/client0/web262/web/tc/index.php" ["line"]=> int(16) ["args"]=> array(1) { [0]=> string(54) "/var/www/clients/client0/web262/web/include/db.inc.php" } ["function"]=> string(12) "include_once" } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> NULL ["severity"]=> int(2) } ["errorInfo"]=> array(3) { [0]=> string(5) "HY000" [1]=> int(2002) [2]=> string(71) "php_network_getaddresses: getaddrinfo failed: Name or service not known" } }
Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client0/web262/web/include/db.inc.php:9 Stack trace: #0 /var/www/clients/client0/web262/web/include/db.inc.php(9): PDO->__construct() #1 /var/www/clients/client0/web262/web/include/db.inc.php(20): connectDBWithPDO() #2 /var/www/clients/client0/web262/web/tc/index.php(16): include_once('...') #3 {main} Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client0/web262/web/include/db.inc.php:9 Stack trace: #0 /var/www/clients/client0/web262/web/include/db.inc.php(9): PDO->__construct() #1 /var/www/clients/client0/web262/web/include/db.inc.php(20): connectDBWithPDO() #2 /var/www/clients/client0/web262/web/tc/index.php(16): include_once('...') #3 {main} thrown in /var/www/clients/client0/web262/web/include/db.inc.php on line 9