engl: postgres db connection fails
JJ reported that the experimental map was not working. Martin and Greg did first bit of work to confirm the bug report, as I was out of the office. I then looked into the code and the first instance where the site attempts to make a connection to the postgres db throws the error. The connection to the db is identical to the one used by vihistory and the vihistory site is working. We've changed nothing in our code or our database since the last time the site was working. We suspect the problem is a result of the migration over the past month or so of a lot of central services. Emailed a query to sys-adin. Heard back the next day. They said the problem was at their end and they had fixed it.
For example if I try to go to http://mapoflondon.uvic.ca/imap/htdocs/admin/admin.php, I get
--------------------------
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "142.104.21.173", user "london", database "london", SSL off in /home1t/london/www/imap/htdocs/session.inc on line 62
Warning: pg_last_error() [function.pg-last-error]: No PostgreSQL link opened yet in /home1t/london/www/imap/htdocs/session.inc on line 63
Could not connect:
--------------------------
We have other sites which seem to be working. For example, http://vihistory.uvic.ca/content/maps/imapbasic.php?map=vicbird1889 uses the same technology and exact same connection values and is working.