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

duplicate entry error

MichaelDance

Well-known member
#1
I have that error on a install of a client's 1.1.3

Server Error
Server Error

Mysqli statement execute error : Duplicate entry '0-ajaxProgress' for key 'definition_style_id_property_name'
  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 1591
  5. XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1580
  6. XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1381
  7. XenForo_DataWriter->save() in XenForo/Model/StyleProperty.php at line 2275
  8. XenForo_Model_StyleProperty->importStylePropertiesFromArray() in XenForo/Model/StyleProperty.php at line 2187
  9. XenForo_Model_StyleProperty->importStylePropertyXml() in XenForo/Model/StyleProperty.php at line 2120
  10. XenForo_Model_StyleProperty->importStylePropertyDevelopmentXml() in XenForo/CacheRebuilder/ImportMasterData.php at line 45
  11. XenForo_CacheRebuilder_ImportMasterData->rebuild() in XenForo/ControllerHelper/CacheRebuild.php at line 26
  12. XenForo_ControllerHelper_CacheRebuild->rebuildCache() in XenForo/Install/Controller/Install.php at line 240
  13. XenForo_Install_Controller_Install->actionStep2b() in XenForo/FrontController.php at line 310
  14. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
 

Jake Bunce

XenForo moderator
Staff member
#2
A new install? Empty database?

Normally I would ask you to run some queries and then reimport the XML. But if it's a new install I suggest redoing everything. Re-upload the files, clear the database, and run the install again.