Moving C5 - How to Backup to localhost for testing/development?
Trying to move a live site to localhost for development. I followed all steps here:
At STEP 5: "Modify your configuration file for the new site", I don't see any files in the root\application\config folder.
To workaround, I copied a generic database.php file generated from a different install & edited the database info, but now I get this error: An unexpected error occurred.
Class \Concrete\Core\Permission\Key\AccessUserSearchUserKey does not exist
Any ideas? New to c5. Been troubleshooting for hours.
But it shouldn't matter, right? I'm just trying to use a generic template with an existing database..
Just now, I installed a fresh c5 on a new database, and then edited the config file to point to the existing database. No dice, same error message as before.
I have a site at blah.com, currently being redirected to blah2.com, because blah.com needs to be edited and updated. I want to edit and update blah.com locally using WAMP. I backed up the database from blah.com, and installed a fresh version of c5 in WAMP using an empty database. Then I changed the config file of my fresh c5 install so it points to the blah.com database (now in localhost/phpmyadmin) but I am receiving the same error as outlined in my first post.
Hope this makes sense, thanks for your help!
1) On the live site, turn off Pretty URLs and all caching.
2) Clear the cache
3) Visit your live site's cPanel ->File Manager and create an archive of all your files in the root folder and download that zip file
4) Visit your live site's cPanel->phpMyAdmin and export your live database and download that file.
5) On your localhost, expand your zip file into the root of your server
6) Look in your new application/config/database.php file for your username, password and database name.
7) Create a new empty database using the same database name from step 6.
8) Open phpMyAdmin on your localhost and create a user with the same username and password from step 6 and give that user full privileges on your database..
9) Land on your localhost in your browser.
10) Log in and turn on Pretty URLs again.
11) Crack a beer and enjoy.
So it seems like the files are just created during the installation process (which needs write permissions to /application/config)
did you maybe not run through the install process but just copy the files there?
No need to install c5 on localhost just copy the files of your live server and import the live database into the new empty local database.
server, database, username and password with your local database details of
Also remember before copy the files and export database turn off pretty url and cache.