I’m working on a site that uses Magento right now.
I am having an error in the backend, when I go to Sales->Order->View(choose any order)->Ship.
When I click on the Add Tracking Number, there is no result.
When I checked on my firebug,there’s this error show:
this.template is undefined
http://www.myDomain.com/index.php/admin/sales_order_shipment/new/order_id/154/key/f58bdecb79687dd839f91cdc23bb1b9d/
Line 628
We could not move one because of ths error.
Magento Version: 1.4.1.1
What could be going wrong?
You’ll want to look at app/design/adminhtml/default/default/template/sales/order/shipment/create/tracking.phtml:
Here you’ll see the error being referred to by Firebug on the Element.insert( …
More details on the prototype insert method can be found here:
http://www.prototypejs.org/api/element/insert
You will want also want to ensure the following template object is being set at the bottom of this file as well:
This is where
this.templateis being defined.See http://www.prototypejs.org/api/template
A few things to try:
1) Try a different browser just to be sure its not a browser specific error.
2) Try disabling any 3rd party modules via /etc/modules/company_modulename/config.xml
3) Copy a new version of the tracking.phtml from same or newer versions of Magento.