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

XF 1.4 An unexpected database error occurred. Please try again later.

Discussion in 'Troubleshooting and Problems' started by Rho Delta, Oct 1, 2015.

  1. Rho Delta

    Rho Delta Well-Known Member

    Overnight this started happening. My site was working fine yesterday. Please help!

    [​IMG]
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can try repairing the session table or you can truncate (empty) it - using phpMyAdmin.
     
  3. Rho Delta

    Rho Delta Well-Known Member

    Not really sure what that means. I am good at ACP stuff but getting into mysql is a bit beyond my skill set. If I open a support ticket can someone help me?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It's outside the scope of ticket support but your host should be able to help, otherwise your sysadmin (if you have one).
     
  5. borbole

    borbole Well-Known Member

    All you have to do is repair the table. Select the session table and from the drop down list of options choose for repair.

    Or run this query in the SQL box.

    Code:
    REPAIR TABLE xf_session;
    Or you can delete that table altogether and then recreate it again.

    If the issue will still happen then that usually means that you're out of disk space or there is s file system corruption. In that case you would need to contact your host.
     
    maszd likes this.
  6. Rho Delta

    Rho Delta Well-Known Member

    The database repair worked. Thanks!
     
    borbole likes this.

Share This Page