I've installed the image module on a Drupal 5.0 (upgraded through the RC cycle) system, and created a few image galleries. All was well until this morning when, for no obvious reason (ie no module or database changes - just one additional image uploaded overnight), images would not load using the "image" data type, and an error message "The selected file /var/www/drupal5/files could not be copied." is generated. The Image module is configured to use /var/www/drupal5/files/images as its image repository. A 0-byte file named "file" is created in this directory when the node is created. The node is created in the database, but there is no attached image and no derivatives.
Disabling the image_attach module allows the image datatype to work again, and images to be uploaded to galleries.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | image_attach_110370_0.patch | 2.22 KB | drewish |
| #3 | image_attach_110370.patch | 0 bytes | drewish |
Comments
Comment #1
robertgarrigos commentedThe same happens to me. This is a critical incompatibilty, in my opinion, because it makes the image module useless.
Comment #2
drewish commentedi marked http://drupal.org/node/115736 as a duplicate of this.
Comment #3
drewish commentedhere's a patch
Comment #4
drewish commentedmarked http://drupal.org/node/110370 as a duplicate of this.
Comment #5
drewish commentedi guess that patch didn't apply
Comment #6
drewish commentedi'm going to go ahead and commit this as it's a simple fix and it's a pretty critical issue.
Comment #7
(not verified) commented