News:

Support the VirtueMart project and become a member

Main Menu

update -> VM2.02 ->Fatal error frontent website

Started by grower, February 27, 2012, 23:43:02 PM

Previous topic - Next topic

grower

Currently working on Joomla 1.7.4 Local (xampp) to prepare website

I updated  today VM2 to VM2.02 and get the following message when I try to open the website (locallly)

Fatal error: Call to undefined method VmModel::getModel() in C:\xampp\htdocs\AGH\modules\mod_virtuemart_category\mod_virtuemart_category.php on line 31

If this problem occurs is it possible to undo the installation, as I want to lauch the websit in a couple of days. Before this update everythinmg worked fine.

Thanks

Milbo

Thanks, I do not understand atm how it happens, but explains also some errors for others.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Please try this file, replace the file in \modules\mod_virtuemart_product

[attachment cleanup by admin]
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

grower

Tried the replacement file (after renaming it to php). No difference. But this file is in mod_virtuemart_prod. The error message is calling for a undefined method in  mod_virtuemart_category

Milbo

lol, okey, but I think I added a fix for all modules, it is in the svn. Please try that. Else I must spam the forum with files, lol.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

grower

Quoteit is in the svn.

Can you please explain what you mean with this?

svetlyi85

You must upgrade both components: com_virtuemart and com_virtuemart_ext_aio. They should be the same version. I have these components after the upgrade everything worked.

leFlea

Until someone gives a permanent fix, I reverted to the old code:
Just replace line 31 with: $categoryModel = new VirtueMartModelCategory();