News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Help...0 Class 'vmVersion' not found

Started by 2cool, July 08, 2019, 23:30:04 PM

Previous topic - Next topic

2cool

Hi, does anyone know what this error means?
0  Class 'vmVersion' not found

Was removing old product images and this error appears?
Site and backend not reachable both this error?

Anyone with a solution how to fix??

Site runs latest joomla 3.9.8 & virtuemart 3.4.2


2cool

Would it hurt to remove all files from cache folders?
I see lots of files in these folders:
/cache/_virtuemart
/cache/com_virtuemart_cat_childs
/cache/com_virtuemart_cats
/cache/com_virtuemart_cat_options

Or is it possible to reinstall vm files via ftp to solve this error?

Thanks

2cool

Got this from error report:
    /public_html/administrator/components/com_virtuemart/helpers/vmdefines.php:117

Call stack
#    Function    Location
1    ()    JROOT/administrator/components/com_virtuemart/helpers/vmdefines.php:117
2    vmDefines::defines()    JROOT/administrator/components/com_virtuemart/helpers/config.php:19
3    include_once()    JROOT/libraries/loader.php:260
4    JLoader::load()    
5    spl_autoload_call()    
6    class_exists()    JROOT/plugins/system/vpconversiontracking/helper.php:92
7    plgSystemVPConversionTrackingHelper->isCompatible()    JROOT/plugins/system/vpconversiontracking/vpconversiontracking.php:204
8    plgSystemVPConversionTracking->onAfterRoute()    JROOT/libraries/joomla/event/event.php:70
9    JEvent->update()    JROOT/libraries/joomla/event/dispatcher.php:160
10    JEventDispatcher->trigger()    JROOT/libraries/src/Application/BaseApplication.php:108
11    Joomla\CMS\Application\BaseApplication->triggerEvent()    JROOT/libraries/src/Application/AdministratorApplication.php:478
12    Joomla\CMS\Application\AdministratorApplication->route()    JROOT/libraries/src/Application/AdministratorApplication.php:144
13    Joomla\CMS\Application\AdministratorApplication->doExecute()    JROOT/libraries/src/Application/CMSApplication.php:196
14    Joomla\CMS\Application\CMSApplication->execute()    JROOT/administrator/index.php:51

Can anyone tell me what's causing this error?

Thanks in advance,
Pas

Jörgen

Cache files can be removed through joomla or maybe an addon plugin.
Your error may be coming from your vpconversiontracking plugin.
Reinstalling vm (without uninstalling) can be a good idea.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

2cool

Hi Jörgen,

Problem is, I can't access site.
Can this be done via ftp?

Thanks,
Pas

Jörgen

What did You do to make the site unaccessible ? Reload Your backup.

If You do not have any backup you have a more serious problem. Look up the vpconversiontracking plugin and rename the plugin so it won´t start.

Loading through ftp works and should not hurt, but it is no guarantee for success.

Jörgen @ Kreativ Fotografi

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

2cool

Was removing old products images, while removing large batch this error appeared.

Have a backup but not exactly from the time of error.

How should I look up and rename the plugin via only ftp? sounds like a nice thing to do.

Thanks,
Pas

Jörgen

try looking /plugins/system/vpconversiontracking

Rename directory och plugin.

If You know which directory you emptied, try just to add the files from that directory from the backup.

No guarantees

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

2cool

rename plugin gives this message 'The page isn't redirecting properly'?

I think I know what went wrong, while deleting images in vm admin - store - images
system files are removed also....;(

config.xml    
fof.xml    
postinstall.xml
postinstall.php
access.xml    
toolbar.php
and more....

Is it possible to restore these via ftp?

2cool

Problem solved.
Replaced all missing 'images' (vm admin - store - images) from a backup.

Not sure why these files are visible here anyway?

thanks & regards,
Pas

Milbo

I wonder also. Interesting problem. Nice that you found a solution.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Jörgen

QuoteNot sure why these files are visible here anyway?

What files are visible ? The system files ?

In that case Your path to images must be empty thus pointing to a not so good location. Check Your image paths in VM backend configuration->templates.

But, before You change these, please not that changing these can really screw things up. Just check that they are pointing at something like images/virtuemart/products, etc Please come back with Your findings.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.