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

XF 1.4 All of a sudden - crash

Discussion in 'Troubleshooting and Problems' started by Jimmi, Jan 3, 2015.

  1. Jimmi

    Jimmi Member

    OK, all of a sudden - days after an update to latest release this happens:
    Mysqli prepare error: Table './XXXXxxxXXXX/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 814
    6. XenForo_Session->saveSessionToSource() in XenForo/Session.php at line 532
    7. XenForo_Session->save() in XenForo/Controller.php at line 412
    8. XenForo_Controller->updateSession() in XenForo/Controller.php at line 356
    9. XenForo_Controller->postDispatch() in XenForo/FrontController.php at line 354
    10. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    11. XenForo_FrontController->run() in /home/xxxx/public_html/index.php at line 13
    whats this? my forum all offline :/
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Either repair or truncate (empty) the xf_session table using phpMyAdmin.
     
  3. Jimmi

    Jimmi Member

    And how do i do that :)
     
  4. Jimmi

    Jimmi Member

    Session does say:
    [​IMG] #145 - Table './adfasdfasf/xf_session' is marked as crashed and should be repaired
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    As above, using phpMyAdmin you can repair or empty the table.

    If you don't know how to do that, contact your host and they should be able to help.
     
  6. Jimmi

    Jimmi Member

    ahh thats easy - thanks Brogan :)
    site is back up
     

Share This Page