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

XF 1.5 vb4 -> xf, install goes fine, import overwrites userid 1, existing admin does not have permissions

Discussion in 'Installation, Upgrade, and Import Support' started by elsparkodiablo, Jun 6, 2016.

  1. Ok, so we are attempting to import our existing vb4 site into a test xf forum. Due to the size of the site (1.5 mil threads, 15 mil posts, 300k+ users) we're using the Big Board importer, which has not been a smooth and painless experience.

    The problem we're running into right now is that posts & threads have imported, and users however, when logging in, my admin account does not have permission to do anything. Going into the db, we've switched the admin account (which has an ID of 10xxxx) is_admin and is_moderator settings to 1; this results in allowing my admin account to log into the admin control panel, however the only things that show up there are the "tools" tab with the Diagnostics menu. None of the other admin tools are visible. For some reason only 48 users show up in the admin control panel user count as well

    When doing a clean install, the default admin works just fine. Unfortunately the default admin appears to be overwritten and deleted when using the Big Board import?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Yeah... the big board importer requires extra effort.

    user_id 1 will get overwritten by user_id 1 from the source forum.

    For your 10xxx admin account you probably want to specify super admin privileges in the library/config.php file. The default super admin is user_id 1. Once you specify your user_id then you should have full admin access. is_admin is also required.

    Permissions on the front end can also sometimes be an issue after a big board importer. Make sure your group permissions are setup the way you want. If you can't see anything on the front end then rebuild your user info:

    Admin CP -> Tools -> Rebuild Caches

    If that still doesn't work then you might need to rebuild the forum info as well.
  3. Success! Rebuildignuser cache now. Is there a command line way to rebuild all this or am I stuck with browser?
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I think @Slavik made a script.
  5. Slavik

    Slavik XenForo Moderator Staff Member

    Yes it is in the resources manager.
  6. Thank you, it's installed and rebuilding caches as I type. I've changed permissions so that the forums are viewable when someone is not logged in, but it would appear that when I log in with my admin account.

    AND crap: <!-- Mysqli statement execute error : The number of columns in the result set differs from the numb er of bound buffers. You must reset the statement, rebind the result set columns, and execute the s

    This occurred during the rebuild of conversations.
  7. Exact error message:

  8. Mike

    Mike XenForo Developer Staff Member

    Is that consistently reproduceable?
  9. I'm doing 1 by 1 rebuilds using the utility right now; it's doing threads so after it's finished with all 1.5 million of them we'll attempt again.

Share This Page