Hi,
I am a newbie to both drupal and web stuff generally (though have spent last 2 years teaching myself html, then css and dreamweaver, and due to limitations, researched a better way of doing things and came across Drupal.
So, I've loaded Drupal and am working on my first site for a client. I have loaded image module and in the status report there is an error message that says (in box):
"Image import Import directory has not been configured.
The import directory must be configured and exist in order for the Image import module to function."
I go to the 'configured' link and find the error message:
"The directory /tmp/image does not exist."
I have tried various things to get it to exist, mostly followed from a similar post saying another file didn't exist - said I need to install it in the "sites/default" directory, but I can't do this as it says it is a read only parent directory.
Any ideas on how to solve this would be greatly appreciated.
Thanks for your help
Damian
Comments
Comment #1
joachim commentedHave you set up the main drupal files directory?
What about the image directory settings?
There's a bug with those in the current version and it may be useful to install devel module to check the values and reset them.
Comment #2
jublack2000 commentedHi there,
I'm having this exact problem. My first drupal site and i have this module installed in the sites/all/modules directory. I'm getting the error:
The directory /tmp/image does not exist.
..when i go to the image import page: /admin/settings/image/image_import
Any help is greatly appreciated! thanks!
Comment #3
hoot commentedI'm having a similar problem. I tried installing tmp/image in various places, including outside the folder that contains my Drupal installation, but nothing seems to work. Any help anyone can provide will be greatly appreciated.
Also, following the Packt book on multimedia for Drupal, I tried putting a newly created image into a gallery. But, I did not get a menu where I could select the gallery to put the image into, even though the book said I should. I'm wondering if this has to do with the file system problem I'm having.
Thank you.
Comment #4
joachim commentedOnce the image node is created, putting it into the gallery has nothing to do with files: please check the issue queue as I have seen similar problems to this.
Comment #5
hoot commentedJoachim:
Elsewhere on the forum, I was able to find an answer to the question about how to add an image to the image gallery. It is at this node: http://drupal.org/node/327946.
And I also found a solution to my error message: "The directory /tmp/image does not exist." The solution was posted at http://drupal.org/node/366138. I just changed my directory path in image import to one that already existed: sites/default/files/images/temp.
Thank you.
Comment #6
arnaudfischer commentedJoachim, thanks for the fix. sites/default/files/images/temp worked for me after trying a few other places.
-arnaud
Comment #7
lipinponmala007 commentedyes it worked for me..thank you very much
Comment #8
Hetta commentedComment #10
archetypal commentedThis issue is NOT fixed: the error message does not comport with the solution.
The error complains for "/tmp/image".
The solution is "sites/default/files/images/temp".
Comment #11
mhhelle commentedAre you sure /tmp/image directory really does exist when you log into your webserver directly into Unix/Linux? Generally /tmp is cleared and regenerated on re-boot. I also use /tmp/image for my import directory, and periodically I need to re-create it. I think the image module shouldn't really complain about this being a configuration problem. /tmp is a special case that I think should be dealt with differently. I don't really think this is a bug if I understand it correctly.
Comment #12
joachim commentedOk, putting this back to closed.