Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Page 1 of 2
Cannot mark orders as shipped since 1.0.19870.4 … still an issue in 1.1.6
 
sherrie
Enthusiast
 
Avatar
Total Posts:  871
Joined:  2007-12-14
Illinois, USA
 

Has anyone else run into this?  If you go into an open order and then click “Ship” it takes you to the page but when you try to Add Tracking Number it gives the following error message:

this.template has no properties
add
()109 (line 481)
onclick(click clientX=0clientY=0)109 (line 1)
[Break on this error] new Insertion.Bottom($('track_row_container'), this.template.evaluate(da...

It’s actually missing an entire row of information which I’m assuming is where the error is coming from.  The last box it shows is Shipping Information with the Add Tracking Number button.

Any ideas on how to fix this?

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: TECH USA & IHSA State Finals • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.6 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Enthusiast
 
Avatar
Total Posts:  871
Joined:  2007-12-14
Illinois, USA
 

Does anyone have a fix for this?  It’s really kind of bizarre.  I’m guessing it’s missing part of the file but I’m not sure which file or what to add to it.

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: TECH USA & IHSA State Finals • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.6 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
 
arecuk
Member
 
Avatar
Total Posts:  59
Joined:  2008-01-17
Ceska Kamenice, Czech. rep.
 

hi sheree,

I got the same problem

I have created some new shipping modules -

in magento 1.1.1 is it ok, but in 1.1.3 I got the same error when clicking on buttom Add Tracking Number

 Signature 

http://www.NoStressCommerce.cz - hosting, design, podpora pro Magento

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Enthusiast
 
Avatar
Total Posts:  871
Joined:  2007-12-14
Illinois, USA
 

Hmmm ... do you think it’s the shipping module that’s causing it?  I don’t think they effect that part of the admin ...

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: TECH USA & IHSA State Finals • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.6 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Enthusiast
 
Avatar
Total Posts:  871
Joined:  2007-12-14
Illinois, USA
 

Just to let you know, the Magento team said the issue has been fixed and the fix will be released with 1.1.4

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: TECH USA & IHSA State Finals • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.6 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
 
Albert van der Veen
Jr. Member
 
Total Posts:  8
Joined:  2008-05-30
Amsterdam
 

Same problem here and not fixed in 1.1.4 as my installation is on that version. Did you find a solution in the meantime?

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Enthusiast
 
Avatar
Total Posts:  871
Joined:  2007-12-14
Illinois, USA
 

No, it’s on the schedule for 1.1.5 and is listed as resolved for it already.

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: TECH USA & IHSA State Finals • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.6 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
 
Albert van der Veen
Jr. Member
 
Total Posts:  8
Joined:  2008-05-30
Amsterdam
 

I’m wondering if you have any custom shipment modules installed. Just found out by looking in the html source of the admin page in question, that ‘Australian post’ causes the error:

‘Invalid model for shipping method: australiapost’

This causes the remaining part of the page not being generated and hence the javascript error. Am looking into it now and will post my findings here…

 
Magento Community Magento Community
Magento Community
Magento Community
 
arecuk
Member
 
Avatar
Total Posts:  59
Joined:  2008-01-17
Ceska Kamenice, Czech. rep.
 

yes, I have my own custom shipping modules installed

 Signature 

http://www.NoStressCommerce.cz - hosting, design, podpora pro Magento

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Enthusiast
 
Avatar
Total Posts:  871
Joined:  2007-12-14
Illinois, USA
 

Me too.

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: TECH USA & IHSA State Finals • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.6 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
 
Albert van der Veen
Jr. Member
 
Total Posts:  8
Joined:  2008-05-30
Amsterdam
 

Found out that in my case it were configuration entries in the db that belong to ‘Tweagmag Shipping’. Something similar may be the case for you. To find out, go to the admin page for the order and look at the html source (as you pointed out, clicking on ‘Add tracking number’ throws a javascript error ‘this.template has no properties’, which is caused by the fact that the page is not generated completely. Generation halts when an error occurs while fetching the different shipment methods).

In my case a backtrace of the errors was shown in the html, with this error ‘Invalid model for shipping method: australiapost’. Probably caused by removing the module manually, which I had to do because my ‘Magento Connect’ also generates errors that I haven’t fixed yet.

Anyway, if you have the same error, this can be fixed by removing the entries from the db table ‘core_config_data’ that contain ‘carriers/australiapost’. There are 10 of them. When I removed them, errors were gone and order page was ok.

Not sure what it means the Magento team states this error is fixed in 1.1.5. But maybe your problems are caused by a different bug?

grtz,
Albert

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jono
Member
 
Avatar
Total Posts:  36
Joined:  2008-05-04
Sydney
 

@ Sherrie - I think this has something to do with your multiflat shipping module, see this code taken from page source when shipping an order. I actually had this module installed and then realised I could use table rates, so uninstalled via Magento Connect, it seems there was a problem with the uninstall process....any thoughts?

There is more code, but I ran out of characters, I can post it all if needed??

Jono

<tbody id="track_row_container">
        <
tr id="track_row_template" class="template no-display">
            <
td>
                <
select name="tracking[__index__][carrier_code]" id="trackingC__index__" class="select carrier" style="width:110px;" disabled="disabled">

                    <
pre>Invalid model for shipping methodmultiflat

#0 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Shipping/Model/Config.php(90): Mage::exception('Mage_Shipping', 'Invalid model f...')
#1 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Shipping/Model/Config.php(61): Mage_Shipping_Model_Config->_getCarrier('multiflat', Array)
#2 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Create/Tracking.php(75): Mage_Shipping_Model_Config->getAllCarriers('1')
#3 /home/weirdote/domains/weirdo.com.au/public_html/app/design/adminhtml/default/default/template/sales/order/shipment/create/tracking.phtml(91): Mage_Adminhtml_Block_Sales_Order_Shipment_Create_Tracking->getCarriers()
#4 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Template.php(144): include('/home/weirdote/...')
#5 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#6 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#7 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#8 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#9 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('shipment_tracki...', true)
#10 /home/weirdote/domains/weirdo.com.au/public_html/app/design/adminhtml/default/default/template/sales/order/shipment/create/form.phtml(67): Mage_Core_Block_Abstract->getChildHtml('shipment_tracki...')
#11 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Template.php(144): include('/home/weirdote/...')
#12 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#13 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#14 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#15 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#16 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('form', true)
#17 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Form/Container.php(103): Mage_Core_Block_Abstract->getChildHtml('form')
#18 /home/weirdote/domains/weirdo.com.au/public_html/app/design/adminhtml/default/default/template/widget/form/container.phtml(32): Mage_Adminhtml_Block_Widget_Form_Container->getFormHtml()
#19 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Template.php(144): include('/home/weirdote/...')
#20 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#21 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#22 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#23 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#24 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#25 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#26 /home/weirdote/domains/weirdo.com.au/public_html/app/code/core/Mage/Core/Block/Abstract.php(454):

 Signature 

check out Weirdo :: T-Shirts for Humans | Weirdo [NZ] | Weirdo Tees | Charitees | Karma Police

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jono
Member
 
Avatar
Total Posts:  36
Joined:  2008-05-04
Sydney
 

Ok I fixed the problem for me, it looks like when uninstalling the multiflatrate extension, there were some records that remained in the core config data table, so I ran this search query:

PLEASE NOTE THAT I CANNOT BE HELD RESPONSIBLE FOR ANYONE USING THIS QUERY AND LOSING DATA. USE AT YOUR OWN RISK.

SELECT FROM 'core_config_data' WHERE 'path' LIKE '%-multiflat-%'

(If you run this you need to remove the hyphens from around ‘multiflat’, it would not show properly for some reason when posting)

and then deleted those records.

I have no idea how extensions work, and how the uninstall works, but they really should be cleaned up a little better. Kudos to those that are creating them and releasing to the community!!

Jono

 Signature 

check out Weirdo :: T-Shirts for Humans | Weirdo [NZ] | Weirdo Tees | Charitees | Karma Police

 
Magento Community Magento Community
Magento Community
Magento Community
 
Albert van der Veen
Jr. Member
 
Total Posts:  8
Joined:  2008-05-30
Amsterdam
 

@Sherry and Jono:

Perhaps this is what the Magento team means when stating that the issue is solved in 1.1.5: the db table ‘core_config_data’ is cleaned up after uninstalling a shipping module. As you can see from my post the errors are of the same kind (in my case caused by leftover entries from Tweagmag Shipping) - ‘Invalid model for shipping method: <method name>’
Removing the entries manually indeed fixes the problem.

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Enthusiast
 
Avatar
Total Posts:  871
Joined:  2007-12-14
Illinois, USA
 

Strange - I’ll have to look into what part of the module is causing the issue.

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: TECH USA & IHSA State Finals • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.6 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Enthusiast
 
Avatar
Total Posts:  871
Joined:  2007-12-14
Illinois, USA
 

Oddly enough my errors are coming from the Delivery or Collection extension that got added in with an upgrade - I never installed it myself. I’ve removed all references to it, TweakMag, Local Delivery, and multiflat from core_config_data and am still getting this error:

Warning: include(Cambscom/Shipping/Model/Carrier/Delcol.php[<a href='function.include'>function.include</a>]failed to open streamNo such file or directory  in /home/minerva8/public_html/stores/app/code/core/Mage/Core/functions.php on line 73

It’s right, there is no such file or directory - yet it shows up in the admin still. This is real bizarre.

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: TECH USA & IHSA State Finals • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.6 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 1 of 2
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
52284 users|586 users currently online|105603 forum posts