XF 1.4 Unexpected error occurred


Active member
I has a wee little problem...


Site error:
An unexpected error occurred. Please try again later.
Admin login error:
Server Error
Mysqli prepare error: Table './big12248_xenbing/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 825
  5. Zend_Db_Adapter_Abstract->fetchOne() in XenForo/Session.php at line 749
  6. XenForo_Session->getSessionFromSource() in XenForo/Session.php at line 443
  7. XenForo_Session->_setup() in XenForo/Session.php at line 427
  8. XenForo_Session->start() in XenForo/Session.php at line 324
  9. XenForo_Session::getPublicSession() in XenForo/ControllerAdmin/Login.php at line 7
  10. XenForo_ControllerAdmin_Login->actionForm() in XenForo/FrontController.php at line 347
  11. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  12. XenForo_FrontController->run() in /var/www/html/admin.php at line 13
Not sure what the problem is? I have restarted MySQL and the Web server - no good.



Active member
After some more searching through the xenforo forums I found all I needed to do was repair the table xf_session in phpMyAdmin.