Magento安装错误:模块"Mage_Api2"需要模块"Mage_Oauth" [英] Magento installation error: Module "Mage_Api2" requires module "Mage_Oauth"
本文介绍了Magento安装错误:模块"Mage_Api2"需要模块"Mage_Oauth"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
处理您的请求时出错 模块"Mage_Api2"需要模块"Mage_Oauth".
There has been an error processing your request Module "Mage_Api2" requires module "Mage_Oauth".
踪迹:
#0 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Config.php(849): Mage::throwException('Module "Mage_Ap...')
#1 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Config.php(812): Mage_Core_Model_Config->_sortModuleDepends(Array)
#2 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Config.php(315): Mage_Core_Model_Config->_loadDeclaredModules()
#3 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(414): Mage_Core_Model_Config->loadModules()
#4 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(343): Mage_Core_Model_App->_initModules()
#5 C:\xampp\htdocs\magento\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#6 C:\xampp\htdocs\magento\index.php(87): Mage::run('', 'store')
#7 {main}
推荐答案
看来您安装的magento源代码不完整,或者模块Mage_Oauth
被禁用.只需查看文件app/etc/modules/Mage_Oauth.xml
,它必须看起来像这样
it seems you've got an incomplete magento source for installation or somehow the module Mage_Oauth
was disabled. Just look in the file app/etc/modules/Mage_Oauth.xml
, it must look like this
<config>
<modules>
<Mage_Oauth>
<active>true</active>
<codePool>core</codePool>
<depends>
<Mage_Core/>
</depends>
</Mage_Oauth>
</modules>
</config>
也许活动标记不是true
这篇关于Magento安装错误:模块"Mage_Api2"需要模块"Mage_Oauth"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文