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


Discussion in 'Troubleshooting and Problems' started by nusapromo, Dec 1, 2012.

  1. nusapromo

    nusapromo Member

    Hi ,
    Suddenly my site showing "error" message and admin can't login either.how to fixed this?
    you can check here
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Can you login directly to the Admin CP?


    There should be a more detailed error in the server log:

    Admin CP -> Tools -> Server Error Log
  3. nusapromo

    nusapromo Member

    i can't. when i try to login with valid password i receive this error message"Security error occurred. Please press back, refresh the page, and try again.".when i try the wrong password i receive message" Incorrect password. Please try again.".
    i don't know what happened and what going on.please help
  4. Chris D

    Chris D XenForo Developer Staff Member

    Has anything changed recently?

    I've been looking at the code and that error "Security error has occurred" should only happen if the csrf validation fails... but that can't happen for a guests...

    But maybe if something has changed recently we can work it out.
    Jake Bunce likes this.
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Add this to your library/config.php file:

    $config['debug'] = 1;
    That should reveal a more detailed error on this page:

    Chris D likes this.
  6. Chris D

    Chris D XenForo Developer Staff Member

    Was I half asleep when I wrote my previous post (possible) or has the error message changed? o_O
  7. nusapromo

    nusapromo Member

  8. nusapromo

    nusapromo Member

    nothing,is all ok,then suddenly got this error
  9. Chris D

    Chris D XenForo Developer Staff Member

    Do you know how to run a My SQL query?

    Maybe you have root/shell access to the server or you have PHP My Admin installed?

    If so, you need to run this My SQL query on your XenForo database:

    REPAIR TABLE xf_session

    That's because the error is currently: Mysqli prepare error: Table './investpl_xenforo/xf_session' is marked as crashed and should be repaired

    If you do not know how to do this, you may need to contact your host and tell them the error, and what needs to be done to fix it.
    Jake Bunce, Mouth and nusapromo like this.
  10. nusapromo

    nusapromo Member

    oke.thank you.i will try
  11. nusapromo

    nusapromo Member

    is work and live again now.thank you very much
    Jake Bunce likes this.

Share This Page