XF 1.4 XF1.4 import to XF1.4


Well-known member

i will import a forum from 1.4 to 1.4 but when i import elements i become some error

Server Error

Mysqli statement execute error : Duplicate entry '13' 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 1266
XenForo_Model_Import->importCategory() in XenForo/Importer/XenForo.php at line 1391
XenForo_Importer_XenForo->_importNodeTree() in XenForo/Importer/XenForo.php at line 1406
XenForo_Importer_XenForo->_importNodeTree() in XenForo/Importer/XenForo.php at line 1271
XenForo_Importer_XenForo->stepNodes() 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 /www/forum/admin.php at line 13
can anybody help me ?

kind regards



XenForo moderator
Staff member
No, you can't manipulate the database like that.

You will need to have a new installation with no content (in which case importing makes no sense as why import into an empty forum?), or don't retain IDs.


XenForo moderator
Staff member
What do you mean by "certain contributions from members"?
How do you plan to limit which content from which members is imported?


Well-known member

i will only import my posts threads in a new forum ... but i can't choose import only the post, threads , pics etc.. from Lemminator . so i must import all files , and then deleting the others ... or is there a other way ?