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

XF 1.4 XenForo don't work (An unexpected database error occurred. Please try again later.)

Discussion in 'Troubleshooting and Problems' started by TechXcrafter, Jun 11, 2015.

  1. TechXcrafter

    TechXcrafter Member

    Hey Guys!
    I have a problem with xenforo. After I moved XenForo from a VPS to a Root Server, I get the message:

    "An unexpected database error occurred. Please try again later."

    When I view the sourcecode, I find this:

    "<!-- Mysqli prepare error: Table 'XenForo.xf_data_registry' doesn't exist -->"

    I have copied the Folder(var/lib/mysql/XenForo) and put it into the Directory of the new Root(var/lib/mysql/Xenforo).

    I'm Sure that the Config.php is correct.

    Thanks,
    Tech
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The problem is due to an incomplete or corrupt database backup/restore.

    You may need to restore from an earlier/viable backup.
     
  3. imthebest

    imthebest Formerly Super120

    That's not a reliable way to backup/restore a database. Use mysqldump instead.
     
  4. TechXcrafter

    TechXcrafter Member

Share This Page