I created an image field using imagecache for uploading images to stories. When I attempt to upload an image via this field I get the following error: warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 518 is not allowed to access /tmp/tmp_caNvt1 owned by uid 48 in /home/virtual/site14/fst/var/www/html/includes/file.inc on line 241.

There was no place to enter allowed file types when I was creating the image field. I thought maybe this was not required when using this newer version of imagecache. Could this be the problem?

What do I need to do to fix this.

Comments

macuhail’s picture

Issue partially fixed by turning off safe mode. Now the images still wont upload, but I am not getting the error.

dopry’s picture

Status: Active » Closed (fixed)

yes this doesn't work with safe mode... check your filesystem settings.