Page MenuHomePhabricator

Avatar imagemagick issues with MW 1.16
Closed, ResolvedPublic

Description

Author: kevindank

Description:
Installed latest version of MW 1.16 and latest version of SocialProfile, had extreme difficulty getting avatar uploads to work.

The issue was after uploading an image, was never alerted something was wrong, the image never uploaded however, it would show the as the default avatar.

Issue ended up being that needed to change instances of 'convert' to directory of imagemagick in my case, /usr/local/bin/convert in SpecialUploadAvatar.php


Version: unspecified
Severity: normal

Details

Reference
bz26588
TitleReferenceAuthorSource BranchDest Branch
Fundraising: privatebin imagerepos/releng/dev-images!4ejeggfrprivatebinmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:13 PM
bzimport added a project: SocialProfile.
bzimport set Reference to bz26588.

It should be using $wgImageMagickConvertCommand instead of hardcoded "convert".

Fixed in r79662; thanks both!

Should probably also use wfShellExec which will put an error in the debug log if the executable file doesn't exist, as well as do other good things.