SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
56: $this->_Connection = new PDO(strtolower($this->Engine) . ':' . $this->Dsn, $this->User, $this->Password, $this->ConnectionOptions);
57: if($this->ConnectionOptions[1002])
58: $this->Query($this->ConnectionOptions[1002]);
59: } catch (Exception $ex) {
60: trigger_error(ErrorMessage('An error occurred while attempting to connect to the database', $this->ClassName, 'Connection', $ex->getMessage()), E_USER_ERROR);
61: }
62: }
63:
64: return $this->_Connection;
/home/semingtonvillage/public_html/forum/library/database/class.database.phpPHP::Gdn_ErrorHandler();
[/home/semingtonvillage/public_html/forum/library/database/class.database.php:60] PHP::trigger_error();
[/home/semingtonvillage/public_html/forum/library/database/class.database.php:232] Gdn_Database->Connection();
[/home/semingtonvillage/public_html/forum/library/database/class.sqldriver.php:1584] Gdn_Database->Query();
[/home/semingtonvillage/public_html/forum/library/database/class.sqldriver.php:639] Gdn_SQLDriver->Query();
[/home/semingtonvillage/public_html/forum/applications/dashboard/models/class.permissionmodel.php:416] Gdn_SQLDriver->Get();
[/home/semingtonvillage/public_html/forum/applications/dashboard/models/class.permissionmodel.php:133] PermissionModel->PermissionColumns();
[/home/semingtonvillage/public_html/forum/applications/dashboard/models/class.usermodel.php:88] PermissionModel->CachePermissions();
[/home/semingtonvillage/public_html/forum/library/core/class.session.php:291] UserModel->DefinePermissions();
[/home/semingtonvillage/public_html/forum/library/core/class.auth.php:27] Gdn_Session->Start();
[/home/semingtonvillage/public_html/forum/bootstrap.php:186] Gdn_Auth->StartAuthenticator();
[/home/semingtonvillage/public_html/forum/index.php:28] PHP::require_once();
[php_errormsg] 'PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known'
[ex] array ( 'errorInfo' => NULL, )
If you are a user of this website, you can report this message to a website administrator.
If you are an administrator of this website, you can get help at the Vanilla Community Forums.