Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: connection to server at "localhost" (::1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? in /export/depts/system/mailto/lib/database.php on line 4

Warning: Cannot modify header information - headers already sent by (output started at /export/depts/system/mailto/lib/database.php:4) in /export/depts/system/mailto/index.php on line 7

Warning: Cannot modify header information - headers already sent by (output started at /export/depts/system/mailto/lib/database.php:4) in /export/depts/system/mailto/index.php on line 8

Warning: session_cache_limiter() [function.session-cache-limiter]: Session cache limiter cannot be changed after headers have already been sent in /export/depts/system/mailto/index.php on line 9

Fatal error: Uncaught TypeError: pg_query(): Argument #1 ($connection) must be of type PgSql\Connection, false given in /export/depts/system/mailto/lib/database.php:13 Stack trace: #0 /export/depts/system/mailto/lib/database.php(13): pg_query(false, 'SELECT * FROM a...') #1 /export/depts/system/mailto/lib/database.php(65): simple_query('SELECT * FROM a...', 1) #2 /export/depts/system/mailto/index.php(89): get_action('steveb') #3 {main} thrown in /export/depts/system/mailto/lib/database.php on line 13