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

XF 1.4 A server error occurred. Please try again later.

Discussion in 'Troubleshooting and Problems' started by TDUBS, Mar 31, 2015.

  1. TDUBS

    TDUBS Active Member


    While I was at work, I returned home to my forum being inaccessible. What comes up is "A server error occurred. Please try again later." An Administrator of my forum forwarded me an error log in which he noticed before this happened.

    Server Error
    Mysqli prepare error: Table './xeo_boon/xf_session' is marked as crashed and should be repaired
    Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 825
    Zend_Db_Adapter_Abstract->fetchOne() in XenForo/Session.php at line 749
    XenForo_Session->getSessionFromSource() in XenForo/Session.php at line 443
    XenForo_Session->_setup() in XenForo/Session.php at line 427
    XenForo_Session->start() in XenForo/Session.php at line 324
    XenForo_Session::getPublicSession() in XenForo/ControllerAdmin/Login.php at line 7
    XenForo_ControllerAdmin_Login->actionForm() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/xeo/public_html/boon/admin.php at line 13
    I cannot login to my forum, only the ACP. How can I fix this?

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Either repair the xf_session table or truncate it.

    You can use phpMyAdmin to repair/truncate.
    TDUBS likes this.
  3. TDUBS

    TDUBS Active Member

    Easy fix. Thanks!

Share This Page