VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: babu65 on February 10, 2016, 13:41:23 PM

Title: [SOLVED] Serious problem with VM 3.0.12
Post by: babu65 on February 10, 2016, 13:41:23 PM
Hi to all,
I hope somebody can help me because this problem make me crazy.
the domains that I'm speaking about are all on the same server, it have  PHP Version 5.4.45, MySql 5.1.73-cll.
The domains that have VM 2.6 22 with Joomla 2.5.28 working regular.
The domains that have VM 3.0.12 with Joomla 3.4.8 have a serious problem with the categories / Products upload image.
2 of this domains when I try to upload an image, at the moment that I push the SAVE button redirect me at Home page in the front end. The third domain, a new installation, when I save declare the following error in a blank page:

Notice: Undefined index: virtuemart_media_id in /home/agritur/public_html/administrator/components/com_virtuemart/models/media.php on line 320

Fatal error: Call to undefined function exif_imagetype() in /home/agritur/public_html/administrator/components/com_virtuemart/helpers/vmuploader.php on line 270

At the line 320 in the file I find:

$oldIds = $data['virtuemart_media_id'];

At the line 270 in the file I find:

269 self::$MimeTypes['multipart/report']   = ''; # mehrteilige Daten / Bericht
270
271 self::$MimeTypes['multipart/signed']   = ''; # 271271 mehrteilige Daten / bezeichnet


PLS help me, I can't find the way for solve this big problem.
Title: Re: Serious problem with VM 3.0.12
Post by: Milbo on February 10, 2016, 14:32:23 PM
http://bfy.tw/4Bcy

and http://forum.virtuemart.net/index.php?topic=133113
Title: Re: Serious problem with VM 3.0.12
Post by: babu65 on February 10, 2016, 16:30:15 PM
Hi Milbo,
thanks for your reply.
I've just activated on server :

exif.encode_unicode = "ISO-8859-15"
exif.decode_unicode_motorola = "UCS-2BE"
exif.decode_unicode_intel = "UCS-2LE"
exif.decode_jis_motorola = JIS
exif.decode_jis_intel = JIS

But unfortunately it's not solve  :(
Title: Re: Serious problem with VM 3.0.12
Post by: babu65 on February 10, 2016, 19:34:08 PM
I'm sorry, the last post is not true, I must wait the php compilation in the server.
Now it's working all regularly  :)

Thanks a lot Milbo
Title: Re: [SOLVED] Serious problem with VM 3.0.12
Post by: Milbo on February 10, 2016, 22:49:48 PM
nice, definitly the right choice to add exif support. Greets