I have cloned a git repository containing a magento site in the same way as I normally do when joining a project. I went through the usual process of setting up database and setting everything up on my local.

This time for some reason everytime I try to view the site through my browser it redirects to the magento install page. I have only set up a few magento sites in the past and none were from scratch but I assume due to not having to install it before, I shouldn't have to this time. Any ideas what may be wrong or what file I need to modify to get this to work?

6 Answers 6


The chief cause of this is a missing or misnamed local.xml file in app/etc/ - this file is responsible for database connection details and cache settings. If it is missing it is assumed that it is a new installation and prompts you through the installation routine.

  • Hey, thanks very much for the answer. What you suggested definitely fixed one problem but for some reason now every page says - There has been an error processing your request. If you could point me in the right direction it would be a great help. Thanks again.. Commented Oct 14, 2013 at 14:17
  • In many cases this is because the defined database user does not have permission to read/update the database as configured. There is likely an error # issued on that screen, there should be a corresponding log # in your mage install var/report/ folder or check in the general php error log. Best of luck.
    – philwinkle
    Commented Oct 14, 2013 at 14:31
  • @ThomasRyan The "There has been an error processing your request." error page usually contains a reference number. This reference points you to a text file under var/reports with more information on the error. It is likely unrelated to this question so if you can't resolve it yourself please create a new question. Commented Oct 14, 2013 at 14:31
  • @philwinkle sounds good thank you very much. Commented Oct 14, 2013 at 14:33
  • 1
    even if app/etc/local.xml is present, the content may be wrong or corrupt in some way. make sure all the node contents look correct and the document is valid xml. Commented Feb 24, 2015 at 6:18

Mainly there are two reasons if you are getting installation page:

app/etc/local.xml file is missing or this file has wrong or unfinished syntax.


wrong permissions. i had this problem when updated core files under root. fixed the problem by running in magento folder:

chown -R www-data:www-data ./*

Addition to above answers there is a possibility of missing file while doing migration. Rename your downloader directory to something else and refresh the page it will start showing the missing file.


If you are using Linux servers and fresh installation of Magento just change ownership of folder. Sudo chown -R www-data:www-data /{Dir}


Give the app/etc/local.xml file 644 permission. If the file exists and still issue is happening.

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.