Mitch that could not be a cookie setting you changed since changing cookies would not create an sql error.
The pp_settings table in the database has all your site settings. My initial impression without seeing a site url would be possibly you changed your forum table prefix in forum settings by mistake. I would suggest making sure setting 83 is the correct table prefix.
Please post a url sign in details and ftp to
support@photopost.com for assistance if you are unable to figure out what setting you changed.