Magento – Can’t Retrieve Entity Config Solution

2 Comments

After a recent update of MAMP on my system, I was no longer able to load Magento sites on my localhost. The problem seems to be a PHP compatibilty issue and the solution is pretty simple.

Loading up Magento sites on my local development server, I found myself greeted with a page saying:
Can’t retrieve entity config: core/store_group, followed by a long trace: message and

I found the solution online here: dltr.org and I’m posting it on my blog to make it easier for me to find later on!

Download a new copy of Magento from the Magento Commerce site and unzip the file.

Open Magento > lib > Varien and copy the Simplexml directory, then navigate through your sites on your localhost to the same location and replace the directory by pasting and overwriting.

Restart MAMP (or XAMP, LAMP, WAMP etc) and reload your sites.

Thanks to Damodar Bashyal for this!

Magento , ,


2 Comments

  1. Alexey

    Thanks for this advice! This saved my life!

    With respect
    Alexey

  2. vipul

    Hello,
    After changing Simplexml Directroy with new one , my site still not working and it displays error as shown below.

    Warning: include(Varien/Simplexml/Config.php): failed to open stream: No such file or directory in /var/www/html/mysite/app/code/core/Mage/Core/functions.php on line 73

    Warning: include(): Failed opening ‘Varien/Simplexml/Config.php’ for inclusion (include_path=’/var/www/html/mysite/app/code/local:/var/www/html/mysite/app/code/community:/var/www/html/mysite/app/code/core:/var/www/html/mysite/lib:.:/usr/share/php:/usr/share/pear’) in /var/www/html/mysite/app/code/core/Mage/Core/functions.php on line 73

    Fatal error: Class ‘Varien_Simplexml_Config’ not found in /var/www/html/mysite/app/code/core/Mage/Core/Model/Config/Base.php on line 39

It's good to talk!

Your email address will not be published. Required fields are marked *

Please answer before submitting form * Time limit is exhausted. Please reload CAPTCHA.