You're probably okay.

Warning: pg_connect(): Cannot create new link. Too many open links (0) in /var/www/database/postgres/common.php on line 10

Try and unfuck your database using a handy reference guide