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

XF 1.2 Server Error

Nothing has been done to my site and all of a sudden I am getting:

A server error occurred. Please try again later.

I Can't get into the admin panel either:

Security error occurred. Please press back, refresh the page, and try again.

What should I do?


I really think its a permissions error. I'm just trying to sort it out. This is the first time that I have had an issue getting into the admin cp.

A while back a bunch of permissions got changed somehow.

Here is the only thing in the source:

<!-- main template -->
<div class="errorOverlay">
<a class="close OverlayCloser"></a>
<div class="baseHtml">
<label for="ctrl_0" class="OverlayCloser">A server error occurred. Please try again later.</label>


Somehow my DB has increased in size dramatically.

Whats this saying:

Server Error
Mysqli prepare error: Table './forum/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 760
  6. XenForo_Session->saveSessionToSource() in XenForo/Session.php at line 501
  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 344
  10. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  11. XenForo_FrontController->run() in /home/zenbookf/public_html/index.php at line 13
Does XF provide a way to repair this table?