On update (I think upd. no. 3) there was a problem with creating thumbnails (there may be a connection with this other problem - there is a problem with taxonomy, the random picture on albums is sometimes empty, when it contains an other empty gallery and some pictures or galleries), now the empty galleries don't have white background/picture and there are error messages:
warning: Division by zero in /usr/home/pedro/www/hosting/gimi.brain.sk/drupal/includes/image.inc on line 125.
warning: imagecreatetruecolor(): Invalid image dimensions in /usr/home/pedro/www/hosting/gimi.brain.sk/drupal/includes/image.inc on line 266.
warning: imagecopyresampled(): supplied argument is not a valid Image resource in /usr/home/pedro/www/hosting/gimi.brain.sk/drupal/includes/image.inc on line 274.
warning: imagejpeg(): supplied argument is not a valid Image resource in /usr/home/pedro/www/hosting/gimi.brain.sk/drupal/includes/image.inc on line 349.
warning: imagedestroy(): supplied argument is not a valid Image resource in /usr/home/pedro/www/hosting/gimi.brain.sk/drupal/includes/image.inc on line 277.
Unable to create scaled thumbnail image

Comments

alippai’s picture

Status: Active » Closed (fixed)

Sorry, there was a problem with the Thumbnail dimensions

vhmauery’s picture

Let me describe what happened when I saw this on my dev box.

1) brand new install of acidfree
2) went to the admin section it told me I need to run update
3) In the update selection, it told me that Acidfree was at schema 2 (3 was selected as the first to apply)
4) I hit update and there were errors
5) I tried to add an image
6) lots of divide by zero errors like you are seeing

This is caused by some faulty logic in the acidfree.install file. I fixed this and now new installations don't do this. A new installation shouldn't require an update immediately. When applying the update a second time, It messed up some setting in the image module (the thumbnail sizes) which caused the image module to resize all the images to 0x0 pixels.

alippai’s picture

At me the problem was that at the image module the thumbnail sizes were 0x0 :S Overall update run when I got this error
But the other bug may be active (empty image, when has empty children album)?