VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: wolga on July 09, 2022, 14:45:22 PM

Title: Virtuemart 4, extensions updated but still show they need to be updated.
Post by: wolga on July 09, 2022, 14:45:22 PM
Joomla!         3.10.10
VirtueMart       4.0.4 10688
PHP Version   8.1.7

I've restored twice with Akeeba and updated 2 different ways.
All is ok with the exception of these updates which show the same version for installed and Available.

Is this a common issue? I can't find any posts resembling this.
See image capture
Title: Re: Virtuemart 4, extensions updated but still show they need to be updated.
Post by: Jörgen on July 09, 2022, 18:22:14 PM
Joomla has made some slight changes in the code that is needed for the XML file involved in the update.
This seem to marks these as non updated even when they are.

This is a cosmetic inconvenience right now that can be disregarded.

Jörgen
Title: Re: Virtuemart 4, extensions updated but still show they need to be updated.
Post by: GJC Web Design on July 10, 2022, 10:55:15 AM
have you "rebuilt" your update sites???

administrator/index.php?option=com_installer&view=updatesites -> Rebuild
Title: Re: Virtuemart 4, extensions updated but still show they need to be updated.
Post by: wolga on July 10, 2022, 13:29:26 PM
Thanks to both of you.

I used the Rebuild Sites and that got rid of the cosmetic inconvenience.

I think I may need to switch from PHP Version 8.1.7 back to PHP 8.0.20

There was an  Undefined constant "IMG_GIF"  issue that went away when I switched back to 8.0.20

I think I may roll back using Akeeba and go through the update process again under PHP 8.0.20.

I'm interested if that will squelch the cosmetic inconvenience and any other possible unknowns.

Thank goodness for Akeeba to make rollbacks easy :-)

Again, thanks.
I'll report back about the switch back to PHP 8.0.20.
Title: Re: Virtuemart 4, extensions updated but still show they need to be updated.
Post by: wolga on July 10, 2022, 13:55:19 PM
After using Akeeba backup to roll back and then update under PHP 8.0.20.

As I suspected, the cosmetic inconvenience remained.

The Undefined constant "IMG_GIF"   did not appear.

Rebuild Sites got rid of the Cosmetic inconvenience

Things seem to be OK now.

Thanks again.
Title: Re: Virtuemart 4, extensions updated but still show they need to be updated.
Post by: Darko F. on January 11, 2023, 15:17:34 PM
I have two websites with VirtueMart 4.0.12 10777 and J4

Server light speed the same one for both websites

PHP 8.1 GD installed

Virtuemart working fine, then I Upload one picture .png to one product and i get The Undefined constant "IMG_GIF"  error

I switch to PHP 8.0 and error disappear.

But Another website with PHP 8.1 working OK without problem.

So maybe is some Vmart configuration ?
Title: Re: Virtuemart 4, extensions updated but still show they need to be updated.
Post by: jenkinhill on January 11, 2023, 15:31:26 PM
Is the errant PHP 8.1 GD compiled with GIF Read & Create and PNG support?
Title: Re: Virtuemart 4, extensions updated but still show they need to be updated.
Post by: Darko F. on January 11, 2023, 16:15:25 PM
Quote from: jenkinhill on January 11, 2023, 15:31:26 PM
Is the errant PHP 8.1 GD compiled with GIF Read & Create and PNG support?

I don't know about that, server is hosting provider, but since one website working with should be.

I just reinstall virtue mart on non working website and  still don't work, (is still in testing mode this website I have just some test categories and products) I enable debug and everything and when I try create new product I get

An error has occurred.
0 Undefined constant "IMG_GIF"
and
administrator template new and old  template  CSS is broken.

I change to PHP 8.0 all working OK

It was working with php 8.1 til 2 hour ago, when I upload first picture .png in to some of test product, I save and close. But when I enter product I get this error.

Now with reinstalled virtue mart no product no pictures nothing, when I create new product I get this error always.
Title: Re: Virtuemart 4, extensions updated but still show they need to be updated.
Post by: jenkinhill on January 11, 2023, 17:49:12 PM
Within Joomla you can check PHP settings including compiled modules under System/System Information/PHP information

I just checked VM 4.0.12 10777 on J 4.2.6 PHP 8.1.13 and product images upload just fine, jpg, gif and png  (I checked because I usually stick to PHP8.0 testing and know that works OK).
Title: Re: Virtuemart 4, extensions updated but still show they need to be updated.
Post by: Darko F. on January 11, 2023, 20:52:01 PM
You are right thank you so much
I see there is no PHP 8.1 GD installed
Don't know why because I enable it on hosting dashboard and there is checked I will contact hosting provider.

Thank you again