1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

版本 1.5.3>>1.5.4网站升级出错,升级不了.

本帖由 woi9112015-12-16 发布。版面名称:XenForo中文版

  1. woi911

    woi911 VIP会员

    注册:
    2014-02-19
    帖子:
    283
    赞:
    59
    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'

    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 632
    4. Zend_Db_Adapter_Abstract->update() in XenForo/Model/StyleProperty.php at line 2408
    5. XenForo_Model_StyleProperty->importStylePropertiesFromArray() in XenForo/Model/StyleProperty.php at line 2312
    6. XenForo_Model_StyleProperty->importStylePropertyXml() in XenForo/Model/StyleProperty.php at line 2245
    7. XenForo_Model_StyleProperty->importStylePropertyDevelopmentXml() in XenForo/Deferred/ImportMasterData.php at line 26
    8. XenForo_Deferred_ImportMasterData->execute() in XenForo/Deferred/Atomic.php at line 66
    9. XenForo_Deferred_Atomic->execute() in XenForo/Model/Deferred.php at line 295
    10. XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 429
    11. XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 355
    12. XenForo_Model_Deferred->runByUniqueKey() in XenForo/Install/Controller/Abstract.php at line 34
    13. XenForo_Install_Controller_Abstract->_manualDeferredRunner() in XenForo/Install/Controller/Upgrade.php at line 221
    14. XenForo_Install_Controller_Upgrade->actionRunDeferred() in XenForo/FrontController.php at line 351
    15. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    16. XenForo_FrontController->run() in /home/wwwroot/www.domain.com/install/index.php at line 18
     
  2. woi911

    woi911 VIP会员

    注册:
    2014-02-19
    帖子:
    283
    赞:
    59
    这下悲剧了
     
  3. admin

    admin 管理员 管理成员

    注册:
    2011-11-01
    帖子:
    3,671
    赞:
    2,425
    修复下数据库
     
    已获得 woi911 的点赞。
  4. woi911

    woi911 VIP会员

    注册:
    2014-02-19
    帖子:
    283
    赞:
    59
    重启了几次数据还是无效。

    然后我用之前1.5.3的再次上传覆盖,这下可以进后台了,根据后台错误提示,再次点击重建成功了。

    再重新上传1.5.4覆盖,升级成功。可能是升级过程中数据库崩了。

    还好修复了,把我吓死了!
     
    已获得 admin 的点赞。
正在加载...