PDOException: 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? in /home/fxltrackdirect/trackdirect/htdocs/includes/pdoconnection.class.php:28
Stack trace:
#0 /home/fxltrackdirect/trackdirect/htdocs/includes/pdoconnection.class.php(28): PDO->__construct()
#1 /home/fxltrackdirect/trackdirect/htdocs/includes/pdoconnection.class.php(59): PDOConnection->createConnection()
#2 /home/fxltrackdirect/trackdirect/htdocs/includes/pdoconnection.class.php(84): PDOConnection->getConnection()
#3 /home/fxltrackdirect/trackdirect/htdocs/includes/pdoconnection.class.php(96): PDOConnection->prepare()
#4 /home/fxltrackdirect/trackdirect/htdocs/includes/repositories/modelrepository.class.php(39): PDOConnection->prepareAndExec()
#5 /home/fxltrackdirect/trackdirect/htdocs/includes/repositories/stationrepository.class.php(44): ModelRepository->getObjectFromSql()
#6 /home/fxltrackdirect/trackdirect/htdocs/public/views/telemetry.php(3): StationRepository->getObjectById()
#7 /home/fxltrackdirect/trackdirect/htdocs/public/index.php(377): include('...')
#8 {main}