1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Importing Problem

Discussion in 'Installation, Upgrade, and Import Support' started by svtsnake03, Jun 23, 2012.

  1. svtsnake03

    svtsnake03 Member

    I'm using the vBulletin 4 import from the Resource area to do a test run. So far everything has gone without a hitch. I was importing posts last night. I was past 50% for sure, but I walked away with it running. When I got back to my PC, the following error was on the screen. When I try to resume, I immediately get the same error message.

    Any ideas how to correct this so the import will continue?

  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Looks like a duplicate post_id. That's strange that it would happen in the middle of the post import. I would expect this error to happen at the beginning of an import module.

    To fix this error normally you would reinstall XF and start the import again, but this time don't enable the option to preserve the source ids. If you wish to preserve the source ids then you need to resolve this post_id conflict which would normally be caused by your XF forum already containing a record with xf_post.post_id = 1485738 (which shouldn't be the case for a new install of XF). Or maybe the source forum contains duplicate ids which would indicate a problem with the unique indexes on the source forum.
  3. svtsnake03

    svtsnake03 Member

    Jake, forgive my ignorance, but since I use vBSEO currently, would we be able to redirect those URL's if I do not preserve the ID?
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Yes you can. These redirect scripts do id mapping:


    When used in conjunction with rewrite rules for the vBSEO URLs you can redirect all of the old URLs even if the ids were not preserved.
  5. svtsnake03

    svtsnake03 Member

    Just noticed that the thread / post count numbers are not exactly the same. My first thought is that it may be from the way soft deleted posts / threads are counted.

    vBulletin 2003-2004 Cobra Forum =40,944 Threads 587,898 Posts
    Xenforo 2003-2004 Cobra Forum  =40,943 Threads 586,517 Posts
    vBulletin Turbo Forum =3,330 Threads 57,271 Posts
    Xenforo Turbo Forum =3,330 Threads 57,186 Posts
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

Share This Page