For the benefit of all, here is what fixed it:
1) Downgraded PHP from 5.3.2 to 5.2.13
2) Changed the password of the MYSQL database user. The password had a dollar sign "$" in it and PhotoPost was truncating the password it sent to the database to only what was in front of that $.
3) Upgraded the PhotoPost files