Possible Duplicate:
Magento error: Module “Mage_Api” requires module “Mage_Core”
error list when I open site:
Module "Mage_Api" requires module "Mage_Core".
Trace:
#0 /home/towelsjt/public_html/app/code/core/Mage/Core/Model/Config.php(849): Mage::throwException('Module "Mage_Ap...')
#1 /home/towelsjt/public_html/app/code/core/Mage/Core/Model/Config.php(812): Mage_Core_Model_Config->_sortModuleDepends(Array)
#2 /home/towelsjt/public_html/app/code/core/Mage/Core/Model/Config.php(315): Mage_Core_Model_Config->_loadDeclaredModules()
#3 /home/towelsjt/public_html/app/code/core/Mage/Core/Model/App.php(414): Mage_Core_Model_Config->loadModules()
#4 /home/towelsjt/public_html/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#5 /home/towelsjt/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#6 /home/towelsjt/public_html/index.php(87): Mage::run('', 'store')
#7 {main}
This error message is letting you know that Magento tried to load the
Mage_Apimodule’s declaration, but couldn’t find a declaration for theMage_Coremodule. SinceMage_Apiis configured to depend on this module, Magento bails.There’s myriad reasons this could happen, and there’s not enough information in your question to deduce what’s going on. You’ll need to debug this problem further yourself.
First, this exception is emanating from the following method
The
$modulesarray contains the loadedapp/etc/modulesinformation for your system. Your exception comes up in the first loopCheck the contents of
$modules. If there’s not aMage_Corekey (as I suspect), that means Magento couldn’t load the file inapp/etc/modulesthat declaresMage_Core. By default this isMage_All.xml. Check permissions on this file, and check that it’s valid XML. If cursory checks pass, this file is loaded in_loadDeclaredModulesDetermine why the
Mage_Corenode is missing, and you’ll find the solution to your problem.