Last modified: 2012-11-01 14:32:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43485, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41485 - Errors uploading avatars: Call to undefined function imagecreatefrompng()
Errors uploading avatars: Call to undefined function imagecreatefrompng()
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SocialProfile (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Jack Phoenix
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-29 11:26 UTC by Tim
Modified: 2012-11-01 14:32 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim 2012-10-29 11:26:48 UTC
Hi there,

I have an issue uploading avatars and gift images.

I have managed to put the avatars folder in the images directory and the default grey avatar is showing, however when I go to upload an avatar, I get these two error messages:

Warning: Invalid argument supplied for foreach() in /home/wikihut/public_html/extensions/SocialProfile/UserStats/UserStatsClass.php on line 611

Fatal error: Call to undefined function imagecreatefrompng() in /home/wikihut/public_html/extensions/SocialProfile/UserProfile/SpecialUploadAvatar.php on line 296

How do I resolve this issue so I can upload avatars?

Thanks so much!
Comment 1 Andre Klapper 2012-10-29 12:05:01 UTC
Hi Tim, which MediaWiki and extension versions is this about?
Comment 2 Tim 2012-10-30 05:01:28 UTC
Hi there, sorry that I did not give this information!

MediaWiki Version: 1.19.2
SocialProfile Version: 1.5

Hope that helps.

Thanks for your time!
Comment 3 Tim 2012-10-30 05:26:53 UTC
Hi there, sorry that I did not give this information!

MediaWiki Version: 1.19.2
SocialProfile Version: 1.5

Hope that helps.

Thanks for your time!
Comment 4 Alex Monk 2012-10-30 12:07:02 UTC
Are you sure you have the GD extension installed? http://www.php.net/manual/en/image.setup.php
Comment 5 Tim 2012-11-01 10:51:56 UTC
It turns out I have not got that installed so I'll install it and see how I go!

Thanks so much for the speedy responses by the way, you are fantastic!

Thank you so much, 
Tim
Comment 6 Tim 2012-11-01 12:27:59 UTC
The issue has resolved.

Problem was that the GD extension was not installed.

I can't thank you enough! Thank you for your time, your help and for bearing with me!

Thanks,
Tim
Comment 7 Alex Monk 2012-11-01 14:32:59 UTC
You're welcome.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links