Вкладка "Способы оплаты" в Magento admin - PullRequest
0 голосов
/ 15 июня 2011

Мои версии для Magento: 1.3.2.1

В админке Когда я щелкаю Систему -> Конфигурация -> Способы оплаты, выдается следующая ошибка

Название: Ошибка отправки формы

Произошла ошибка при обработке вашего запроса.

Неправильная модель для способа доставки: flatrateuk

Trace:
#0 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Shipping/Model/Config.php(90): Mage::exception('Mage_Shipping', 'Invalid model f...')
#1 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Shipping/Model/Config.php(44): Mage_Shipping_Model_Config->_getCarrier('flatrateuk', Array, NULL)
#2 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/AmazonPayments/Block/Adminhtml/Shipping/Methods.php(64): Mage_Shipping_Model_Config->getActiveCarriers(NULL)
#3 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/AmazonPayments/Block/Adminhtml/Shipping/Methods.php(37): Mage_AmazonPayments_Block_Adminhtml_Shipping_Methods->getShippingMethods()
#4 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field.php(89): Mage_AmazonPayments_Block_Adminhtml_Shipping_Methods->_getElementHtml(Object(Varien_Data_Form_Element_Select))
#5 /home/crate/public_html/sneakercornerbk.com/lib/Varien/Data/Form/Element/Abstract.php(199): Mage_Adminhtml_Block_System_Config_Form_Field->render(Object(Varien_Data_Form_Element_Select))
#6 /home/crate/public_html/sneakercornerbk.com/lib/Varien/Data/Form/Element/Abstract.php(209): Varien_Data_Form_Element_Abstract->getHtml()
#7 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Fieldset.php(51): Varien_Data_Form_Element_Abstract->toHtml()
#8 /home/crate/public_html/sneakercornerbk.com/lib/Varien/Data/Form/Element/Abstract.php(199): Mage_Adminhtml_Block_System_Config_Form_Fieldset->render(Object(Varien_Data_Form_Element_Fieldset))
#9 /home/crate/public_html/sneakercornerbk.com/lib/Varien/Data/Form/Element/Abstract.php(209): Varien_Data_Form_Element_Abstract->getHtml()
#10 /home/crate/public_html/sneakercornerbk.com/lib/Varien/Data/Form.php(214): Varien_Data_Form_Element_Abstract->toHtml()
#11 /home/crate/public_html/sneakercornerbk.com/lib/Varien/Data/Form.php(226): Varien_Data_Form->toHtml()
#12 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(103): Varien_Data_Form->getHtml()
#13 /home/crate/public_html/sneakercornerbk.com/app/design/adminhtml/default/default/template/widget/form.phtml(28): Mage_Adminhtml_Block_Widget_Form->getFormHtml()
#14 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Template.php(144): include('/home/crate/pub...')
#15 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#16 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#17 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Abstract.php(646): Mage_Core_Block_Template->_toHtml()
#18 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Abstract.php(506): Mage_Core_Block_Abstract->toHtml()
#19 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Abstract.php(457): Mage_Core_Block_Abstract->_getChildHtml('form', true)
#20 /home/crate/public_html/sneakercornerbk.com/app/design/adminhtml/default/default/template/system/config/edit.phtml(46): Mage_Core_Block_Abstract->getChildHtml('form')
#21 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Template.php(144): include('/home/crate/pub...')
#22 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#23 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#24 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Abstract.php(646): Mage_Core_Block_Template->_toHtml()
#25 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#26 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Abstract.php(646): Mage_Core_Block_Text_List->_toHtml()
#27 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Abstract.php(506): Mage_Core_Block_Abstract->toHtml()
#28 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Abstract.php(457): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#29 /home/crate/public_html/sneakercornerbk.com/app/design/adminhtml/default/default/template/page.phtml(67): Mage_Core_Block_Abstract->getChildHtml('content')
#30 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Template.php(144): include('/home/crate/pub...')
#31 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#32 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#33 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Block/Abstract.php(646): Mage_Core_Block_Template->_toHtml()
#34 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml()
#35 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Controller/Varien/Action.php(347): Mage_Core_Model_Layout->getOutput()
#36 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php(93): Mage_Core_Controller_Varien_Action->renderLayout()
#37 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Controller/Varien/Action.php(376): Mage_Adminhtml_System_ConfigController->editAction()
#38 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch('edit')
#39 /home/crate/public_html/sneakercornerbk.com/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#40 /home/crate/public_html/sneakercornerbk.com/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
#41 /home/crate/public_html/sneakercornerbk.com/index.php(65): Mage::run()
#42 {main} 

Я искал в Googleно не смог найти ответ.Пожалуйста, порекомендуйте.Спасибо

1 Ответ

2 голосов
/ 15 июня 2011

@ B00MER правильно.Кто-то приложил немало усилий, чтобы закончить учебное пособие по модулю flatrateuk.

Вы сможете понять, что происходит из оригинального учебного пособия .Примечание с интересом:

Как удалить дублированный модуль фиксированной ставки

A.Удалите части кода, добавленные на шаге 3 и 4 установки, из config.xml и system.xml
B.Удалите файлы Flatrateuk.php с шага установки 1 и 2
C.В вашей базе данных удалите все записи с путем, например carriers/flatrateuk%, из таблицы core_config_data
D.Обновить кеш

...