1. 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

Discussion in 'Troubleshooting and Problems' started by JRW-910, Mar 23, 2014.

  1. JRW-910

    JRW-910 Member

    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?


  2. Brogan

    Brogan XenForo Moderator Staff Member

    View the page source, it may give some more details on the error.

    What is the URL to your site?
  3. JRW-910

    JRW-910 Member

    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>


  4. JRW-910

    JRW-910 Member

    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?


  5. Brogan

    Brogan XenForo Moderator Staff Member

    You can repair it in phpMyAdmin.
    As its the session table though, you can just truncate it.
  6. JRW-910

    JRW-910 Member

    Repaired the table and I'm back up. Wonder why XF wasn't able to tell me what the issue was... oh well.


  7. JRW-910

    JRW-910 Member

    Missed your reply. Just went back and used the TRUNCATE function.

    Thanks for your quick reply.

  8. Maxxamillion

    Maxxamillion Active Member

    im lost as to what i repair in myphp?

Share This Page