Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432? in /home/www/smarty/MySmarty.class.php on line 37 MAGREX.SHOP
Fatal error: Uncaught Error: No PostgreSQL connection opened yet in /home/www/smarty/MySmarty.class.php:47
Stack trace:
#0 /home/www/smarty/MySmarty.class.php(47): pg_close()
#1 [internal function]: MySmarty->__destruct()
#2 {main}
thrown in /home/www/smarty/MySmarty.class.php on line 47