News:

Support the VirtueMart project and become a member

Main Menu

Virtuemart updating troubles. From 3.0.18 ro 3.4.2

Started by Grigorii, June 11, 2019, 16:17:39 PM

Previous topic - Next topic

Grigorii

Dear support team!

We met some troubles after updating the VirtueMart

Before update we had:

- PHP 5.6.38 working in CGI mode
- Joomla 3.6.5
- VirtueMart 3.0.18
- RuposTel One Page Checkout 2.0.302.141115
- Akeeba Backup 6.1.1

The shop worked fine. Not very fast but normal.

First we have updated Joomla to 3.9.6 - good, no troubles.
After updating the VirtueMart to 3.4.2 we met the issue:

Fatal error: Call to undefined method Joomla\CMS\Component\Exception\MissingComponentException::get() in /var/www/magazini/data/www/new.magazin-integral.ru/templates/magazin-integral/error.php on line 57

Not for all products, about 10% of pages show the message.
And the pages are opening slower.

We tryied to change the PHP mode to 7.1 but got the message:
Fatal error: 'break' not in the 'loop' or 'switch' context in /var/www/magazini/data/www/new.magazin-integral.ru/components/com_onepage/overrides/vmplugin.php on line 1375

So what should we do in this case?


Jörgen

Looks like you have problem with Your template, magazin-integral, the overrides are giving errors.

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

Grigorii

#2
Dear Jörgen.

Thank you for advice. But a have no any overrides. I mean Extensions - Languages - Overrides. The list is empty.
Any other idea?

I changed the error.php file to default (from system folder) and it shows:

404 - Component not found.
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
Please try one of the following pages:

Home Page
If difficulties persist, please contact the System Administrator of this site and report the error below.

Component not found.

jenkinhill

Quote from: Grigorii on June 11, 2019, 19:32:59 PM

Thank you for advice. But a have no any overrides. I mean Extensions - Languages - Overrides. The list is empty.


Template overrides will be in templates/[your Joomla template]/html/com_virtuemart/

Did you also update the Rupostel OPC?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

Jörgen

Quote from: Jörgen on June 11, 2019, 18:55:22 PM
Looks like you have problem with Your template, magazin-integral, the overrides are giving errors.

Jörgen @ Kreativ Fotografi

Please learn how to handle overrides in Joomla and contact Rupostel, who does this a bit differently:
/var/www/magazini/data/www/new.magazin-integral.ru/components/com_onepage/overrides/vmplugin.php

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

Grigorii

Thanks to all for advices. Will try to fix with OPC!