I downloaded live site to my local machine. And I also changed web/unsecure/base_url and web/secure/base_url with my local url.

After these all configurations site is not working in my local machine.

It is showing error as in below screenshot


Do you have any Idea what is missing..

  • goto your magento dir/errors/ make local.xml.sample as local.xml for checking the issue and afte that refresh page chech what is the issue .It show the error
    – Amit Bera
    Nov 7, 2014 at 12:20
  • Also, clear var/cache and var/sessions Nov 7, 2014 at 12:23
  • I have already cleared var/cache and var/sessions Nov 7, 2014 at 12:25
  • have you seen the error message?what is the issue?
    – Amit Bera
    Nov 7, 2014 at 12:26
  • And dir/erroes/ there was already file local.xml where I deleted this file. It shown me error like in this screenshot.. awesomescreenshot.com/0a73t1lk45 Nov 7, 2014 at 12:26

1 Answer 1


When setting up the live site to my local computer what I follow is:

  1. Download the code base.
  2. Download the database.
  3. Import the database to the mysql
  4. Put the code to the server webroot from where I can execute it using browser for e.g I am using wampserver on windows 7 so I put code into the C:\wamp\www\local dir.
  5. First remove all the folders and files from the webroot/var/cache/ directory
  6. Backup your local.xml file and delete the local.xml file from webroot/app/etc/ directory
  7. Then from the browser access the url for the local site, for e.g mine would be http://localhost/local/, Magento will automatically start the installation process, where you need to provide new login details for admin and your local site URL etc, for your local environment.
  8. It will not take much time and your local site will work as your live site.
  • already did that but not solved brother Nov 10, 2014 at 5:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.