Can't retrieve entity config: core/store_group

Posted by Damodar Bashyal on June 05, 2012

 

Just upgraded my PHP to version 5.4 and I have magento version 1.3.2.4 but I encoutered this error:

Can't retrieve entity config: core/store_group

Trace:
#0 C:\_projects\magento\app\code\core\Mage\Core\Model\Resource.php(144): Mage::throwException('Can't retrieve ...')
#1 C:\_projects\magento\app\code\core\Mage\Core\Model\Mysql4\Abstract.php(235): Mage_Core_Model_Resource->getTableName('core/store_grou...')
#2 C:\_projects\magento\app\code\core\Mage\Core\Model\Mysql4\Abstract.php(218): Mage_Core_Model_Mysql4_Abstract->getTable('store_group')
#3 C:\_projects\magento\app\code\core\Mage\Core\Model\Mysql4\Collection\Abstract.php(83): Mage_Core_Model_Mysql4_Abstract->getMainTable()
#4 C:\_projects\magento\app\code\core\Mage\Core\Model\Mysql4\Collection\Abstract.php(69): Mage_Core_Model_Mysql4_Collection_Abstract->_initSelect()
#5 C:\_projects\magento\app\code\core\Mage\Core\Model\Config.php(1086): Mage_Core_Model_Mysql4_Collection_Abstract->__construct(Object(Mage_Core_Model_Mysql4_Store_Group))
#6 C:\_projects\magento\app\code\core\Mage\Core\Model\Config.php(1119): Mage_Core_Model_Config->getModelInstance('core_mysql4/sto...', Object(Mage_Core_Model_Mysql4_Store_Group))
#7 C:\_projects\magento\app\Mage.php(347): Mage_Core_Model_Config->getResourceModelInstance('core/store_grou...', Object(Mage_Core_Model_Mysql4_Store_Group))
#8 C:\_projects\magento\app\code\core\Mage\Core\Model\Abstract.php(200): Mage::getResourceModel('core/store_grou...', Object(Mage_Core_Model_Mysql4_Store_Group))
#9 C:\_projects\magento\app\code\core\Mage\Core\Model\Abstract.php(205): Mage_Core_Model_Abstract->getResourceCollection()
#10 C:\_projects\magento\app\code\core\Mage\Core\Model\App.php(408): Mage_Core_Model_Abstract->getCollection()
#11 C:\_projects\magento\app\code\core\Mage\Core\Model\App.php(268): Mage_Core_Model_App->_initStores()
#12 C:\_projects\magento\app\Mage.php(434): Mage_Core_Model_App->init('', 'store', Array)
#13 C:\_projects\magento\app\Mage.php(455): Mage::app('', 'store', Array)
#14 C:\_projects\magento\index.php(65): Mage::run()
#15 {main}

So, I downloaded the magento version 1.7.0.0 and replaced current lib/Varien/SimpleXML with the one from this version. The error was due to outdated SimpleXML library that is not compatible with php 5.4.

Stuart posted on - Monday 5th of August 2013 09:01:31 AM

Excellent - thanks! Just remember to restart MAMP after switching the directories over.

Reposted here: http://haizdesign.com/blog/magento/magento-cant-retrieve-entity-config-solution/
 
not published on website


QR Code: Can't retrieve entity config: core/store_group