VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Funtasy on December 01, 2015, 14:22:09 PM

Title: Server error when uploading image
Post by: Funtasy on December 01, 2015, 14:22:09 PM
Hello all

I'm using Joomla! 3.4.5 and VirtueMart 3.0.12 with vp_merchant as Template.
My website is funtasy.be/v5

Everytime I try to upload an image I get a server error 500 without anymore information.

I had JMS multi upload installed but I deleted it again because it was bugged. Maby that caused the problem?

Any one knows how I could find whats causing this bug?
Title: Re: Server error when uploading image
Post by: GJC Web Design on December 01, 2015, 14:52:47 PM
this has been discussed on here multiple times

500 server errors are ALWAYS logged somewhere
search on here for server errors

and as for your problem there is a search on here... sigh....   http://forum.virtuemart.net/index.php?topic=132092.0

Title: Re: Server error when uploading image
Post by: blizam on January 22, 2016, 23:07:17 PM
I'm having the exact same issue... this is an older/upgraded install and I haven't tried to replace an image in a few months... but I know I tried successfully to replace/add new images on J! 3.4+

tldr: if someone can just tell me how to MANUALLY add images I'd be happy with that... I tried uploading via the Media manager as well in VM and I get a "not a media file" error message although the .jpg I'm trying to upload certainly is... I guess I don't understand the "typeless" concept in the VM media manager... I tried FTP'ing the image, and it's resized version for the thumb, into their respective folders and then manually entered the file path on the product image tab, but saving just blanks everything out.

VirtueMart 3.0.12
J! 3.4.8
PHP 5.6

If I go to any existing product or create a new product and try to upload an image I get a server 500 error... not a "normal" white-page server 500 but like a browser default server 500... in Chrome it's grey with an 8-bit icon and black text, "500" in light grey

all paths are writeable

/tmp :: Writeable
/home/xxx/public_html/images/stories/virtuemart/product/ :: Writeable
/home/xxx/public_html/images/stories/virtuemart/product/resized/ :: Writeable

I see no errors in the VM error log nor joomla error log

I turned off "Enable Dynamic Thumbnail Resizing" and that didn't help

these are all the GETs leading up to the POST of the 500 error in my raw apache log

//attaching as txt file

Title: Re: Server error when uploading image
Post by: jenkinhill on January 22, 2016, 23:32:04 PM
Is exif support enabled on your server?  If not see http://forum.virtuemart.net/index.php?topic=131754.msg456396#msg456396
Title: Re: Server error when uploading image
Post by: blizam on January 22, 2016, 23:54:55 PM
I enabled exif in my php build and all is well... thank you thank you thank you!!!

I'm assumming exif is a newer requirement in VM? Is there somewhere I can stay up to date on new release requirements? I do try and read the VM release notes when they're posted.

thanks again!
Title: Re: Server error when uploading image
Post by: jenkinhill on January 23, 2016, 00:07:20 AM
The exif problem has already been discussed a lot on the forum - as you would have seen if you looked earlier in this thread. http://forum.virtuemart.net/index.php?topic=132339.msg457566#msg457566
Title: Re: Server error when uploading image
Post by: blizam on January 23, 2016, 00:15:33 AM
touché... I thought the link earlier was a link to the forum search itself... I did search before posting... this particular thread was the first to come up on google as well so I figured good to post here.