Magento:打开系统 - >配置 - >库存给出错误

时间:2015-04-07 07:26:59

标签: magento-1.8

当我尝试打开System=>Configuration=>Invengory时,会出现以下错误。 There has been an error processing your request

下面的

是报告文件中的错误日志

a:5:{i:0;s:97:"Invalid config field backend model: adminhtml/system_config_backend_catalog_inventory_managestock";i:1;s:1704:"#0 C:\xampp\htdocs\my_store\app\code\core\Mage\Adminhtml\Block\System\Config\Form.php(328): Mage::throwException('Invalid config ...')
#1 C:\xampp\htdocs\my_store\app\code\core\Mage\Adminhtml\Block\System\Config\Form.php(229): Mage_Adminhtml_Block_System_Config_Form->initFields(Object(Varien_Data_Form_Element_Fieldset), Object(Mage_Core_Model_Config_Element), Object(Mage_Core_Model_Config_Element))
#2 C:\xampp\htdocs\my_store\app\code\core\Mage\Adminhtml\Block\System\Config\Form.php(164): Mage_Adminhtml_Block_System_Config_Form->_initGroup(Object(Varien_Data_Form), Object(Mage_Core_Model_Config_Element), Object(Mage_Core_Model_Config_Element))
#3 C:\xampp\htdocs\my_store\app\code\core\Mage\Adminhtml\Block\System\Config\Edit.php(92): Mage_Adminhtml_Block_System_Config_Form->initForm()
#4 C:\xampp\htdocs\my_store\app\code\core\Mage\Adminhtml\controllers\System\ConfigController.php(107): Mage_Adminhtml_Block_System_Config_Edit->initForm()
#5 C:\xampp\htdocs\my_store\app\code\core\Mage\Core\Controller\Varien\Action.php(418): Mage_Adminhtml_System_ConfigController->editAction()
#6 C:\xampp\htdocs\my_store\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('edit')
#7 C:\xampp\htdocs\my_store\app\code\core\Mage\Core\Controller\Varien\Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#8 C:\xampp\htdocs\my_store\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#9 C:\xampp\htdocs\my_store\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#10 C:\xampp\htdocs\my_store\index.php(87): Mage::run('', 'store')
#11 {main}";s:3:"url";s:108:"/my_store/index.php/admin/system_config/edit/section/cataloginventory/key/b544589d13d839efa67ab5845e86e613/";s:11:"script_name";s:20:"/my_store/index.php";s:4:"skin";s:5:"admin";}

我试过禁用我已经安装的所有扩展程序,但仍然没有成功,

如果有人知道出了什么问题,请指导我

1 个答案:

答案 0 :(得分:0)

找到答案,

感谢amit bera,

答案在此链接https://magento.stackexchange.com/questions/62911/opening-system-configuration-inventory-gives-error

根据您的说法,您的后端模型的问题一直在上升,因为任何特定的下拉菜单或多选项都无法使用。后端模型类是

Mage_Adminhtml_Model_System_Config_Backend_Catalog_Inventory_Managestock

并且文件位置为app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Catalog/Inventory/Managestock.php并且您的实例中缺少此文件。这就是它产生问题的原因。

可能是你的magento安装不正确。