Author Topic: site locked (all locked, blank pages) after vm update  (Read 201 times)

bladerunner

  • Beginner
  • *
  • Posts: 8
site locked (all locked, blank pages) after vm update
« on: November 23, 2017, 18:07:50 pm »
joomla site vrs 2.5
updated virtuemart..... all went white.
via config.php moved debug info to maximum.
this is what appears now in the site, either back and front:

Fatal error: Uncaught Error: Call to undefined method JSite::isClient() in /web/htdocs/www.mysite.it/home/plugins/system/vmLoaderPluginUpdate/vmLoaderPluginUpdate.php:50 Stack trace: #0 /web/htdocs/www.mysite.it/home/libraries/joomla/event/event.php(71): plgSystemVmLoaderPluginUpdate->onAfterRoute() #1 /web/htdocs/www.mysite.it/home/libraries/joomla/event/dispatcher.php(161): JEvent->update(Array) #2 /web/htdocs/www.mysite.it/home/libraries/joomla/application/application.php(642): JDispatcher->trigger('onafterroute', Array) #3 /web/htdocs/www.mysite.it/home/libraries/joomla/application/application.php(257): JApplication->triggerEvent('onAfterRoute') #4 /web/htdocs/www.mysite.it/home/includes/application.php(132): JApplication->route() #5 /web/htdocs/www.mysite.it/home/index.php(36): JSite->route() #6 {main} thrown in /web/htdocs/www.mysite.it/home/plugins/system/vmLoaderPluginUpdate/vmLoaderPluginUpdate.php on line 50

how to solve with no loss all site ?

bladerunner

  • Beginner
  • *
  • Posts: 8
Re: site locked (all locked, blank pages) after vm update
« Reply #1 on: November 23, 2017, 18:30:11 pm »
sounds like the /libraries has been changed and system does not found necessary functions.

test done: get the /libraries from daily backup, swapped, and error now is different:

Unable to load session storage class: database

this is a clue that the troubls deals with /libraries

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26415
  • Always on vacation
    • Jenkin Hill Internet
Re: site locked (all locked, blank pages) after vm update
« Reply #2 on: November 23, 2017, 18:31:57 pm »
You updated to VM3.2.6 on a live site instead of following the standard procedure of testing on a backup of the site first? Since version 3.2.4 VirtueMart is no longer compatible with Joomla 2.5.x - see the compatibilities on http://dev.virtuemart.net/projects/virtuemart/files

Since the Joomla people declared that all versions before J3.7.1 were insecure and should not be used on live sites there has been no testing of VM on old Joomla versions. Now they tell us that all versions before J3.8.2 are insecure...

You should revert to your latest pre-update backup and give serious consideration to migrating to Joomla 3.8.2
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.8 on Joomla 3.8.2 PHP 7.0.25

Testing VM3.2.8 on J3.8.3RC

bladerunner

  • Beginner
  • *
  • Posts: 8
Re: site locked (all locked, blank pages) after vm update
« Reply #3 on: November 23, 2017, 21:48:09 pm »
ehhh I know. hitted "update" before thinking at... :(
migration to 3.8 is on paper ....
VM should do a check b4 to update and say "Joomla version dont allow update"

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9411
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: site locked (all locked, blank pages) after vm update
« Reply #4 on: November 23, 2017, 22:48:14 pm »
I am sorry. It happened faster than intended that it breaks old j2.5 installation. But it cant be too much. JSite::isClient() can be replaced.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7637
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: site locked (all locked, blank pages) after vm update
« Reply #5 on: November 23, 2017, 23:19:48 pm »
In the interim try unpublishing the new vmLoaderPluginUpdate system plugin.. either rename the folder or disable in the #__extensions table
 
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

bladerunner

  • Beginner
  • *
  • Posts: 8
Re: site locked (all locked, blank pages) after vm update [closed]
« Reply #6 on: November 28, 2017, 21:29:05 pm »
rien a faire.
get old backup and restored.
back to work.
this version is definitely NOT good for j2.5. We  hope to have a check by component itself before installation-