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

XF 1.3 Conversation error with imported users

Discussion in 'Installation, Upgrade, and Import Support' started by slewis1972, May 15, 2014.

  1. slewis1972

    slewis1972 Member

    Hi All

    I have a site I am hoping to make live. I am the default admin (not imported), everything seems ok.

    I imported users from joomla using jfusion. All ok, users can login, passwords work etc.

    Now, if I try and start a conversation with one of the imported users, I get error:

    XenForo_Model_User->passesPrivacyCheck() in XenForo/Model/Conversation.php at line 1166
    XenForo_Model_Conversation->canStartConversationWithUser() in XenForo/ControllerPublic/Conversation.php at line 493
    XenForo_ControllerPublic_Conversation->actionAdd() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/lynefc7/public_html/forums/index.php at line 13

    But if one of the imported users starts one, its fine and I can reply all ok. Imported users can start conversations with each other all ok.

    Any ideas?

    Scott
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    It sounds as if the imported users are missing some data with regards to privacy settings.

    Which importer did you use?
     
  3. slewis1972

    slewis1972 Member

    Ok, sussed it. I needed to make sure conversation was activated as by default, conversation was not allowed in administrative permission group.
     
  4. slewis1972

    slewis1972 Member

    ref imported, I used jfusion which basically pushed the users from joomla into xenforo, not an inbuilt one. Auto addded them to the registered group.
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    A permission setting shouldn't throw an error.

    I suspect the importer you used has missed some data so you may encounter further errors until you get the database tables corrected.
     
  6. slewis1972

    slewis1972 Member

    Ok, think I fixed the underlying issue. The user profile table was not being populated on import. After populating it with all the user_id's, and resetting the Administrative group permission I know longer get the code.

    Anyway, this leads me to another question. Is there any code that can make sure all the user fields are setup correctly and if not repopulate with defaults eg user_id?
    Just be handy with any form of import
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    All you can do is look at the core code related to creating or importing users.
    Then compare it with what has been imported.
     

Share This Page