cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot View order details and invoice details in backend

SOLVED

Cannot View order details and invoice details in backend

Hello Mag'ers,

 

my Magento 1.9.2.0 shows the following error (error report) when i click details of any order:

 

a:5:{i:0;s:46:"Die angeforderte Zahlart ist nicht verfügbar.";i:1;s:5397:"#0 /var/www/vhosts/myshop.com/httpdocs/includes/src/Mage_Payment_Model_Info.php(82): Mage::throwException('Die angefordert...')
#1 /var/www/vhosts/myshop.com/httpdocs/includes/src/Mage_Payment_Helper_Data.php(119): Mage_Payment_Model_Info->getMethodInstance()
#2 /var/www/vhosts/myshop.com/httpdocs/includes/src/Mage_Adminhtml_Block_Sales_Order_Payment.php(50): Mage_Payment_Helper_Data->getInfoBlock(Object(Mage_Sales_Model_Order_Payment))
#3 /var/www/vhosts/myshop.com/httpdocs/includes/src/Mage_Adminhtml_Block_Sales_Order_Payment.php(44): Mage_Adminhtml_Block_Sales_Order_Payment->setPayment(Object(Mage_Sales_Model_Order_Payment))
#4 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(2612): Mage_Adminhtml_Block_Sales_Order_Payment->_beforeToHtml()
#5 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(2331): Mage_Core_Block_Abstract->toHtml()
#6 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(2275): Mage_Core_Block_Abstract->_getChildHtml('order_payment', true)
#7 /var/www/vhosts/myshop.com/httpdocs/includes/src/Mage_Adminhtml_Block_Sales_Order_View_Tab_Info.php(112): Mage_Core_Block_Abstract->getChildHtml('order_payment')
#8 /var/www/vhosts/myshop.com/httpdocs/app/design/adminhtml/default/default/template/sales/order/view/tab/info.phtml(46): Mage_Adminhtml_Block_Sales_Order_View_Tab_Info->getPaymentHtml()
#9 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(3418): include('/var/www/vhosts...')
#10 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(3449): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#11 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(3463): Mage_Core_Block_Template->renderView()
#12 /var/www/vhosts/myshop.com/httpdocs/includes/src/Mage_Adminhtml_Block_Template.php(81): Mage_Core_Block_Template->_toHtml()
#13 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(2613): Mage_Adminhtml_Block_Template->_toHtml()
#14 /var/www/vhosts/myshop.com/httpdocs/includes/src/Mage_Adminhtml_Block_Widget_Tabs.php(303): Mage_Core_Block_Abstract->toHtml()
#15 /var/www/vhosts/myshop.com/httpdocs/app/design/adminhtml/default/default/template/widget/tabs.phtml(38): Mage_Adminhtml_Block_Widget_Tabs->getTabContent(Object(Mage_Adminhtml_Block_Sales_Order_View_Tab_Info))
#16 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(3418): include('/var/www/vhosts...')
#17 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(3449): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#18 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(3463): Mage_Core_Block_Template->renderView()
#19 /var/www/vhosts/myshop.com/httpdocs/includes/src/Mage_Adminhtml_Block_Template.php(81): Mage_Core_Block_Template->_toHtml()
#20 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(2613): Mage_Adminhtml_Block_Template->_toHtml()
#21 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(13830): Mage_Core_Block_Abstract->toHtml()
#22 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(2613): Mage_Core_Block_Text_List->_toHtml()
#23 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(2331): Mage_Core_Block_Abstract->toHtml()
#24 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(2275): Mage_Core_Block_Abstract->_getChildHtml('left', true)
#25 /var/www/vhosts/myshop.com/httpdocs/app/design/adminhtml/default/default/template/page.phtml(58): Mage_Core_Block_Abstract->getChildHtml('left')
#26 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(3418): include('/var/www/vhosts...')
#27 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(3449): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#28 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(3463): Mage_Core_Block_Template->renderView()
#29 /var/www/vhosts/myshop.com/httpdocs/includes/src/Mage_Adminhtml_Block_Template.php(81): Mage_Core_Block_Template->_toHtml()
#30 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(2613): Mage_Adminhtml_Block_Template->_toHtml()
#31 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(28530): Mage_Core_Block_Abstract->toHtml()
#32 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(14223): Mage_Core_Model_Layout->getOutput()
#33 /var/www/vhosts/myshop.com/httpdocs/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(119): Mage_Core_Controller_Varien_Action->renderLayout()
#34 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(14251): Mage_Adminhtml_Sales_OrderController->viewAction()
#35 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(18697): Mage_Core_Controller_Varien_Action->dispatch('view')
#36 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(18227): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#37 /var/www/vhosts/myshop.com/httpdocs/includes/src/__default.php(21055): Mage_Core_Controller_Varien_Front->dispatch()
#38 /var/www/vhosts/myshop.com/httpdocs/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#39 /var/www/vhosts/myshop.com/httpdocs/index.php(98): Mage::run('', 'store')
#40 {main}";s:3:"url";s:85:"/index.php/admin/sales_order/view/order_id/7848/key/0e6a71aaabf38f3216cbe5dcdd085803/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

another problem (maybe the same problem??) is clicking on a invoice to get the details. The following error comes up:

 

Fatal error: Call to a member function updateBackButtonUrl() on a non-object in /var/www/vhostsmyshop.com/httpdocs/app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php on line 152

 

Can anyone help me with this?

 

Christian

4 REPLIES

Re: Cannot View order details and invoice details in backend

Have you installed any third party extension  Or make sure that any extension rewrite  Mage_Adminhtml_Block_Sales_Order_Invoice_View and InvoiceController.php class. If so disable it and check.. Hope it helps you Smiley Happy

-
Magento Programmer | Was my answer helpful? You can accept it as a solution.

Re: Cannot View order details and invoice details in backend

Just installed an update of magento via connect manager to 1.9.2.0, update DHL Intraship module

and m2e Pro. Didn't install new components

Re: Cannot View order details and invoice details in backend

Please, how can i check this?

 

>>Or make sure that any extension rewrite  Mage_Adminhtml_Block_Sales_Order_Invoice_View and InvoiceController.php class

 

 EDIT: Solved! M2E-Update goes wrong. Did a Restore before m2e update and everything is OK.

 

Thanks a lot.

 

Christian

Re: Cannot View order details and invoice details in backend

yesterday because of some problen i ask to host person that restore latest one after that invoice page did not open

Fatal error: Call to a member function updateBackButtonUrl() on boolean in /home/tatibaza/public_html/app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php on line 152
The code in 151 line as follows:
$this->getLayout()->getBlock(‘sales_invoice_view’)->updateBackButtonUrl($this->getRequest()->getParam(‘come_from’));

and sales order view page showing

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tatibaza_new.tati_sales_flat_order_item' doesn't exist, query was: SELECT `main_table`.* FROM `tati_sales_flat_order_item` AS `main_table` WHERE (order_id = '1242')

So, is there anybody who can provide me solution to the above mentioned issue?