Author Topic: My thumbnails don't generate on their own since upgrading to PHP 7.3  (Read 625 times)

Ed Kiefer

  • Beginner
  • *
  • Posts: 34
I'm running into this problem also. My thumbnails don't generate on their own. I have to upload them manually. I just upgraded from PHP 7.2 to 7.3 and now I'm receiving this error. I can still add photos to the product, but it doesn't generate a thumbnail.
Quote
Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /home/luxefi5/public_html/administrator/components/com_virtuemart/helpers/mediahandler.php on line 437

Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /home/luxefi5/public_html/administrator/components/com_virtuemart/helpers/mediahandler.php on line 438

Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /home/luxefi5/public_html/administrator/components/com_virtuemart/helpers/mediahandler.php on line 439

Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /home/luxefi5/public_html/administrator/components/com_virtuemart/helpers/mediahandler.php on line 440

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10140
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: My thumbnails don't generate on their own since upgrading to PHP 7.3
« Reply #1 on: April 06, 2021, 19:26:36 pm »
Versions?

I have been running my sites on php7.3 for months
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

Ed Kiefer

  • Beginner
  • *
  • Posts: 34
Re: My thumbnails don't generate on their own since upgrading to PHP 7.3
« Reply #2 on: April 06, 2021, 19:40:59 pm »
This is the only issue I've had with PHP 7.3. Other than this my site runs great.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1137
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: My thumbnails don't generate on their own since upgrading to PHP 7.3
« Reply #3 on: April 06, 2021, 19:44:18 pm »
You forgot version VM, sure :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10428
  • VirtueMart Version: 3+
Re: My thumbnails don't generate on their own since upgrading to PHP 7.3
« Reply #4 on: April 06, 2021, 21:21:19 pm »
is the gd library enabled?

I believe it still uses it.

Usually you have to configure each php version on server

Ed Kiefer

  • Beginner
  • *
  • Posts: 34
Re: My thumbnails don't generate on their own since upgrading to PHP 7.3
« Reply #5 on: April 08, 2021, 16:57:34 pm »
VirtueMart 3.8.8
I just got with my host and they enabled the GD library. The errors are gone but the thumbnails still don't generate on their own.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1137
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: My thumbnails don't generate on their own since upgrading to PHP 7.3
« Reply #6 on: April 08, 2021, 17:47:56 pm »
after enable you try vm tools for creating thumbs for existing images - tools you can use after setup in configuration
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10428
  • VirtueMart Version: 3+
Re: My thumbnails don't generate on their own since upgrading to PHP 7.3
« Reply #7 on: April 09, 2021, 21:55:43 pm »
dynamic thumbs turned on?


they are generated when you view the frontend