News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[Solved] Error when opening any existant order after 2.6.12 -> 2.9.9.3 upgrade

Started by SteP[IT], November 04, 2014, 16:30:02 PM

Previous topic - Next topic

SteP[IT]

I'm testing 2.9.9.3 in a test website obtained by upgrading a working  J 2.5.27 + VM 2.6.12 installation. After the upgrade, I can't access anymore any previous existant orders.
Clicking on the order number link (in the ORDERS admin page) I get this error:

Warning: Missing argument 1 for AdminUIHelper::startAdminArea(), called in <site-path>/administrator/templates/bluestork/html/com_virtuemart/orders/order.php on line 21 and defined in /var/www/www-plugged-data/www-toolware/administrator/components/com_virtuemart/helpers/adminui.php on line 29
Notice: Undefined variable: vmView in <site-path>/administrator/components/com_virtuemart/helpers/adminui.php on line 109
Fatal error: Call to a member function manager() on a non-object in <site-path>/administrator/components/com_virtuemart/helpers/adminui.php on line 272


It seems to be a bug...
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

SteP[IT]

J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

SteP[IT]

I got time to take a look to the code, and found the trick: edit file "\administrator\templates\bluestork\html\con_virtuemart\orders\order.php", look for the line #21 and replace the whole line "AdminUIHelper::startAdminArea();" with "AdminUIHelper::startAdminArea($this);" [this is the missing argument reported by the error I got].

BTW, the same happens when trying to edit Customer Fields: as above, look for the file "\administrator\templates\bluestork\html\com_virtuemart\userfields\default.php", and replace line #22 as described above.

Hope this will help.

Regards
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it