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

交流 Server Error MySqli Prepare error Table"xf_session错误解决办法

本帖由 tianwm2017-06-25 发布。版面名称:XenForo中文版

标签:
  1. tianwm

    tianwm VIP会员

    注册:
    2012-03-15
    帖子:
    52
    赞:
    17
    换了vps后跑了几天出现的问题,再网上搜索到解决方法,特意转过来

    Mysqli prepare error: Table '.\forum\xf_session' is marked as crashed and should be repaired

    1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    4. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
    5. Zend_Db_Adapter_Abstract->insert() in XenForo/Session.php at line 856
    6. XenForo_Session->save() in XenForo/Controller.php at line 414
    7. XenForo_Controller->updateSession() in XenForo/Controller.php at line 358
    8. XenForo_Controller->postDispatch() in XenForo/FrontController.php at line 358
    9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    C:/dreamsrv/home/localhost/public_html/forum/index.php at line 13


    解决方法
    在phpMyAdmin里面查询:REPAIR TABLE `xf_session` 后ok了

    相关连接
    http://www.xf-russia.ru/forum/threa...ed-and-should-be-repaired-proshu-pomoch.1391/
    https://xenforo.com/community/threa...rked-as-crashed-and-should-be-repaired.66769/
     
    已获得 午夜涩茶 的点赞。
  2. tianwm

    tianwm VIP会员

    注册:
    2012-03-15
    帖子:
    52
    赞:
    17
    xf_session.png
     
    已获得 午夜涩茶 的点赞。
  3. 午夜涩茶

    午夜涩茶 超级版主 管理成员

    注册:
    2012-03-25
    帖子:
    624
    赞:
    96
正在加载...