[drupal-devel] [bug] Getting a "gd2" error when I save settings

wiz drupal-devel at drupal.org
Sun Mar 27 15:17:55 UTC 2005

Issue status update for http://drupal.org/node/19517

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  nysus
 Updated by:   wiz
-Status:       active
+Status:       patch

I'm pretty sure this fix is ok...


Previous comments:

March 27, 2005 - 02:58 : nysus

I compiled my version of PHP with the --with-gd option on.  I do not
have the image.module installed.  I get the following error in my
watchdog logs:

 Typephp DateSaturday, March 26, 2005 - 20:56 Usertest [1]
Location/admin/settings [2] MessageThe selected image handling toolkit
'/gd2/' can not correctly process '/image_gd2_settings/'. Severityerror
[1] http://drupal.org/user/1\" title=\"View user profile.
[2] http://drupal.org//admin/settings


March 27, 2005 - 13:53 : stefan nagtegaal

I can veriy that this is the case.. Not sure how to fix though..
Another side effect of this is that we can't upload any files, is this
only my install or do other people can duplicate the problem?


March 27, 2005 - 16:14 : wiz

Attachment: http://drupal.org/files/issues/image-gd2.patch (119 bytes)

Same problem here, I do have gd2 installed.  There seems to be a
confusion between 'gd' and 'gd2' in image.inc. After applying the patch
it works for me again: the built in functions are called image_gd_xxxx,
but because of this one line sometimes image_gd2_xxx functions are
looked for.

More information about the drupal-devel mailing list