• 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

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 :/


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.