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/php/shm/public/dbc/db_connect_shm_ro.php on line 3

Fatal error: Uncaught TypeError: pg_query(): Argument #1 ($connection) must be of type PgSql\Connection, false given in /export/depts/php/shm/public/lib/ins_db_functions.php:50 Stack trace: #0 /export/depts/php/shm/public/lib/ins_db_functions.php(50): pg_query(false, 'SELECT * FROM m...') #1 /export/depts/php/shm/public/lib/ins_page_head.php(27): db_get_row('menu_system', 'ms_unit='resear...') #2 /export/depts/shm/research/projects/amsd/index.php(14): require('/export/depts/p...') #3 {main} thrown in /export/depts/php/shm/public/lib/ins_db_functions.php on line 50