Magento安装错误:模块" Mage_Api2"需要模块" Mage_Oauth"

时间:2014-07-29 18:50:20

标签: magento

处理您的请求时出错 模块" Mage_Api2"需要模块" 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}

1 个答案:

答案 0 :(得分:0)

似乎你有一个不完整的magento源安装或某种程度上模块Mage_Oauth被禁用。只需查看文件app/etc/modules/Mage_Oauth.xml,它必须如下所示

<config>
    <modules>
        <Mage_Oauth>
            <active>true</active>
            <codePool>core</codePool>
            <depends>
                <Mage_Core/>
            </depends>
        </Mage_Oauth>
    </modules>
</config>

活动标志可能不是true