XF 1.5 Incorrect key file for table './foro/xf_session.MYI'

tatin1998

Member
Error:
Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Incorrect key file for table './foro/xf_session.MYI'; try to repair it - library/Zend/Db/Statement/Mysqli.php:214
Stack trace:
Code:
#0 /var/www/html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /var/www/html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /var/www/html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /var/www/html/library/XenForo/Session.php(855): Zend_Db_Adapter_Abstract->insert('xf_session', Array)
#4 /var/www/html/library/XenForo/Session.php(574): XenForo_Session->saveSessionToSource('fee0aee735dd261...', false)
#5 /var/www/html/library/XenForo/Controller.php(414): XenForo_Session->save()
#6 /var/www/html/library/XenForo/Controller.php(358): XenForo_Controller->updateSession(Object(XenForo_ControllerResponse_Message), 'LiveUpdate_Cont...', 'Index')
#7 /var/www/html/library/XenForo/FrontController.php(358): XenForo_Controller->postDispatch(Object(XenForo_ControllerResponse_Message), 'LiveUpdate_Cont...', 'Index')
#8 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /var/www/html/index.php(13): XenForo_FrontController->run()
#10 {main}

To solve this error I can use this SQL commando: REPAIR TABLE xf_sessions;

And the table work correctly again, but, in 1 hour, it happens again.

Sorry my english, I'm spanish, can anyone help me?
 
If it keeps happening repeatedly then it points to it being a server issue. You should debug that with your host. It could be a sign that the MySQL server is crashing or it's experiencing other issues such as running out of available memory or disk space.
 
Top Bottom