XF 2.1 Trying to move a site to localhost

Matt C.

Well-known member
I downloaded all my files and moved them to localhost. I exported the database file and imported it into PHPMyAdmin.

After putting the database details in the config file, I get this error:

The site is currently being upgraded. Please check back later.
Any help would be appreciated.
 

sbj

Well-known member
Do you get that message for your main site or for the localhost one?

Did you navigate to (type in the browser bar) localhost/install to see if you can access the upgrade page? Or localhost/admin.php for that matter?
 

Matt C.

Well-known member
I only get it for localhost. And tried going to /install and login but it says my user can't be found.
 

sbj

Well-known member
You have to use the superadministrator account to access it. Or maybe re-check again if you connected the right database with the right files. Also if you change your credentials in the config file, better turn off/on the SQL and PHP server to have an immediate effect.
 

Brogan

XenForo moderator
Staff member
Copying a site from a production server to localhost should just work with no issues.

If it doesn't, it generally indicates there has been an issue baking up and/or copying the database and/or files.
 
Top