ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Copying a live installation to MAMP

November 25, 2011 7:47am

Subscribe [2]
  • #1 / Nov 25, 2011 7:47am

    onjegolders

    29 posts

    I’ve been trying to copy my live site to a MAMP installation so that I can try out some changes locally without touching v1.0 of my live site. But I don’t seem to be able to get it working. Could someone give me a couple of simple steps to get this working?

    I’ve tried copying files over, creating new database then importing database.
    I also changed the paths in config.php but my localhost/ee folder just spins and doesn’t load, the /admin.php loads with the following error

    Site Error: Unable to Load Site Preferences; No Preferences Found

    Any step by step help would be greatly appreciated!

  • #2 / Nov 25, 2011 10:17am

    onjegolders

    29 posts

    I seem to have resolved this, I obviously hadn’t updated the database.php in the config folder.
    I now have another strange problem, as soon as my local version was sorted out, I checked back and my live site was practically blank. The main container was there but all content and images were stripped - this was pretty alarming. I got a message in the cp saying index.php had changed so I overwrote this file with a backed-up version and the site is ok again but I don’t see how what I’m doing locally is messing up my live version!

    Any ideas?

  • #3 / Nov 28, 2011 1:33pm

    Kyle Cotter

    730 posts

    Hey onjegolders,

    Glad to see updating “database.php” fixed your issue with your local site.

    Perhaps while copying all the files down to the local install, you may have overwritten something on the server?

    Glad to see you had a backup you could roll back to.

    Double check that all your paths are correct locally, and don’t point to your live site. Double check “config.php” and “database.php”, and the general configuration settings in the control panel to make sure nothing still points back to the live site.

    Once you’ve done this, there should be no way your live site would be affected by your local site.

    Just to make sure, at this point in time, both your local and live sites are functioning as expected? Do you have any other questions I can assist you with?

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases