I have recently made a duplicate copy of a customers Magento installation and put it into a subdirectory of the root. I did a dump of the database and imported it into a new database. I changed the local.xml file to reflect the new database. Now my issue comes when I try to view the site under the new subdirectory to keeps invoking the install as if the local.xml file is missing. It is clearly there in the app/etc folder within the cloned site, but still the install keeps starting. Any ideas? Below I have pasted the connection info in the local.xml file, just in case I miss typed something.

  • Did you update the web/unsecure/base_url and web/secure/base_url values in the database? Have a look in the core_cofig_data table and update those values to reflect the new setup.
    – LukeR
    May 8, 2015 at 4:17
  • also make sure if you are suing any table prefix or not if yes then also you need to mention this in local,xml
    – Keyul Shah
    May 8, 2015 at 4:22
  • Make sure your local.XML file has the correct file permission. May 8, 2015 at 4:58
  • Yes I updater the url in the database and I am not using any prefixes. Matter of fact I just copied the local.xml from the working site and just changed the database name.
    – Tommy
    May 8, 2015 at 4:59
  • What is the file permission suppose to be?
    – Tommy
    May 8, 2015 at 5:00

1 Answer 1


You need to change the file permissions on the following folders and it will work fine

chmod -R o+w var media app/etc

make sure your local.xml is set to 644

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.