Database_Exception [ 0 ]: Unable to connect to PostgreSQL "default"

MODPATH/kohana-postgresql/classes/Kohana/Database/PostgreSQL.php [ 88 ]

83 		{
84 			throw new Database_Exception(':error', array(':error' => $e->getMessage()));
85 		}
86 
87 		if ( ! is_resource($this->_connection))
88 			throw new Database_Exception('Unable to connect to PostgreSQL ":name"', array(':name' => $this->_instance));
89 
90 		$this->_version = pg_parameter_status($this->_connection, 'server_version');
91 
92 		if ( ! empty($this->_config['charset']))
93 		{
  1. MODPATH/kohana-postgresql/classes/Kohana/Database/PostgreSQL.php [ 157 ] » Kohana_Database_PostgreSQL->connect()

  2. MODPATH/database/classes/Kohana/Database/Query.php [ 254 ] » Kohana_Database_PostgreSQL->query(arguments)

  3. APPPATH/views/main_header.php [ 71 ] » Kohana_Database_Query->execute()

  4. APPPATH/views/main/noticeview.php [ 16 ] » include(arguments)

  5. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  6. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  8. SYSPATH/classes/Kohana/Response.php [ 160 ] » Kohana_View->__toString()

  9. APPPATH/classes/Controller/Main.php [ 623 ] » Kohana_Response->body(arguments)

  10. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Main->action_view()

  11. {PHP internal call} » Kohana_Controller->execute()

  12. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  13. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  14. SYSPATH/classes/Kohana/Request.php [ 1033 ] » Kohana_Request_Client->execute(arguments)

  15. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment