VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: dinoide on November 01, 2014, 18:25:11 PM

Title: VM error updating joomla from 2.5 to 3.x
Post by: 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

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.

Title: Re: VM error updating joomla from 2.5 to 3.x
Post by: jenkinhill on November 01, 2014, 21:07:31 PM
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.
Title: Re: VM error updating joomla from 2.5 to 3.x
Post by: mgordon on November 15, 2015, 11:55:48 AM
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
Title: Re: VM error updating joomla from 2.5 to 3.x
Post by: GJC Web Design on November 15, 2015, 12:37:16 PM
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
Title: Re: VM error updating joomla from 2.5 to 3.x
Post by: Milbo on November 20, 2015, 00:50:32 AM
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
Title: Re: VM error updating joomla from 2.5 to 3.x
Post by: mgordon on August 22, 2016, 13:52:33 PM
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.
Title: Re: VM error updating joomla from 2.5 to 3.x
Post by: GJC Web Design on August 22, 2016, 15:38:24 PM
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