Magento Forum

Error after creating new shipping module
 
acappravin
Jr. Member
 
Total Posts:  12
Joined:  2008-11-12
 

Hi
I have created new shipping module according to this link.
http://www.magentocommerce.com/wiki/how-to/create-shipping-method-module
From this i am able to display my new shipping carrier at admin end System/Configure/Shipping Methods.From there i am enabling my carrier but its unable to see the carrier on client end shipping method on check out button.(Please refer image)
Also i encountered problem in Admin end
When i click on Sales/Shipment and click on particular order record it gives me following error

Magento Commerce
There has been an error processing your request
.

Invalid model for shipping methodcarrier_name
Trace
:
#0 C:\xampp\htdocs\magento\app\code\core\Mage\Shipping\Model\Config.php(90): Mage::exception('Mage_Shipping', 'Invalid model f...')
#1 C:\xampp\htdocs\magento\app\code\core\Mage\Shipping\Model\Config.php(61): Mage_Shipping_Model_Config->_getCarrier('carrier_name', Array)
#2 C:\xampp\htdocs\magento\app\code\core\Mage\Adminhtml\Block\Sales\Order\Shipment\View\Tracking.php(121): Mage_Shipping_Model_Config->getAllCarriers(NULL)
#3 C:\xampp\htdocs\magento\app\design\adminhtml\default\default\template\sales\order\shipment\view\tracking.phtml(45): Mage_Adminhtml_Block_Sales_Order_Shipment_View_Tracking->getCarriers()
#4 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(144): include('C:\xampp\htdocs...')
#5 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml\defau...')
#6 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(193): Mage_Core_Block_Template->renderView()
#7 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#8 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#9 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('shipment_tracki...', true)
#10 C:\xampp\htdocs\magento\app\design\adminhtml\default\default\template\sales\order\shipment\view\form.phtml(69): Mage_Core_Block_Abstract->getChildHtml('shipment_tracki...')
#11 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(144): include('C:\xampp\htdocs...')
#12 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml\defau...')
#13 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(193): Mage_Core_Block_Template->renderView()
#14 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#15 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#16 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('form', true)
#17 C:\xampp\htdocs\magento\app\code\core\Mage\Adminhtml\Block\Widget\Form\Container.php(103): Mage_Core_Block_Abstract->getChildHtml('form')
#18 C:\xampp\htdocs\magento\app\design\adminhtml\default\default\template\widget\form\container.phtml(32): Mage_Adminhtml_Block_Widget_Form_Container->getFormHtml()
#19 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(144): include('C:\xampp\htdocs...')
#20 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml\defau...')
#21 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(193): Mage_Core_Block_Template->renderView()
#22 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#23 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Text\List.php(43): Mage_Core_Block_Abstract->toHtml()
#24 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#25 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#26 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#27 C:\xampp\htdocs\magento\app\design\adminhtml\default\default\template\page.phtml(73): Mage_Core_Block_Abstract->getChildHtml('content')
#28 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(144): include('C:\xampp\htdocs...')
#29 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml\defau...')
#30 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(193): Mage_Core_Block_Template->renderView()
#31 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#32 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Layout.php(515): Mage_Core_Block_Abstract->toHtml()
#33 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(326): Mage_Core_Model_Layout->getOutput()
#34 C:\xampp\htdocs\magento\app\code\core\Mage\Adminhtml\controllers\Sales\Order\ShipmentController.php(142): Mage_Core_Controller_Varien_Action->renderLayout()
#35 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(349): Mage_Adminhtml_Sales_Order_ShipmentController->viewAction()

Please anyone can tell me that how i can solve this problem.

Thanks
Pravin C.

Image Attachments
shippingmodule.bmp
 
Magento Community Magento Community
Magento Community
Magento Community
 
Skeuds
Member
 
Avatar
Total Posts:  53
Joined:  2008-04-15
 

Hi,

I have the same problem with a custom shipping module. There are no shipping block class to extends.

Have you find a solution ?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
metalMilita
Member
 
Total Posts:  53
Joined:  2008-11-03
sweden
 

Hello guys!!

I have the same problem.I cant see my shipping module on checkout page.
Did you find any solution??

Thanks…

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