Website blank after upgrading Virtue in version 3.4.1 or 3.4.2

Started by DadoO, October 09, 2018, 14:34:06 PM

Previous topic - Next topic

DadoO

Hello everybody

I have a strange problems

I have placed the latest version of Virtuemart, so 3.4.1 and after one day the second upgrade 3.4.2

A strange problems occurs after only 8 or 12 hours !!!!
Web site out, blank page ...
ONLY with  a php 7.2.10

When I have placed Virtuemart 3.4 with php 7.2.10 there's absolute no problems

Now for Virtuemart 3.4.1 3.4.2 i could only works with php 7.1.22

A bad script?
Commands not accepted with php 7.2.10 ?
Bad memory emptying, dump ?.

I'll don't know

Have U got an idea ? For this occurs ONLY after upgrading in 3.4.1 or 3.4.2

my config is actually :


PHP exécuté sur    Linux   x86_64
Type de la base de données    mysql
Version de la base de données    5.5.5-10.0.36-MariaDB-0+deb8u1
Interclassement de la base de données    utf8_general_ci
Collation de la connexion à la base de données    utf8mb4_general_ci
Version de PHP    7.1.22
Serveur web    Apache
Serveur web pour interface PHP    fpm-fcgi
Version de Joomla    Joomla! 3.8.12 Stable [ Amani ] 28-August-2018 14:00 GMT
Version de la plateforme Joomla!    Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

Jörgen

Check your error log and if you do not finf any usable error code.  Revert back to php 7.1.2. Are you using custom template.This could be a issue with either VM, a plugin or template changes.

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

DadoO




Quote from: Jörgen on October 09, 2018, 15:25:12 PM
Check your error log and if you do not finf any usable error code.  Revert back to php 7.1.2. Are you using custom template.This could be a issue with either VM, a plugin or template changes.

Jörgen @ Kreativ Fotografi

Thanks for
So I have see for erros ... And I have found those errors when php is 7.2.10 only in 7.2.10

---

2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 2452
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 3900
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 3901
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 3879
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 1014
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 3902
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 608
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 3793
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 2206
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 3795
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 2954
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 3794
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 1481
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 2223
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 3535
2018-10-09 12:50:22 ERROR vmError: Memory limit reached in model product getProduct() 2458

It's a shorcut of the list (I have 3000 products on my shop)

-----
If I place php 7.1.22 no one errors

What sort of problem is ??? For I don't know for an issue

GJC Web Design

have u set your memory limits etc correctly for php7.2?
Normally in Cloud Linux etc u need to set memory, max vars etc etc per php version

should imho be 256MB at least
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

DadoO

I have seen 128 MB, so I have modified the ini to 256 now

It's a dedicated server not cloud etc ...

Same problem today with php 7.1.22

I haven't this problem before upgrading to 3.4.1 or 3.4.2
It's strange

I have seen an old post with the same problem in April 2018

https://forum.virtuemart.net/index.php?topic=136025.0

Perhaps same condition ?


ritchy

So. I also have the same problem after updating from 3.4.0 to 3.4.1 also on 3.4.2. Blank page but only after logging in to e-shop. Main page of e-shop and others report error: 0 - Class 'JToolBarHelper' not found
I deleted all temporary files. Updated and reviewed tables. Nothing helps.
If I go back and rewrite Virtuemart to version 3.4.0, everything works correctly.

PHP built    Linux cybers-1-web-01 3.2.0-4-amd64 #1 SMP Debian 3.2.82-1 x86_64
Databese    mysql  5.5.52-0+deb8u1-log
PHP    7.1.5
Web server    Apache/2.2.22 (Debian)
Verze Joomla!    Joomla! 3.8.13 Stable [ Amani ] 9-October-2018 14:00 GMT
Verze platformy Joomla!    Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

DadoO

I have tried to change memory limit to 256 Mb
No change

So now another person have the same proble

Quote from: ritchy on October 10, 2018, 07:11:39 AM
So. I also have the same problem after updating from 3.4.0 to 3.4.1 also on 3.4.2. Blank page but only after logging in to e-shop. Main page of e-shop and others report error: 0 - Class 'JToolBarHelper' not found
I deleted all temporary files. Updated and reviewed tables. Nothing helps.
If I go back and rewrite Virtuemart to version 3.4.0, everything works correctly.



How have U got do this rewrite Virtuemart ? Package 3.4.0 ? Could U explain me the form to do that! Thanks by advance

DadoO

QuoteI deleted all temporary files. Updated and reviewed tables. Nothing helps.

I have do the same, no changes too

GJC Web Design

Your going to have to provide more info etc -- live url  and so on

I have just tried on php7.2/VM3.4.2 without problems

https://virtuemartshop.eu/shop.html

display all 62 products without problems in FE and admin
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

DadoO

What sort of informations do U required ?

Live site is Restorpinball.com

Php 7.1.22 do the same thing, same with php 7.2.10 (10 is a latest version), this morning another error in TCPDF error size for availibities image 48day.gif
Notice this : It's not immediatly, this occures after 4- 8 -12 hours !!!!!

I have tried too on my local web server, impossible to see this error for it's not a live site on my local WS

When the error occurs, FE and Admin is down
I must restart the php

Before 3.4.1 all working fine
So it's sure a script, execution of ... I'll dont know

I am a Virtuemart Member too

GJC Web Design

Max will see these posts and am sure will be able to help u further
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ritchy

Quote from: DadoO on October 10, 2018, 09:38:46 AM
How have U got do this rewrite Virtuemart ? Package 3.4.0 ? Could U explain me the form to do that! Thanks by advance
Download it from http://dev.virtuemart.net/projects/virtuemart/files and reinstall older version

vep87895

Quote from: ritchy on October 10, 2018, 07:11:39 AM
So. I also have the same problem after updating from 3.4.0 to 3.4.1 also on 3.4.2. Blank page but only after logging in to e-shop. Main page of e-shop and others report error: 0 - Class 'JToolBarHelper' not found
I deleted all temporary files. Updated and reviewed tables. Nothing helps.
If I go back and rewrite Virtuemart to version 3.4.0, everything works correctly.

Same issues here after the 3.4.2 update, although only some pages are blank and I also get the 0 - Class 'JToolBarHelper' not found. However in my case the worst issue is that the CPU usage on my VPS is going crazy (up to 200%) and it's only the mysql process, all other processes are normal below 5%. This did not happen with version 3.4.0. Is there a way to roll back to 3.4.0 without having a backup? like just install it over 3.4.2? right now I have to restart the mysql server 20 times per day for the server not to crash.

I'm using php 7.2.10, mariadb 10.1.36 and joomla 3.8.13 by the way

GJC Web Design

perhaps try switching off the VM 404 error handling in VM config as this may be causing a loop
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jjk

#14
Quote from: ritchy on October 10, 2018, 07:11:39 AM
error: 0 - Class 'JToolBarHelper' not found
See: https://github.com/joomla/joomla-cms/issues/14330
Also perhaps this might be related: https://issues.joomla.org/tracker/joomla-cms/21960


++++ mod edit +++++++++ 
ignore above - has nothing to do with anything
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations