Author Topic: Class 'GenericTableUpdater' not found [solved]  (Read 1051 times)

MAD King

  • Jr. Member
  • **
  • Posts: 380
  • Supporter Membership - Gold
  • VirtueMart Version: Always the Latest
Class 'GenericTableUpdater' not found [solved]
« on: September 20, 2018, 17:01:25 pm »
Hello,

just got noticed of an VM AIO update, but it gives me this error:

Quote
Class 'GenericTableUpdater' not found

Joomla 3.8.12, VM 3.4.0

Thanks
Joomla! 3.9.12
VirtueMart 3.6.2 10159

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2473
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Class 'GenericTableUpdater' not found
« Reply #1 on: September 20, 2018, 17:32:18 pm »
Silly question, have You only updated the AIO ? Not the VM core ?

When does the error appear ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

MAD King

  • Jr. Member
  • **
  • Posts: 380
  • Supporter Membership - Gold
  • VirtueMart Version: Always the Latest
Re: Class 'GenericTableUpdater' not found
« Reply #2 on: September 20, 2018, 17:37:51 pm »
Silly question, have You only updated the AIO ? Not the VM core ?

When does the error appear ?

Jörgen @ Kreativ Fotografi

First, no question is silly.  :)

Second, Joomla showed me the update for VM 3.4.0 and AIO. I updated both at the same time and that gave me this error.
After your question, I tried to update the AIO and it worked, but got this message:

Quote
Warning
JFolder: :delete: Path is not a folder. Path: /home/public_html/administrator/components/com_virtuemart_allinone/libraries
JFolder: :delete: Path is not a folder. Path: /home/public_html/administrator/components/com_virtuemart_allinone/modules
JFolder: :delete: Path is not a folder. Path: /home/public_html/administrator/components/com_virtuemart_allinone/modulesBE
Joomla! 3.9.12
VirtueMart 3.6.2 10159

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2473
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Class 'GenericTableUpdater' not found
« Reply #3 on: September 20, 2018, 18:54:04 pm »
I think you can ignore this warning. I think there is an attempt to delete old aio files again. They are probably already removed. Does it work otherwise ?
Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

MAD King

  • Jr. Member
  • **
  • Posts: 380
  • Supporter Membership - Gold
  • VirtueMart Version: Always the Latest
Re: Class 'GenericTableUpdater' not found
« Reply #4 on: September 20, 2018, 19:03:44 pm »
I think you can ignore this warning. I think there is an attempt to delete old aio files again. They are probably already removed. Does it work otherwise ?
Jörgen @ Kreativ Fotografi

No errors so far.
Working as usual.

Thanks
Joomla! 3.9.12
VirtueMart 3.6.2 10159

stAn99

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 85
    • One Page Checkout for Virtuemart 2
Re: Class 'GenericTableUpdater' not found [solved]
« Reply #5 on: September 21, 2018, 16:00:24 pm »
this error is caused by having a system plugin which loaded virtuemart before the installation process started.

the simplest fix is to:
- download the zip from Vm download section (first component and then aio)
- install the zip  (for the first attemtp you may get the error)
- install the zip second time  (the second installation doesn't give an error as it's using already updated files)

another solution is to find out which plugin it does:
- some webkul plugins load VM during the installation
- not-up-to-date/latest rupostel opc plugins may do this  (some of our old plugins load VM from system plugins)
- not-up-to-date awo plugins can load VM in this context

if you really need to find out which plugin it does, modify your
/administrator/components/com_virtuemart/helpers/config.php

(THIS MOD WILL BREAK YOUR SITE DURING THE DEBUG)

and at the beginning of the file right after <?php insert:
Code: [Select]
$x = debug_backtrace();
foreach ($x as $l) echo $l['file'].' '.$l['line']."<br />\n";
die();
this will give you backtrace how the vmconfig file was reached and you should know which plugin caused it. once you find out, remove the above lines.


best regards, stan
----
RuposTel.com
www.rupostel.com
Your customized checkout solution for Virtuemart

MAD King

  • Jr. Member
  • **
  • Posts: 380
  • Supporter Membership - Gold
  • VirtueMart Version: Always the Latest
Re: Class 'GenericTableUpdater' not found [solved]
« Reply #6 on: September 21, 2018, 16:14:35 pm »
Already fixed.
webkul plugins - do not use any of them. Bad experiences in the past.
awo plugins do not use that

I only use OPC and Stan already confirmed it is not OPC.

Thanks
Joomla! 3.9.12
VirtueMart 3.6.2 10159

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9244
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Class 'GenericTableUpdater' not found [solved]
« Reply #7 on: September 22, 2018, 00:52:32 am »
After a lot of experimentation and some recode by Max we have found that if you move the "VM Framework Loader during Plugin Updates" system plugin to the top then the error wont happen.

In other words in the view administrator/index.php?option=com_plugins open the plugin VM Framework Loader during Plugin Updates and in the Ordering choose 'Order First'
Save & Close and the click on the double arrows top left in the overview page to enable the ordering, make sure u are on Ascending and drag/drop the plugin to the top.
Choosing 0 when other plugs are also 0 isn't enough.

Then do your update.

Using the Package installer ( Upload & Install Joomla Extension)  directly will also eliminate any 3rd party system plugin problems
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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10000
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Class 'GenericTableUpdater' not found [solved]
« Reply #8 on: September 26, 2018, 09:06:08 am »
GJC this is correct, but only when someone had already the systemplugin of vm3.2.15 installed. The main trick of the new installer is, that it does not use the paths given by the config to load the sql, it always loads now the sql of the installer.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/