Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Error after upgrade VM Invoice
(1 viewing) (1) Guest
If you have suggestion for a new feature you would need or that other may appreciate, or you have suggestion for improvemnt or change, you may post such ideas in this category.
  • Page:
  • 1

TOPIC: Error after upgrade VM Invoice

Error after upgrade VM Invoice 9 years, 9 months ago #46146

can not edit or safe an order in VM Invoice

Hi,

i have a big problem after doing the update VM Invoice from 2.0.45 to 2.0.48.
I can't edit an safe my orders. When I put the button "Safe" or "Safe an Close" I get a blank page
"mydomain/administrator/index.php" an nothing. My Order is not edit and not safe.

If I install my Homepagebackup on my localmachine(XAMPP) I get an error:
"Fatal error: Call to undefined method TableOrder_items::emptyCache() in C:\Xampp\htdocs\niko24\administrator\components\com_vminvoice\tables\vm2orderitem.php on line 147"

I need fast help, because I can't write Invoices manually.

Please help me.


Hello,

after upgrade, in file administrator/components/com_vminvoice/tables/vm2orderitem.php

is error in php on the line 147 - call undefined function emptyCache:

142 // 15.1.2015 dajo #13513: Clear VM order_items cache, otherwise the
143 // VirtueMartModelOrders::updateSingleItem doesn't load current status
144 // and the stock calculation gets messed up!
145 $ordersModel = VmModel::getModel('orders');
146 $orderItemsTable = $ordersModel->getTable('order_items');
147 $orderItemsTable->emptyCache();


I believe in the quick fix, I can't save order from backend too :)

Filip
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný