$vbulletin->options['db1'] = 'pp_camerareview';
Your telling me beyond any doubt your photopost database is pp_camerareview not camerareview?
Something is obviously wrong with your mysql info somewhere for some plugin you have. You sure it is the gallery plugin not some other plugin. Try turning off all plugins and then enable photopost. Recheck your plugin global mysql settings again the config settings in photopost.