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

XF 1.1 Import login problem

Discussion in 'Installation, Upgrade, and Import Support' started by Adam H, Dec 11, 2011.

  1. Adam H

    Adam H Member

    Hi Guys, Im testing an import and got to the first stage lol.

    Ive ticked the box to Retain imported content IDs and basically as soon as i start importing users it logs me out, I try to log back in and it says the account doesnt have admin permissions.

    Ive tried changing the admin account email address and username to something totally random incase it was crossing with another user so the only thing i can think of is that the userid is being overwritten ?

    If so is there a way to stop that from happening ?
     
  2. Adam H

    Adam H Member

    I can confirm that with out ticking the "Retain imported content IDs" the users import perfectly , Is there away around this ?
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Which importer are you using?
     
  4. Adam H

    Adam H Member

    VB 3 , However it is a VB4 board. Just didnt see a VB4 importer :S
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

  6. Adam H

    Adam H Member

    Haha , Thanks Brogan ill give that a shot :D
     
  7. Mike

    Mike XenForo Developer Staff Member

    This happens if your user ID 1 in the source database exists but isn't an administrator -- otherwise, we wouldn't be able to maintain that user's ID. You should have another administrator, so you should be able to login with that and pick up the import.
     
    Adam H likes this.
  8. Adam H

    Adam H Member

    Thanks Mike that makes sense as the user id #1 on my board is no longer an admin.
     
  9. Adam H

    Adam H Member

    Sorry guys wasnt sure if i should start a new thread or not , Ive got to the importing of posts and threads and got this error :

     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    What's the first part of the error, the title?
     
  11. Adam H

    Adam H Member

    Sorry thought id copied that too : Mysqli statement execute error : Duplicate entry '1' for key 'PRIMARY'
     
  12. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The error you posted above is a collision on the thread_id. It looks like you have chosen to retain imported IDs but both the source and target databases have a thread_id 1.
     
  13. Adam H

    Adam H Member

    1. I am definitely using the VB4 importer.

    2. Ok so does that mean the test thread i made on the xen board is what is causing the problem ?
     
  14. Adam H

    Adam H Member

    Yes deleting that test thread worked , knew i should of done that before lol.
     

Share This Page