Magento admin Payment Methods tab Error - php

My Magento verions is 1.3.2.1
In the admin When i click the System -> Configuration -> Payment Methods it outputs the following error
Title: Error Form Submission
There has been an error processing your request.
Invalid model for shipping method: 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}
I searched on google but couldn't find an answer. Please advise. Thanks

#B00MER is correct. Someone has had a half-baked effort at finishing the flatrateuk module tutorial.
You should be able to work out what is going on from the original tutorial. Note with interest:
How to uninstall the duplicated flat rate module
A. Remove the code parts you have added in installation step 3 and 4 from config.xml and system.xml
B. Delete the Flatrateuk.php files from installation step 1 and 2
C. In your database delete all the entries with path like carriers/flatrateuk% from the table core_config_data
D. Refresh the cache

Related

Mage registry key "_singleton/tax/observer" already exists

I have encountered this error as I was doing this.
The error happen in both frontend and backend.
I have tried below action:
Flushing the cache (delete everything in var/cache folder) : doesn't work.
Went to the compiler and noticed it was disabled
Tried & running the compiler : also doesn't work
Any suggestions?
Trace:
#0 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(222): Mage::throwException('Mage registry k...')
#1 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(476): Mage::register('_singleton/tax/...', false)
#2 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/App.php(1316): Mage::getSingleton('tax/observer')
#3 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('catalog_product...', Array)
#4 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php(526): Mage::dispatchEvent('catalog_product...', Array)
#5 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(885): Mage_Catalog_Model_Resource_Product_Collection->_afterLoad()
#6 /var/www/vhosts/jomgroupon.com/httpdocs/lib/Varien/Data/Collection.php(301): Mage_Eav_Model_Entity_Collection_Abstract->load()
#7 /var/www/vhosts/jomgroupon.com/httpdocs/app/design/frontend/base/default/template/catalog/product/widget/new/column/new_default_list.phtml(36): Varien_Data_Collection->getItems()
#8 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...')
#9 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#10 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#11 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#12 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#13 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#14 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#15 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('right', true)
#16 /var/www/vhosts/jomgroupon.com/httpdocs/app/design/frontend/default/skytheme/template/page/2columns-right.phtml(58): Mage_Core_Block_Abstract->getChildHtml('right')
#17 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...')
#18 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#19 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#20 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#21 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#22 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#23 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/local/Gclone/Deal/controllers/IndexController.php(72): Mage_Core_Controller_Varien_Action->renderLayout()
#24 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Gclone_Deal_IndexController->viewAction()
#25 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view')
#26 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#27 /var/www/vhosts/jomgroupon.com/httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#28 /var/www/vhosts/jomgroupon.com/httpdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#29 /var/www/vhosts/jomgroupon.com/httpdocs/index.php(87): Mage::run('', 'store')
#30 {main}
Check this file: /var/www/vhosts/jomgroupon.com/httpdocs/app/code/local/Gclone/Deal/controllers/IndexController.php if you have call to the Mage::register() method
Mage::register('_singleton/tax/observer', $theObject)
Then change that call with adding third parameter as true:
Mage::register('_singleton/tax/observer', $theObject, true);
For further explanation please see: Error processing request: Mage registry key "_singleton/callforprice/observer" already exists
Finally, I found the solution here:
1st: looks tax/observer does not exists in your site, check if Observer.php is in app/code/core/Tax/Model folder
2nd: check if affiliateplusprogram/observer class file is there.
The found observer file names have been changed wrongly in both folders. Once corrected, the error no longer prompted up when clicking checkout

You cannot define a correlation name 'CONSTANT_idx' more than once

I have installed a magento extension called Layered Navigation SEO and got it to show. I just now have an error like below when I click a filter. I have looked in dozens of blogposts and stacks about this problem which just state that I should look for a double defined catalog/layer_view module. But I looked at a lot of different places, but there is just one of em, and still the problem keeps arising. Should I look for another double defined module? Or any other tips?
You cannot define a correlation name 'color_idx' more than once
Trace:
#0 /var/www/robbshop/lib/Varien/Db/Select.php(281): Zend_Db_Select->_join('inner join', Array, 'color_idx.entit...', Array, NULL)
#1 /var/www/robbshop/lib/Zend/Db/Select.php(336): Varien_Db_Select->_join('inner join', Array, 'color_idx.entit...', Array, NULL)
#2 /var/www/robbshop/lib/Zend/Db/Select.php(315): Zend_Db_Select->joinInner(Array, 'color_idx.entit...', Array, NULL)
#3 /var/www/robbshop/app/code/core/Mage/Catalog/Model/Resource/Layer/Filter/Attribute.php(104): Zend_Db_Select->join(Array, 'color_idx.entit...', Array)
#4 /var/www/robbshop/app/code/community/Simtech/Searchanise/Model/Resource/Layer/Filter/Attribute.php(33): Mage_Catalog_Model_Resource_Layer_Filter_Attribute->getCount(Object(Catalin_SEO_Model_Catalog_Layer_Filter_Attribute))
#5 /var/www/robbshop/app/code/community/Catalin/SEO/Model/Catalog/Layer/Filter/Attribute.php(84): Simtech_Searchanise_Model_Resource_Layer_Filter_Attribute->getCount(Object(Catalin_SEO_Model_Catalog_Layer_Filter_Attribute))
#6 /var/www/robbshop/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php(151): Catalin_SEO_Model_Catalog_Layer_Filter_Attribute->_getItemsData()
#7 /var/www/robbshop/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php(120): Mage_Catalog_Model_Layer_Filter_Abstract->_initItems()
#8 /var/www/robbshop/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php(109): Mage_Catalog_Model_Layer_Filter_Abstract->getItems()
#9 /var/www/robbshop/app/code/core/Mage/Catalog/Block/Layer/Filter/Abstract.php(132): Mage_Catalog_Model_Layer_Filter_Abstract->getItemsCount()
#10 /var/www/robbshop/app/code/core/Mage/Catalog/Block/Layer/View.php(218): Mage_Catalog_Block_Layer_Filter_Abstract->getItemsCount()
#11 /var/www/robbshop/app/code/core/Mage/Catalog/Block/Layer/View.php(233): Mage_Catalog_Block_Layer_View->canShowOptions()
#12 /var/www/robbshop/app/design/frontend/rwd/innova/template/catalin_seo/catalog/layer/view.phtml(1): Mage_Catalog_Block_Layer_View->canShowBlock()
#13 /var/www/robbshop/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/robbsh...')
#14 /var/www/robbshop/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/rwd/in...')
#15 /var/www/robbshop/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#16 /var/www/robbshop/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#17 /var/www/robbshop/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#18 /var/www/robbshop/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()
#19 /var/www/robbshop/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#20 /var/www/robbshop/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('left', true)
#21 /var/www/robbshop/app/design/frontend/rwd/innova/template/page/2columns-left.phtml(31): Mage_Core_Block_Abstract->getChildHtml('left')
#22 /var/www/robbshop/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/robbsh...')
#23 /var/www/robbshop/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/rwd/in...')
#24 /var/www/robbshop/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#25 /var/www/robbshop/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#26 /var/www/robbshop/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#27 /var/www/robbshop/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#28 /var/www/robbshop/app/code/community/Catalin/SEO/controllers/CategoryController.php(92): Mage_Core_Controller_Varien_Action->renderLayout()
#29 /var/www/robbshop/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Catalin_Seo_CategoryController->viewAction()
#30 /var/www/robbshop/app/code/community/Catalin/SEO/Controller/Router.php(132): Mage_Core_Controller_Varien_Action->dispatch('view')
#31 /var/www/robbshop/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Catalin_SEO_Controller_Router->match(Object(Mage_Core_Controller_Request_Http))
#32 /var/www/robbshop/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#33 /var/www/robbshop/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#34 /var/www/robbshop/index.php(89): Mage::run('', 'store')

Get an error after I log in to Magento

I had recently installed the Layered Navigation SEO extension for my Magento web shop.
Sadly after I try to log in I get the following error:
Indexeermodel moet Mage_Index_Model_Indexer_Abstract uitbreiden.
#0 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/Mage_Index_Model_Process.php(315): Mage::throwException('Indexeermodel m...')
#1 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/Mage_Index_Block_Adminhtml_Notifications.php(41): Mage_Index_Model_Process->getIndexer()
#2 /home/frozen1q/public_html/cuijkwheels.nl/app/design/adminhtml/default/default/template/index/notifications.phtml(27): Mage_Index_Block_Adminhtml_Notifications->getProcessesForReindex()
#3 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3387): include('/home/frozen1q/...')
#4 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3418): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#5 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3432): Mage_Core_Block_Template->renderView()
#6 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/Mage_Adminhtml_Block_Template.php(81): Mage_Core_Block_Template->_toHtml()
#7 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/Mage_Index_Block_Adminhtml_Notifications.php(67): Mage_Adminhtml_Block_Template->_toHtml()
#8 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(2592): Mage_Index_Block_Adminhtml_Notifications->_toHtml()
#9 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(13594): Mage_Core_Block_Abstract->toHtml()
#10 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(2592): Mage_Core_Block_Text_List->_toHtml()
#11 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(2310): Mage_Core_Block_Abstract->toHtml()
#12 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(2254): Mage_Core_Block_Abstract->_getChildHtml('notifications', true)
#13 /home/frozen1q/public_html/cuijkwheels.nl/app/design/adminhtml/default/default/template/page.phtml(55): Mage_Core_Block_Abstract->getChildHtml('notifications')
#14 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3387): include('/home/frozen1q/...')
#15 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3418): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#16 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(3432): Mage_Core_Block_Template->renderView()
#17 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/Mage_Adminhtml_Block_Template.php(81): Mage_Core_Block_Template->_toHtml()
#18 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(2592): Mage_Adminhtml_Block_Template->_toHtml()
#19 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(28076): Mage_Core_Block_Abstract->toHtml()
#20 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(13987): Mage_Core_Model_Layout->getOutput()
#21 /home/frozen1q/public_html/cuijkwheels.nl/app/code/core/Mage/Adminhtml/controllers/DashboardController.php(43): Mage_Core_Controller_Varien_Action->renderLayout()
#22 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(14015): Mage_Adminhtml_DashboardController->indexAction()
#23 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(18399): Mage_Core_Controller_Varien_Action->dispatch('index')
#24 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(17933): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#25 /home/frozen1q/public_html/cuijkwheels.nl/includes/src/__default.php(20705): Mage_Core_Controller_Varien_Front->dispatch()
#26 /home/frozen1q/public_html/cuijkwheels.nl/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#27 /home/frozen1q/public_html/cuijkwheels.nl/index.php(87): Mage::run('', 'store')
#28 {main}
I really tried everything to try to solve this problem, like manually deactivating the extension, deleting the extension files, trying to make modifications to the Varian.php file, but unfortunately without an result.
What am I supposed to do? I use Magento 1.9.
It seems that you have Magento Compilation enabled. Try after disabling it from backend.

Can not load config my module in order detail

I have development magento version 1.4.1.0 module payment, because my client use it.
After I done create it, I test in form checkout it show and everything is working when use payment.
In user order detail, is correctly show my title module. When I go to Sales > Order, it show the order list. But I click one of the order to order details, it goes error. The error said:
Cannot load configuration for payment method "reddotpayment"
Trace:
#0 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Payment\Helper\Data.php(48): Mage::throwException('Cannot load con...')
#1 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Payment\Helper\Data.php(209): Mage_Payment_Helper_Data->getMethodInstance('reddotpayment')
#2 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Adminhtml\Block\Sales\Transactions\Grid.php(104): Mage_Payment_Helper_Data->getPaymentMethodList(true)
#3 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Adminhtml\Block\Widget\Grid.php(574): Mage_Adminhtml_Block_Sales_Transactions_Grid->_prepareColumns()
#4 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Adminhtml\Block\Widget\Grid.php(582): Mage_Adminhtml_Block_Widget_Grid->_prepareGrid()
#5 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Abstract.php(752): Mage_Adminhtml_Block_Widget_Grid->_beforeToHtml()
#6 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Adminhtml\Block\Widget\Tabs.php(289): Mage_Core_Block_Abstract->toHtml()
#7 C:\Users\hendrathings\Documents\Development\magento1410\app\design\adminhtml\default\default\template\widget\tabs.phtml(38): Mage_Adminhtml_Block_Widget_Tabs->getTabContent(Object(Mage_Adminhtml_Block_Sales_Order_View_Tab_Transactions))
#8 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Template.php(212): include('C:\Users\hendra...')
#9 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Template.php(239): Mage_Core_Block_Template->fetchView('adminhtml\defau...')
#10 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Template.php(253): Mage_Core_Block_Template->renderView()
#11 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Adminhtml\Block\Template.php(81): Mage_Core_Block_Template->_toHtml()
#12 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Abstract.php(753): Mage_Adminhtml_Block_Template->_toHtml()
#13 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Text\List.php(43): Mage_Core_Block_Abstract->toHtml()
#14 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Abstract.php(753): Mage_Core_Block_Text_List->_toHtml()
#15 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Abstract.php(520): Mage_Core_Block_Abstract->toHtml()
#16 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Abstract.php(471): Mage_Core_Block_Abstract->_getChildHtml('left', true)
#17 C:\Users\hendrathings\Documents\Development\magento1410\app\design\adminhtml\default\default\template\page.phtml(58): Mage_Core_Block_Abstract->getChildHtml('left')
#18 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Template.php(212): include('C:\Users\hendra...')
#19 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Template.php(239): Mage_Core_Block_Template->fetchView('adminhtml\defau...')
#20 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Template.php(253): Mage_Core_Block_Template->renderView()
#21 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Adminhtml\Block\Template.php(81): Mage_Core_Block_Template->_toHtml()
#22 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Block\Abstract.php(753): Mage_Adminhtml_Block_Template->_toHtml()
#23 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Model\Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#24 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Controller\Varien\Action.php(389): Mage_Core_Model_Layout->getOutput()
#25 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Adminhtml\controllers\Sales\OrderController.php(119): Mage_Core_Controller_Varien_Action->renderLayout()
#26 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Controller\Varien\Action.php(418): Mage_Adminhtml_Sales_OrderController->viewAction()
#27 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#28 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Controller\Varien\Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 C:\Users\hendrathings\Documents\Development\magento1410\app\code\core\Mage\Core\Model\App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#30 C:\Users\hendrathings\Documents\Development\magento1410\app\Mage.php(596): Mage_Core_Model_App->run(Array)
#31 C:\Users\hendrathings\Documents\Development\magento1410\index.php(83): Mage::run('', 'store')
#32 {main}
Please help me.
what can I do for fix this error?

Invalid method Mage_Checkout_Block_Cart_Sidebar::canApplyMsrp(Array ( ) )

I am facing a serious error in magento version 1.5.1.0 while checkout. can somebody help me?
the error occurs When i enable display shopping cart sidebar,
Invalid method Mage_Checkout_Block_Cart_Sidebar::canApplyMsrp(Array
(
)
)
Trace:
#0 /home5/bunnygla/public_html/app/design/frontend/default/helloresponsive/template/hellothemes/mini_cart.phtml(60): Varien_Object->__call('canApplyMsrp', Array)
#1 /home5/bunnygla/public_html/app/design/frontend/default/helloresponsive/template/hellothemes/mini_cart.phtml(60): Mage_Checkout_Block_Cart_Sidebar->canApplyMsrp()
#2 /home5/bunnygla/public_html/includes/src/__default.php(2976): include('/home5/bunnygla...')
#3 /home5/bunnygla/public_html/includes/src/__default.php(3007): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#4 /home5/bunnygla/public_html/includes/src/__default.php(3021): Mage_Core_Block_Template->renderView()
#5 /home5/bunnygla/public_html/includes/src/__default.php(2312): Mage_Core_Block_Template->_toHtml()
#6 /home5/bunnygla/public_html/includes/src/__default.php(2079): Mage_Core_Block_Abstract->toHtml()
#7 /home5/bunnygla/public_html/includes/src/__default.php(2030): Mage_Core_Block_Abstract->_getChildHtml('miniCart', true)
#8 /home5/bunnygla/public_html/app/design/frontend/default/helloresponsive/template/page/html/header.phtml(67): Mage_Core_Block_Abstract->getChildHtml('miniCart')
#9 /home5/bunnygla/public_html/includes/src/__default.php(2976): include('/home5/bunnygla...')
#10 /home5/bunnygla/public_html/includes/src/__default.php(3007): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#11 /home5/bunnygla/public_html/includes/src/__default.php(3021): Mage_Core_Block_Template->renderView()
#12 /home5/bunnygla/public_html/includes/src/__default.php(2312): Mage_Core_Block_Template->_toHtml()
#13 /home5/bunnygla/public_html/includes/src/__default.php(2079): Mage_Core_Block_Abstract->toHtml()
#14 /home5/bunnygla/public_html/includes/src/__default.php(2030): Mage_Core_Block_Abstract->_getChildHtml('header', true)
#15 /home5/bunnygla/public_html/app/design/frontend/default/helloresponsive/template/page/homepage.phtml(123): Mage_Core_Block_Abstract->getChildHtml('header')
#16 /home5/bunnygla/public_html/includes/src/__default.php(2976): include('/home5/bunnygla...')
#17 /home5/bunnygla/public_html/includes/src/__default.php(3007): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#18 /home5/bunnygla/public_html/includes/src/__default.php(3021): Mage_Core_Block_Template->renderView()
#19 /home5/bunnygla/public_html/includes/src/__default.php(2312): Mage_Core_Block_Template->_toHtml()
#20 /home5/bunnygla/public_html/includes/src/__default.php(25560): Mage_Core_Block_Abstract->toHtml()
#21 /home5/bunnygla/public_html/includes/src/__default.php(12333): Mage_Core_Model_Layout->getOutput()
#22 /home5/bunnygla/public_html/includes/src/__default.php(9938): Mage_Core_Controller_Varien_Action->renderLayout()
#23 /home5/bunnygla/public_html/includes/src/__default.php(9860): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'home')
#24 /home5/bunnygla/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
#25 /home5/bunnygla/public_html/includes/src/__default.php(12362): Mage_Cms_IndexController->indexAction()
#26 /home5/bunnygla/public_html/includes/src/__default.php(16512): Mage_Core_Controller_Varien_Action->dispatch('index')
#27 /home5/bunnygla/public_html/includes/src/__default.php(16109): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#28 /home5/bunnygla/public_html/includes/src/__default.php(18506): Mage_Core_Controller_Varien_Front->dispatch()
#29 /home5/bunnygla/public_html/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#30 /home5/bunnygla/public_html/index.php(89): Mage::run('', 'store')
#31 {main}
Reason:
Mage_Catalog_Helper_Data::canApplyMsrp() method is implemented since Magento 1.6 version, attempts to use this method in earlier Magento versions, like Magento 1.5.1.0 or Magento 1.5.0.1 will result in fatal error.
I am assuming the error is caused at file location Mage_Catalog_Helper_Data::canApplyMsrp() in template/checkout/cart/item/default.phtml
The solution is to check if the method canApplyMsrp exists like below
Change
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(),Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
To
if (method_exists(Mage::helper('catalog')->canApplyMsrp))
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(),Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
I hope it helps..
#supal: actually your compiler is on. Please disable it or recompile. For this goto admin > tools > compiler. Disable it and clear whole cache.

Categories