I'm root in a Debian/Ubuntu environment (10.04 Lucid). Know which package name/GD library required to properly support Avatars? An apt-cache search *gd* brings up lots. Would also be good to document for others/future. Thanks.
Going ahead and posting the solution as I've located it. Thanks for your prompt and helpful assistance.
Note it would be nice/reasonable to list dependencies and troubleshooting steps within the Avatars (and others) installation and configuring pages/guides.
The following package provides for the GD libraries, which are associated with PHP, specifically for Debian/Ubuntu/variants:
php5-gd
It can be installed such as:
sudo apt-get install php5-gd
There will be some additional packages/libraries provided along with GD.
Note the web server must be restarted/reloaded in order for Apache to recognize and use the GD libraries.
e.g. (Ubuntu): $ service apache2 restart
After that, reloading the offending (blank) page produced expected results.
Responses (5)
WPMU DEV Fanatic — 30th December 2011 #
Hi Jaybe,
Thanks, first off, for all the details up front, that definitely helps.
And as you're getting a blank page, could you try checking your error logs to see what they might have to say?
Thanks,
David
Member — 30th December 2011 #
The following depicts the error received in the Apache error log post-crop/submission.
[Fri Dec 30 20:32:43 2011] [error] [client xxx] PHP Fatal error: Call to undefined function ImageCreateFrompng() in /srv/www/domain/public_html/wp-content/plugins/avatars/avatars.php on line 813, referer: http://domain/wp-admin/network/settings.php?page=edit-user-avatar&action=upload_process&uid=4
WPMU DEV Fanatic — 30th December 2011 #
Hi Jaybe,
Thanks for providing that! Could you check with your host to see that GD library is installed? I believe that's all that's needed.
Thanks,
David
Member — 31st December 2011 #
I'm root in a Debian/Ubuntu environment (10.04 Lucid). Know which package name/GD library required to properly support Avatars? An apt-cache search *gd* brings up lots. Would also be good to document for others/future. Thanks.
Member — 31st December 2011 #
Going ahead and posting the solution as I've located it. Thanks for your prompt and helpful assistance.
Note it would be nice/reasonable to list dependencies and troubleshooting steps within the Avatars (and others) installation and configuring pages/guides.
The following package provides for the GD libraries, which are associated with PHP, specifically for Debian/Ubuntu/variants:
php5-gd
It can be installed such as:
sudo apt-get install php5-gd
There will be some additional packages/libraries provided along with GD.
Note the web server must be restarted/reloaded in order for Apache to recognize and use the GD libraries.
e.g. (Ubuntu): $ service apache2 restart
After that, reloading the offending (blank) page produced expected results.
Cheers.
Become a member