PDOException: SQLSTATE[08006] [7] 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? connection to server at "localhost" (::1), port 5432 failed: Cannot assign requested address Is the server running on that host and accepting TCP/IP connections? in /var/www/html/downloadzentrum/pub/DataAccessFactory.class.php:35 Stack trace: #0 /var/www/html/downloadzentrum/pub/DataAccessFactory.class.php(35): PDO->__construct() #1 /var/www/html/downloadzentrum/pub/DataAccessFactory.class.php(25): DataAccessFactory->connect() #2 /var/www/html/downloadzentrum/pub/applications/MediacenterModel.php(30): DataAccessFactory->__construct() #3 /var/www/html/downloadzentrum/pub/applications/Mediacenter.php(197): MediacenterSite->__construct() #4 /var/www/html/downloadzentrum/pub/Request.class.php(53): MediacenterTagsView->__construct() #5 /var/www/html/downloadzentrum/pub/applications/Mediacenter.php(43): RequestRouter->__construct() #6 /var/www/html/downloadzentrum/pub/index.php(71): MediacenterApplication->setAvailableViews() #7 {main}PDOException: SQLSTATE[08006] [7] 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? connection to server at "localhost" (::1), port 5432 failed: Cannot assign requested address Is the server running on that host and accepting TCP/IP connections? in /var/www/html/downloadzentrum/pub/DataAccessFactory.class.php:35 Stack trace: #0 /var/www/html/downloadzentrum/pub/DataAccessFactory.class.php(35): PDO->__construct() #1 /var/www/html/downloadzentrum/pub/DataAccessFactory.class.php(25): DataAccessFactory->connect() #2 /var/www/html/downloadzentrum/pub/applications/MediacenterModel.php(33): DataAccessFactory->__construct() #3 /var/www/html/downloadzentrum/pub/applications/Mediacenter.php(197): MediacenterSite->__construct() #4 /var/www/html/downloadzentrum/pub/Request.class.php(53): MediacenterTagsView->__construct() #5 /var/www/html/downloadzentrum/pub/applications/Mediacenter.php(43): RequestRouter->__construct() #6 /var/www/html/downloadzentrum/pub/index.php(71): MediacenterApplication->setAvailableViews() #7 {main}
Fatal error: Uncaught Error: Call to a member function query() on null in /var/www/html/downloadzentrum/pub/DataAccessFactory.class.php:52 Stack trace: #0 /var/www/html/downloadzentrum/pub/applications/MediacenterModel.php(89): DataAccessFactory->query() #1 /var/www/html/downloadzentrum/pub/applications/Mediacenter.php(210): MediacenterSite->hasTag() #2 /var/www/html/downloadzentrum/pub/Request.class.php(53): MediacenterTagsView->__construct() #3 /var/www/html/downloadzentrum/pub/applications/Mediacenter.php(43): RequestRouter->__construct() #4 /var/www/html/downloadzentrum/pub/index.php(71): MediacenterApplication->setAvailableViews() #5 {main} thrown in /var/www/html/downloadzentrum/pub/DataAccessFactory.class.php on line 52