I am trying to tranfer magento from server to localhost, but it is giving

Fatal error: Call to a member function extend() on boolean in /var/www/html/mage/lib/Varien/Simplexml/Config.php on line 600

this error

local.xml file

 <?xml version="1.0"?>
 * Magento
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magento.com so we can send you a copy immediately.
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magento.com for more information.
 * @category    Mage
 * @package     Mage_Core
 * @copyright   Copyright (c) 2006-2017 X.commerce, Inc. and affiliates (http://www.magento.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
            <date><![CDATA[Fri, 09 Jun 2017 09:16:23 +0000]]></date>
                    <initStatements><![CDATA[SET NAMES utf8]]></initStatements>
  • Has your xml got a space at the start like your example? – Dominic Xigen Jan 28 at 20:42
  • where is the space in my example – vinaysirige Jan 29 at 4:46
  • At the start of your xml – Dominic Xigen Jan 29 at 9:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.