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

majesty95

Active member
#1
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?