News:

Support the VirtueMart project and become a member

Main Menu

VM error updating joomla from 2.5 to 3.x

Started by dinoide, November 01, 2014, 18:25:11 PM

Previous topic - Next topic

dinoide

Updating joomla 2.5.27 to 3.3.6

Fatal error: Class VmModel cannot extend from interface JModel in /home3/dinoide/public_html/farmacia-el-coto.com/administrator/components/com_virtuemart/helpers/vmmodel.php on line 635

Why VM is also so complicated and is not alligned with Joomla releses...???

:'( :'( :'( :'( :'(

after that it's not more possible to access to BE. administration page remain tilt.

backup is the only option...

thanks virtuemart... i'm expending all day to do a simple and stu*îd update.


jenkinhill

I assume you are using VirtueMart 2.9.9.x here? The version is important!  I have updated J2.5.x to J3.3.x more than a dozen times in VM2.9.9.x testing and never had a problem apart from the odd Joomla template issue and some 3rd party plugins that also needed updating.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

mgordon

Got the same error

Fatal error: Class VmModel cannot extend from interface JModel in /customers/e/b/a/countryfisher.se/httpd.www/administrator/components/com_virtuemart/helpers/vmmodel.php on line 632

Had tVirtue Mart version VirtueMart 2.6.18
Upgraded from Joomla! 2.5.28 to Joomla! 3.4.5

GJC Web Design

Hmmm ... If you had done a bit of searching/reading/research you would find that VM2.6.x has NEVER been J3 compatible.....

J3 = VM3
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Quote from: dinoide on November 01, 2014, 18:25:11 PM
Updating joomla 2.5.27 to 3.3.6

Fatal error: Class VmModel cannot extend from interface JModel in /home3/dinoide/public_html/farmacia-el-coto.com/administrator/components/com_virtuemart/helpers/vmmodel.php on line 635
.....
thanks virtuemart... i'm expending all day to do a simple and stu*îd update.

VM2 worked on j1.5 and j2.5, Vm2.6 works only on j2.5 and VM3 works on j2.5 and j3.4.4+

So as GJC Web Design pointed out, it is not a VM fault. Just for people who read here, update first VirtueMart, then Joomla
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

mgordon

This is kind of a catch 22, as I updated all components/Plugins to latest version suggested with the Old Joomla version before upgrading. In other words to get the update to work you would have to manually force an update of Virtue Mart before updating Joomla.
That's what I call crappy programming as the update between versions of VM should have come either as options, or automatic. to best fit the version of Joomla installed.

GJC Web Design

In your opinion...

It is normal practice to do some research before updating

For the majority of Joomla extensions updates are needed between major versions..
VM3 is one of the few that will run happily on J2.6 AND J3
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation