This topic has already been raised in an issue here http://drupal.org/node/295854

but I thought it warranted another post.

I have just installed a drupal 6.4 from scratch. When I visited the image toolkit link under site configuration in admin I get the following message on blank screen:

Fatal error: Call to undefined function: image_gd_check_settings() in /hsphere/local/home/movierev/annesrugs.com.au/includes/image.inc on line 70

This appears to be a problem with core, as this was before any modules were installed or any other changes made.

Once installing image module, the admin top level path also produces the same error message, as do all modules relating to image.

Anyone else having the same problem, is there a patch for this problem?

TIA, Renaee.

Comments

dave reid’s picture

Sounds like your PHP installation doesn't have the GD image library installed and not a Drupal bug. Go to your site's status report (admin/reports/status) and see if there is an error for the 'GD Library'.

Renzy’s picture

Thanks for quick reply - however it is installed, as status report shows:

GD library bundled (2.0.28 compatible)

does it need to be a later version?

ta.

dave reid’s picture

Another thing to try, have you tried going to the image toolkit settings page (admin/settings/image-toolkit) and saving the settings? Do the error messages persist?

Renzy’s picture

admin/settings/image-toolkit

this is the file path where I get the error message so I can't configure it as Sam did to fix it?

Renzy’s picture

In order to get rid of this problem you have to copy the include file from the image module and put it in the base installation of core, in the includes folder.

This error message on the toolkit page was displayed for me:

No file /usr/bin/convert could be found. PHP's open_basedir security resriction is set to /hsphere/local/home/movierev:/usr:/tmp:/var/tmp:/hsphere/shared/apache/libexec, which may be interfering with the attempts to locate ImageMagick.

I will now go ahead an re-install the image modules and hope they are working too.
Renaee.

note - this solution is a duplicate of one found here:

http://drupal.org/node/257824