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

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

Discussion in 'Troubleshooting and Problems' started by majesty95, Nov 7, 2013.

  1. majesty95

    majesty95 Active Member

    I am having an issue with my site running very slowly at times. After speaking to a member here and to my host, we determined the likely cause was my site was not being cached. So, I tried to set that up through the library/config.php file as instructed here but now I cannot access my site and get this:

    An unexpected database error occurred. Please try again later.

    I removed the added code from the library/config/php file but I still get the same message. :(

    Can anyone tell me how to fix this?
     
  2. majesty95

    majesty95 Active Member

    NVM. Incidentally MySQL went down on the server when I did this. It was apparently unrelated...
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    View the page source, do you see any additional information?
     

Share This Page