Your not going to be able to import anything from a broken photopost I can tell you that. None of your images exist. Looks to me like you ran the 485 upgrade twice. You need to restore a backup photopost photos table and rerun the upgrade. Once you get photopost running correctly you can attempt an import
As far as the import script I did not write it but try switching the order like so
Code:
Content visible to verified customers only.