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

XF 1.4 Error on importing usergroups

Discussion in 'Installation, Upgrade, and Import Support' started by Mr Lucky, Jun 14, 2015.

  1. Mr Lucky

    Mr Lucky Well-Known Member

    I got an error at the first stage of import - usergroups. can anyone please help?

    Server Error
    Mysqli statement execute error : Duplicate entry '5' for key 'PRIMARY'
    Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
    Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
    Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
    Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1624
    XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1613
    XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1405
    XenForo_DataWriter->save() in XenForo/Model/Import.php at line 599
    XenForo_Model_Import->_importData() in XenForo/Model/Import.php at line 637
    XenForo_Model_Import->importUserGroup() in XenForo/Importer/vBulletin.php at line 354
    XenForo_Importer_vBulletin->stepUserGroups() in XenForo/Importer/Abstract.php at line 97
    XenForo_Importer_Abstract->runStep() in XenForo/ControllerAdmin/Import.php at line 187
    XenForo_ControllerAdmin_Import->_runStep() in XenForo/ControllerAdmin/Import.php at line 239
    XenForo_ControllerAdmin_Import->_startStep() in XenForo/ControllerAdmin/Import.php at line 182
    XenForo_ControllerAdmin_Import->actionStartStep() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/public_html/forums/admin.php at line 13
  2. Mike

    Mike XenForo Developer Staff Member

    It appears that a new group had already been created before the import?
  3. Mr Lucky

    Mr Lucky Well-Known Member

    Aha, I should have realised that given your reply here

Share This Page