VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: kleinum on March 29, 2020, 18:12:10 PM

Title: Upgrade of VM to 3.6.10 failing
Post by: kleinum on March 29, 2020, 18:12:10 PM
System setup (on a local QNAP NAS):
PHP 7.3.7
SQL MariaDB 5.5.57

Joomla upgraded from 3.6.5 to 3.9.16
Then VM upgraded from 3.0.4 to 3.6.10, when failing.

It aborts the install after it has been running a bit.
Giving a "Error: 0 Class 'vRequest' not found" in top of the browser tab.
It also makes the complete admin panel unaccesable with just the top manu showing, none of the link are giving any content.
I have tried the VM upgrade both with _package_or_extract file and each of the component and AIO .zip files. Same result.

Only thing that works after this, is to revert to clean database and server files and start all over again.

Have also tried to upgrade the VM to a lower version like 3.0.4 (reinstall) 3.0.18 and 3.2.1 etc but ending up with the same issue.
Also tried doing the same upgrade steps explained, BEFORE upgrading Joomla from my 3.6.5 to 3.9.16

Not sure if this is caused by my local setup or not, but I need to get this working local before attemting to do the upgrade on live site :)
Any pointers ?
Title: Re: Upgrade of VM to 3.6.10 failing
Post by: GJC Web Design on March 29, 2020, 18:26:43 PM
you need to find where vRequest is missing

install xdebug in php so u get a trace to find what is calling the vRequest and not finding it
Title: Re: Upgrade of VM to 3.6.10 failing
Post by: kleinum on March 29, 2020, 19:34:46 PM
Auch, that was a litte step above my competancy :)
I will of course check into this, but any direct pointers would be appreaciated.

I'm not deep into programming so I'm not able to search for the calling of the function rapidly, and not fully understand the content of the function.

Installing some xdebug on my NAS is not straight forward either I assue, so it might be a hard route for me and my setup.
Title: Re: Upgrade of VM to 3.6.10 failing
Post by: Studio 42 on March 29, 2020, 22:13:31 PM
unpublish all related Virtuemart modules and In Joomla plugins : vmexntended,vmcustom,vmpaiment,vmshipment
Especially the virtuemart menu module in administrator
Install Virtuemart first then AIO zip then tcpdf
Title: Re: Upgrade of VM to 3.6.10 failing
Post by: kleinum on March 29, 2020, 23:16:29 PM
Tried this aswell, ended up with a "Call to undefined method VmTable::checkTableExists()" error and halted install again.
Same story with halted install and destroyed Admin interface with only top menus viewable but no function if clicked.

I'm runnig Norwegian language on both Joomla and VM, can this affect something during the update/installer procedure ?
Title: Re: Upgrade of VM to 3.6.10 failing
Post by: GJC Web Design on March 30, 2020, 10:34:13 AM
have u tried with the std template... ?  switch to protostar or beez and run the upgrade...

or try running the upgrade with Joomla debug on and u might get the trace..  at the end of the day u need to find where in the code the incompatibility is
Title: Re: Upgrade of VM to 3.6.10 failing
Post by: kleinum on March 30, 2020, 16:29:49 PM
Thx, good suggestions :) :)
Will try both with the std template look further in debugging logs.
Title: Re: Upgrade of VM to 3.6.10 failing
Post by: kleinum on March 30, 2020, 19:46:21 PM
Sry, same result just a different error message this time around :(

Anyone that would like to have all my files, and then try to get it up and running on latest Jom and VM on a different environment?
Starting to loose my temper here :) :) :) :)
Title: Re: Upgrade of VM to 3.6.10 failing
Post by: Studio 42 on March 30, 2020, 23:37:10 PM
Donwload a older release. For eg Vm 3.4 here http://dev.virtuemart.net/projects/virtuemart/files
Title: Re: Upgrade of VM to 3.6.10 failing
Post by: jjk on March 31, 2020, 10:13:19 AM
I guess you might have to check your NAS Webserver, network and php settings for bottlenecks. And perhaps try to clear the apache Joomla tmp folders before starting an update.