Author Topic: Upgrade of VM to 3.6.10 failing  (Read 631 times)

kleinum

  • Beginner
  • *
  • Posts: 10
Upgrade of VM to 3.6.10 failing
« 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 ?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9731
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Upgrade of VM to 3.6.10 failing
« Reply #1 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kleinum

  • Beginner
  • *
  • Posts: 10
Re: Upgrade of VM to 3.6.10 failing
« Reply #2 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.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4341
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Upgrade of VM to 3.6.10 failing
« Reply #3 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

kleinum

  • Beginner
  • *
  • Posts: 10
Re: Upgrade of VM to 3.6.10 failing
« Reply #4 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 ?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9731
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Upgrade of VM to 3.6.10 failing
« Reply #5 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kleinum

  • Beginner
  • *
  • Posts: 10
Re: Upgrade of VM to 3.6.10 failing
« Reply #6 on: March 30, 2020, 16:29:49 pm »
Thx, good suggestions :) :)
Will try both with the std template look further in debugging logs.

kleinum

  • Beginner
  • *
  • Posts: 10
Re: Upgrade of VM to 3.6.10 failing
« Reply #7 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 :) :) :) :)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4341
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Upgrade of VM to 3.6.10 failing
« Reply #8 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

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3656
  • using Matomo instead of Google Analytics
Re: Upgrade of VM to 3.6.10 failing
« Reply #9 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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations