Magento Forum

Multiple shipping issues! 
 
Leo27
Sr. Member
 
Total Posts:  127
Joined:  2008-10-08
 

As written in title I’m having problems with multiple shipping.

For example if I add 1 new address and the shipping will be equal (I made it to free shipping if + then 50€) there is no problem, but if one of the shipping will be different from the other, I get this error:

Invalid model for shipping method: ctt

#0 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Shipping/Model/Config.php(90): Mage::exception(’Mage_Shipping’, ‘Invalid model f...’)
#1 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Shipping/Model/Config.php(77): Mage_Shipping_Model_Config->_getCarrier(’ctt’, Array, NULL)
#2 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Shipping/Model/Rate/Abstract.php(36): Mage_Shipping_Model_Config->getCarrierInstance(’ctt’)
#3 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Sales/Model/Quote/Address.php(395): Mage_Shipping_Model_Rate_Abstract->getCarrierInstance()
#4 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Checkout/Block/Multishipping/Shipping.php(91): Mage_Sales_Model_Quote_Address->getGroupedAllShippingRates()
#5 /home/mydomain/public_html/empriv/loja/app/design/frontend/default/default/template/checkout/multishipping/shipping.phtml(59): Mage_Checkout_Block_Multishipping_Shipping->getShippingRates(Object(Mage_Sales_Model_Quote_Address))
#6 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Template.php(144): include(’/home/mydomain/...’)
#7 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#8 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#9 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#10 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#11 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#12 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#13 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(’content’, true)
#14 /home/mydomain/public_html/empriv/loja/app/design/frontend/default/default/template/page/1column.phtml(53): Mage_Core_Block_Abstract->getChildHtml(’content’)
#15 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Template.php(144): include(’/home/mydomain/...’)
#16 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#17 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#18 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#19 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Model/Layout.php(515): Mage_Core_Block_Abstract->toHtml()
#20 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Controller/Varien/Action.php(326): Mage_Core_Model_Layout->getOutput()
#21 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Checkout/controllers/MultishippingController.php(270): Mage_Core_Controller_Varien_Action->renderLayout()
#22 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Controller/Varien/Action.php(349): Mage_Checkout_MultishippingController->shippingAction()
#23 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(163): Mage_Core_Controller_Varien_Action->dispatch(’shipping’)
#24 /home/mydomain/public_html/empriv/loja/app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#25 /home/mydomain/public_html/empriv/loja/app/Mage.php(447): Mage_Core_Controller_Varien_Front->dispatch()
#26 /home/mydomain/public_html/empriv/loja/index.php(46): Mage::run()
#27 {main}

Any ideas? Any help would be appreciated.

Attention, this problem only happens if the results (the shipping methods) are different, and also I’ve noticed that it’s not happening all the times.

Thanks in advance,
Best regards
L. Nunes

 
Magento Community Magento Community
Magento Community
Magento Community
 
Opalice
Jr. Member
 
Avatar
Total Posts:  19
Joined:  2008-12-10
Brussels, Belgium
 

Hi, i have the same problem.

Do you have found any solution.
Thanks

Raf

http://www.magentocommerce.com/boards/viewthread/27982/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Leo27
Sr. Member
 
Total Posts:  127
Joined:  2008-10-08
 

Hi Raf- Belgique,
Yes for me it was a missing file, I must have deleted by mistake.
What I’ve done was, Uploading a backed up version of my store, and replaced thhat one by overwritting it with the last store (the one with problems).
Only doing this solved the problem.
Try it and tell me if it helped you or not!

Best regards
L. Nunes

 
Magento Community Magento Community
Magento Community
Magento Community
 
Opalice
Jr. Member
 
Avatar
Total Posts:  19
Joined:  2008-12-10
Brussels, Belgium
 

Same problem persist after making a test with new clean files

Invalid model for shipping method: multipletablerates
Trace:

#0 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Shipping/Model/Config.php(90): Mage::exception(’Mage_Shipping’, ‘Invalid model f...’)
#1 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Shipping/Model/Config.php(61): Mage_Shipping_Model_Config->_getCarrier(’multipletablera...’, Array)
#2 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Adminhtml/Block/Sales/Order/Invoice/Create/Tracking.php(89): Mage_Shipping_Model_Config->getAllCarriers(’1’)
#3 /homez.34/adomicilp/www/V4.0/app/design/adminhtml/default/default/template/sales/order/invoice/create/tracking.phtml(88): Mage_Adminhtml_Block_Sales_Order_Invoice_Create_Tracking->getCarriers()
#4 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(144): include(’/homez.34/adomi...’)
#5 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#6 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#7 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#8 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#9 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(’tracking’, false)
#10 /homez.34/adomicilp/www/V4.0/app/design/adminhtml/default/default/template/sales/order/invoice/create/form.phtml(80): Mage_Core_Block_Abstract->getChildHtml(’tracking’, false)
#11 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(144): include(’/homez.34/adomi...’)
#12 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#13 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#14 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#15 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#16 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(’form’, true)
#17 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Adminhtml/Block/Widget/Form/Container.php(126): Mage_Core_Block_Abstract->getChildHtml(’form’)
#18 /homez.34/adomicilp/www/V4.0/app/design/adminhtml/default/default/template/widget/form/container.phtml(37): Mage_Adminhtml_Block_Widget_Form_Container->getFormHtml()
#19 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(144): include(’/homez.34/adomi...’)
#20 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#21 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#22 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#23 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#24 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#25 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#26 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(’content’, true)
#27 /homez.34/adomicilp/www/V4.0/app/design/adminhtml/default/default/template/page.phtml(73): Mage_Core_Block_Abstract->getChildHtml(’content’)
#28 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(144): include(’/homez.34/adomi...’)
#29 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#30 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#31 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#32 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Model/Layout.php(525): Mage_Core_Block_Abstract->toHtml()
#33 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Controller/Varien/Action.php(325): Mage_Core_Model_Layout->getOutput()
#34 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php(246): Mage_Core_Controller_Varien_Action->renderLayout()
#35 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Controller/Varien/Action.php(348): Mage_Adminhtml_Sales_Order_InvoiceController->newAction()
#36 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(143): Mage_Core_Controller_Varien_Action->dispatch(’new’)
#37 /homez.34/adomicilp/www/V4.0/app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Admin->match(Object(Mage_Core_Controller_Request_Http))
#38 /homez.34/adomicilp/www/V4.0/app/Mage.php(450): Mage_Core_Controller_Varien_Front->dispatch()
#39 /homez.34/adomicilp/www/V4.0/index.php(52): Mage::run()
#40 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Opalice
Jr. Member
 
Avatar
Total Posts:  19
Joined:  2008-12-10
Brussels, Belgium
 

A have make a test and the problem was solved.

I have installed by not configured or activate
http://www.magentocommerce.com/extension/728/multiple-tablerates

an the problem clear.
I give the information for the community

I someone know why the problem solved with a installation of a new extension ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
got-bonsai
Sr. Member
 
Avatar
Total Posts:  136
Joined:  2008-10-25
Wales, UK
 

Thanks a million RAF-Belgique.
I had the same problem - when creating an order in the admin i got the “Invalid model for shipping method: multipletablerates” error (orders created in the frontend were ok)

I Installed the multiple tablerates extension, did nothing with it, then the problem was fixed.

I did previously have this extension then uninstalled it so I can only guess that it didn’t uninstall itself properly…

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top