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

XF 1.3 Can't find customavatars

Discussion in 'Installation, Upgrade, and Import Support' started by ascott, Sep 3, 2014.

  1. ascott

    ascott Member

    Trying to import from my vB4 to my test XF site, it keeps telling me that it can't find the customavatars directory. Permission is set to 0777, any help would be greatly appreciated.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    What is the path to the vB directory and what are you entering in the importer?
     
  3. ascott

    ascott Member

    Was keeping what the importer added ./customavatars bit of a noob at this and can't remember how to get the directory path, I take it that's what I need to add?
     
  4. Mike

    Mike XenForo Developer Staff Member

    You can enter a path relative to your XF install (eg, ../oldforum/customavatars), if that helps.
     
  5. ascott

    ascott Member

    Hi mike, I put the /var/www/ etc but it still says that it can't find the avatars directory. Can you give some more detail on what you mean above please.
     
  6. ascott

    ascott Member

    It is just the avatars directory and the the customavatars this time.
     
  7. ascott

    ascott Member

    Finally got it working.
     
  8. ascott

    ascott Member

    Got this error when importing moderators

    Mysqli statement execute error : Duplicate entry '80' for key 'PRIMARY'

    1. Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
    2. Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
    3. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
    4. Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1624
    5. XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1613
    6. XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1405
    7. XenForo_DataWriter->save() in XenForo/Model/Import.php at line 599
    8. XenForo_Model_Import->_importData() in XenForo/Model/Import.php at line 1450
    9. XenForo_Model_Import->importGlobalModerator() in XenForo/Importer/vBulletin.php at line 2221
    10. XenForo_Importer_vBulletin->stepModerators() in XenForo/Importer/Abstract.php at line 97
    11. XenForo_Importer_Abstract->runStep() in XenForo/ControllerAdmin/Import.php at line 187
    12. XenForo_ControllerAdmin_Import->_runStep() in XenForo/ControllerAdmin/Import.php at line 239
    13. XenForo_ControllerAdmin_Import->_startStep() in XenForo/ControllerAdmin/Import.php at line 182
    14. XenForo_ControllerAdmin_Import->actionStartStep() in XenForo/FrontController.php at line 347
    15. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
     
    Last edited: Sep 4, 2014
  9. Mike

    Mike XenForo Developer Staff Member

    I'm not seeing an obvious cause for that; it should process moderator roles per user. Only potential situation I could see is if multiple users that were both moderators were merged together -- that's a situation that's fairly difficult to handle here. (Though there may actually be code to handle that.)

    Any idea if there is a merged user involved here? If you refresh, does it happen again?
     
    ascott likes this.
  10. ascott

    ascott Member

    Did get it to import, like you say it was my account that caused the problem. I had selected the second option when merging moderators and it failed, selected the first option the second time and it went ahead.
    Thanks Mike.
     

Share This Page