当我在后端制作新发票时 问题是:我们得到:处理您的请求时出错...出于安全原因,默认情况下禁用异常打印。
带有日志ID号。这是完整的日志:
a
:5:{i:0;s:74:"Total model should be extended from Mage_Sales_Model_Order_Total_Abstract.";i:1;s:2314:"#0 /home/../domains/.../public_html/app/code/core/Mage/Sales/Model/Order/Total/Config/Base.php(70):Mage::throwException('Total model sho...')
/home/../domains/s../public_html/app/code/core/Mage/Sales/Model/Config/Ordered.php(83): Mage_Sales_Model_Order_Total_Config_Base->_initModelInstance('Softprodigy_Gif...', 'giftwrap', Object(Mage_Core_Model_Config_Element))
#2 /home/../../../public_html/app/code/core/Mage/Sales/Model/Order/Total/Config/Base.php(88): Mage_Sales_Model_Config_Ordered->_initModels()
#3 /home/../../..public_html/app/code/core/Mage/Sales/Model/Order/Invoice.php(499): Mage_Sales_Model_Order_Total_Config_Base->getTotalModels()
#4 /home/../../..public_html/app/code/core/Mage/Sales/Model/Service/Order.php(139): Mage_Sales_Model_Order_Invoice->collectTotals()
#5 /home/../../..public_html/app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php(86): Mage_Sales_Model_Service_Order->prepareInvoice(Array)
#6 /home/../../..public_html/app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php(177): Mage_Adminhtml_Sales_Order_InvoiceController->_initInvoice()
#7 /home/../../..public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_Order_InvoiceController->newAction()
#8 /home/../../..public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('new')
#9 /home/../../..public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#10 /home/../../..public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#11 /home/../../..public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#12 /home/../../..public_html/index.php(87): Mage::run('', 'store')
#13 {main}";s:3:"url";s:91:"/index.php/beheer/sales_order_invoice/new/order_id/25/key/a66f58a07db7e62b5261a0846ca9b766/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}
答案 0 :(得分:-1)
那不是完整的日志。检查var / log以获取完整的堆栈跟踪。
无论如何," Softprodigy_Gif .."是Magento上安装的自定义扩展程序及其总体型号之一#34;应该从Mage_Sales_Model_Order_Total_Abstract扩展。
快速解决方案,禁用该模块并查看是否一切正常。之后可能会采取进一步措施。