Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I was getting the same watchdog message for all my Imagecache action presets. All of my actions were failing and therefore no thumbnails were being created for my uploaded images.
After much frustration, I figured out that my problem was that I did not have the GD module for PHP installed (which is required for the GD image toolkit which comes with Drupal, and also required for Imagecache). In addition, you need to also make sure that when installing the GD module, you enable the image formats you need (e.g. jpg).
@dopry - hook_requirements() is an easy way to stop users from installing a module when they don't meet a requirement. Useful for preventing spurious issues. see http://api.drupal.org/api/function/hook_requirements/5
@Medya,
that means that preset is 7 failed to generate an image... most like the source image doesn't exist, or your webserver does not have permissions to write the file. Imagecache 1.x has very little error reporting, so it's hard to know what really happened. Is there anything in your web servers error_log.
@moshe, Yes, hook_requirements is heavily used in 2.x. 1.x is receiving minimal support right now while I get 2.x ready to release. I would currently recommend upgrading to imagecache 2.x. Make sure you install ImageAPI first or everything goes to hell...
Comments
Comment #1
dopry commenteddetails about it.. no other errors? what action is id 7?
Comment #2
apersaud commentedHi Dopry,
I was getting the same watchdog message for all my Imagecache action presets. All of my actions were failing and therefore no thumbnails were being created for my uploaded images.
After much frustration, I figured out that my problem was that I did not have the GD module for PHP installed (which is required for the GD image toolkit which comes with Drupal, and also required for Imagecache). In addition, you need to also make sure that when installing the GD module, you enable the image formats you need (e.g. jpg).
That solved it for me! Hope this helps.
Comment #3
moshe weitzman commented@dopry - hook_requirements() is an easy way to stop users from installing a module when they don't meet a requirement. Useful for preventing spurious issues. see http://api.drupal.org/api/function/hook_requirements/5
Comment #4
dopry commented@Medya,
that means that preset is 7 failed to generate an image... most like the source image doesn't exist, or your webserver does not have permissions to write the file. Imagecache 1.x has very little error reporting, so it's hard to know what really happened. Is there anything in your web servers error_log.
@moshe, Yes, hook_requirements is heavily used in 2.x. 1.x is receiving minimal support right now while I get 2.x ready to release. I would currently recommend upgrading to imagecache 2.x. Make sure you install ImageAPI first or everything goes to hell...
Comment #5
drewish commented