VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: EIF on April 11, 2016, 21:33:49 PM

Title: Blank screen when upload a product image
Post by: EIF on April 11, 2016, 21:33:49 PM
When I upload a product image, I get a blank screen. The upload failed.

I got this problem after updating my website to Joomla 3.4.8 and Virtuemart 3.0.12, running on php 5.5.34.
I know there are newer versions out no, but I like to solved this in this version.

When I enable maximum error reporting, the error is like this:

Notice: Undefined index: virtuemart_media_id in /home/../domains/../public_html/administrator/components/com_virtuemart/models/media.php on line 320 Fatal error: Call to undefined function exif_imagetype() in /home/../domains/../public_html/administrator/components/com_virtuemart/helpers/vmuploader.php on line 270

Does anyone how I can solve this?
Title: Re: Blank screen when upload a product image
Post by: EIF on April 11, 2016, 21:58:42 PM
I didn't solved the problem yet, but the answer is in this topic: http://forum.virtuemart.net/index.php?topic=131754.0
Title: Re: Blank screen when upload a product image
Post by: jenkinhill on April 11, 2016, 23:17:59 PM
It is related to a lack of exif support on the server:  http://forum.virtuemart.net/index.php?topic=132339.msg460117#msg460117
http://forum.virtuemart.net/index.php?topic=132092.msg456483#msg456483

There is a workaround for such servers in VM3.0.14 and in the soon to be released VM3.0.16
Title: Re: Blank screen when upload a product image
Post by: EIF on April 13, 2016, 10:15:02 AM
Thank you Jenkinhill.

I just got a message from my hosting provider that EXIF should be enabled now.