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

An unexpected database error occurred. Please try again later.

Hi guys

Yesterday .. Suddenly appeared to me this message

An unexpected database error occurred. Please try again later.
When i view the source of the page
I get the following error

<!-- Mysqli prepare error: Incorrect information in file: './eralan_*******/xf_data_registry.frm' -->
What is the solution to this problem ..?

Jake Bunce

XenForo moderator
Staff member
That error may indicate corruption in which case you need to restore a recent backup of your database.

I did some searching and found several reports of this error following changes to the MySQL configuration. One person messed up the my.cnf file on save. Another person accidentally disabled InnoDB. And yet another person discovered that the /tmp directory on the server was full or not writable. Server misconfigurations like this can cause this error. Have you or your host changed anything on the server recently?