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

Mysqli prepare error: Table './brajoc_xenforo/xf_session' is marked as crashed and should be repaire

Discussion in 'Troubleshooting and Problems' started by WaddleJrJr, Mar 24, 2012.

  1. WaddleJrJr

    WaddleJrJr Member

    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 625
    6. XenForo_Session->getSessionFromSource() in XenForo/Session.php at line 360
    7. XenForo_Session->_setup() in XenForo/Session.php at line 344
    8. XenForo_Session->start() in XenForo/Session.php at line 246
    9. XenForo_Session::getPublicSession() in XenForo/ControllerAdmin/Login.php at line 7
    10. XenForo_ControllerAdmin_Login->actionForm() in XenForo/FrontController.php at line 310
    11. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    12. XenForo_FrontController->run() in /home/brajoc/public_html/admin.php at line 13
    Recently got this on my site, and I don't know how I can go about fixing it. I don't recall installing any new addons before this occured, so I have no idea what could've caused it. Anyone know a way to fix?

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Run the database repair option in cPanel.
    WaddleJrJr likes this.
  3. WaddleJrJr

    WaddleJrJr Member

    It worked, thanks a ton!

Share This Page