XF 1.5 An unexpected error occurred. Please try again later.

Jazem

New member
Xenforo I get this error:





I'm sure database credentials are correct. This happened when I was transferring hosts. Config.php was updated and old .sql file was exported from old host and imported into this one.
 

Optic

Well-known member
For the unexpected error, if you check the page source is there more details on the error?

Looks like a corrupt backup.. how was the backup created?
 

Jazem

New member
For the unexpected error, if you check the page source is there more details on the error?

Looks like a corrupt backup.. how was the backup created?
There are no more details when I check page source. Backup created by zipping my web files and downloading it, then uploading to new host and unzipping.
 

Optic

Well-known member
OK but how was the database backup created? Did you use the command line with mysql or use phpMyAdmin? Because very likely the way it was exported is causing this issue.

Do you have access to the old server to re-create the database backup?

Also check if your new server meets the requirements using this script:
https://xenforo.com/xenforo-requirements-test.zip

XenForo System Requirements
  • PHP: 5.2.11+
  • MySQL: 5.0+
  • PHP extensions: MySQLi, GD (with JPEG support), PCRE, SPL, SimpleXML, DOM, JSON, iconv, ctype
  • PHP safe_mode off
 

Jazem

New member
OK but how was the database backup created? Did you use the command line with mysql or use phpMyAdmin? Because very likely the way it was exported is causing this issue.

Do you have access to the old server to re-create the database backup?

Also check if your new server meets the requirements using this script:
https://xenforo.com/xenforo-requirements-test.zip
Database backup created through myPhPAdmin and I meet system requirements, thanks for the test script

 
Top