1.5.3>>1.5.4网站升级出错,升级不了.后台设置也进不去了。 http://www.domain.com/install/index.php?upgrade/run-deferred XenForo 1.5.4 Server Error Server Error Mysqli statement execute error : Duplicate entry '6658-2' for key 'definition_id_style_id' 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 632 Zend_Db_Adapter_Abstract->update() in XenForo/Model/StyleProperty.php at line 2408 XenForo_Model_StyleProperty->importStylePropertiesFromArray() in XenForo/Model/StyleProperty.php at line 2312 XenForo_Model_StyleProperty->importStylePropertyXml() in XenForo/Model/StyleProperty.php at line 2245 XenForo_Model_StyleProperty->importStylePropertyDevelopmentXml() in XenForo/Deferred/ImportMasterData.php at line 26 XenForo_Deferred_ImportMasterData->execute() in XenForo/Deferred/Atomic.php at line 66 XenForo_Deferred_Atomic->execute() in XenForo/Model/Deferred.php at line 295 XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 429 XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 355 XenForo_Model_Deferred->runByUniqueKey() in XenForo/Install/Controller/Abstract.php at line 34 XenForo_Install_Controller_Abstract->_manualDeferredRunner() in XenForo/Install/Controller/Upgrade.php at line 221 XenForo_Install_Controller_Upgrade->actionRunDeferred() in XenForo/FrontController.php at line 351 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 XenForo_FrontController->run() in /home/wwwroot/www.domain.com/install/index.php at line 18
重启了几次数据还是无效。 然后我用之前1.5.3的再次上传覆盖,这下可以进后台了,根据后台错误提示,再次点击重建成功了。 再重新上传1.5.4覆盖,升级成功。可能是升级过程中数据库崩了。 还好修复了,把我吓死了!