Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7640231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:37:09+00:00 2026-05-31T08:37:09+00:00

I am migrating Magento from one server to another. I created local.xml file but

  • 0

I am migrating Magento from one server to another.
I created local.xml file but Magento keeps redirecting to install page.

I’m also having some owner/group issues from doing SVN checkout so I suspect Magento can’t read local.xml.

Question: Which file/part of the script, performs the detection of local.xml, so I can simulate whether from that same environment local.xml is accessible?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T08:37:10+00:00Added an answer on May 31, 2026 at 8:37 am

    Surely addressing your permissions issues is key here. All files should be owned by the same user that the PHP instance runs as with rwx.

    You could test temporarily by:

    chmod -R 777 /path/to/my/magento/store/*
    

    Also be sure to flush the following directories as a matter of course when migrating a store:

    ./var/cache/*
    ./var/session/*
    

    To answer your question, local.xml is read in ./app/Mage.php around line +640 in the following function:

    public static function isInstalled($options = array())
    {
        if (self::$_isInstalled === null) {
            self::setRoot();
    
            if (is_string($options)) {
                $options = array('etc_dir' => $options);
            }
            $etcDir = 'etc';
            if (!empty($options['etc_dir'])) {
                $etcDir = $options['etc_dir'];
            }
            $localConfigFile = self::getRoot() . DS . $etcDir . DS . 'local.xml';
    
            self::$_isInstalled = false;
    
            if (is_readable($localConfigFile)) {
                $localConfig = simplexml_load_file($localConfigFile);
                date_default_timezone_set('UTC');
                if (($date = $localConfig->global->install->date) && strtotime($date)) {
                    self::$_isInstalled = true;
                }
            }
        }
        return self::$_isInstalled;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After migrating magento from one to another hosting with different domain, I'm getting one
We are migrating our test report data (unit, regression, integration, etc..) from an XML
We will soon be migrating company data from our pre-production server to production with
Currently migrating from SQL Server to PostgreSQL and attempting to improve a couple of
We are migrating WI & VC from TFS 2008 to TFS 2010. One of
migrating from one django version to the next, usually requires that you read the
I have been migrating from subversion to mercurial piecemeal and this has created a
I'm in the process of migrating our Magento 1.3.2.2 store to another platform. I'm
I'm currently migrating a Magento installation to a new, separate server and I was
I'm migrating a machine to my local server and there is something weird with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.