I have site located here: telluridephotography.net

I recently updated to Drupal 6.20 and started having this error when I attempt to create a new photo album for my site using the galleria module. The files that I attempt to upload do appear on my server in the tmp directory.

I'm not sure what the error is trying to explain. Can someone help me resolve this?




warning: imagejpeg(): Unable to open 'sites/default/files/imagefield_thumbs/tmp/1_0.jpeg' for writing: No such file or directory in /var/www/vhosts/telluridephotography.net/httpdocs/sites/all/modules/imageapi/imageapi_gd.module on line 84.


drewish’s picture

It seems like you've either got a permissions problem or some path is wrong.

drewish’s picture

You're using imagefield for the upload?

BKWill’s picture

Yes I'm using the imagefield module for the upload. I thought is was a permissions problem myself at first, but I've tripple checked the directories and that's not it.

I appreciate you looking into this.


naeluh’s picture

I am also experencing errors after the last update -

warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /var/www/modules/imageapi/imageapi_gd.module on line 274.
warning: imagecolorallocate(): supplied argument is not a valid Image resource in /var/www/modules/imageapi/imageapi_gd.module on line 298.
warning: imagefill(): supplied argument is not a valid Image resource in /var/www/modules/imageapi/imageapi_gd.module on line 298.
warning: imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/modules/imageapi/imageapi_gd.module on line 129.

These are the warnings I am getting when I login and logout of the site.

Let me know if I can provide anymore information.



naeluh’s picture

however I just relized that my errors are with 6.1.10 not 6.1.9

zareen’s picture

Version: 6.x-1.9 » 6.x-1.10

Upgraded imageapi-6.x-1.10 and imagecache-6.x-2.0-beta12 yesterday and now I can't upload images and get this error

warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/convert) is not within the allowed path(s): (/var/www/vhosts/whelth101.com/httpdocs:/tmp) in /var/www/vhosts/whelth101.com/httpdocs/sites/all/modules/imageapi/imageapi_imagemagick.module on line 162.

Help would be appreciated as this has totally put me down on numerous multi-site installations. Thanks in advance for any help.

zareen’s picture

Found the solution here