Warning: 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 /usr/local/www/bsdstats/rpt.bsdstats.org/www/scripts/init.php on line 12

Fatal error: Uncaught TypeError: pg_query(): Argument #1 ($connection) must be of type PgSql\Connection, false given in /usr/local/www/bsdstats/rpt.bsdstats.org/www/scripts/init.php:13 Stack trace: #0 /usr/local/www/bsdstats/rpt.bsdstats.org/www/scripts/init.php(13): pg_query() #1 /usr/local/www/bsdstats/rpt.bsdstats.org/www/scripts/getid.php(3): require_once('...') #2 {main} thrown in /usr/local/www/bsdstats/rpt.bsdstats.org/www/scripts/init.php on line 13