Well it depends on which way the error is
If you have specified incorrect database information for the vb3 database simply edit the config-int.php and enter the correct info for the
vb database in user database settings.
If the vbulletin mysql table prefix was not entered on install either rerun install and answer things correctly or using phpmyadmin edit your photopost settings table setting 83 enter the table prefix.