Connection failed: SQLSTATE[08006] [7] connection to server at "127.0.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections?
Fatal error: Uncaught TypeError: Database::__construct(): Argument #1 ($pdo) must be of type PDO, string given, called in /var/www/firesimulations/config_files/conn_generic.php on line 21 and defined in /var/www/firesimulations/config_files/include/database.php:13 Stack trace: #0 /var/www/firesimulations/config_files/conn_generic.php(21): Database->__construct() #1 /var/www/firesimulations/index.php(8): include_once('...') #2 {main} thrown in /var/www/firesimulations/config_files/include/database.php on line 13