You do not replace your config files on an upgrade. You use the upgrade to upgrade your 5.1 to 5.3. I would suggest you check your config-inc.php file to see that it has the correct table prefix for photopost. The prefix is entered in that file not the int one which is used for vb
integration. This is where the upgrade script would get its prefix from the config-inc.php file.