drupal hangs with avatar module enabled and selected in the right side bar ( when php is not installed with gd library )

omdrupal - January 24, 2007 - 12:56
Project:Avatar gallery
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I have installed avatar module and went to administer -> blocks and select avatar to display in the right side bar.
Then it gave me the following error

Fatal error: Call to undefined function: imagecreatetruecolor() in /www/docs/drupal/modules/avatar_gallery/avatar_gallery.module on line 348

and then drupal doesn't get loaded again.
the drupal site gets displayed only after deleting the avatar module from the modules directory of drupal installation.

OS: Mac OS X 10.4.2
Drupal 5.0
Configuration file Protected
Database schema Up to date
File system Writable (public download method)
GD library Not installed
MySQL database 4.1.13a
PHP 4.3.11 Unicode library PHP Mbstring Extension
Web server Apache/1.3.33 (Darwin) mod_ssl/2.8.24 OpenSSL/0.9.7i PHP/4.3.11

#1

drumm - January 29, 2007 - 09:11
Project:Drupal» Avatar gallery
Version:5.x-dev» 5.x-1.x-dev
Component:base system» Code

#2

Justin W Freeman - October 15, 2009 - 23:10

You need GD2 for this function, otherwise it won't work.

 
 

Drupal is a registered trademark of Dries Buytaert.