The directory /tmp/image does not exist.

benjaminbob - May 7, 2009 - 22:36
Project:Image
Version:6.x-1.0-beta3
Component:image_import
Category:support request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

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

#1

joachim - May 8, 2009 - 08:04

Have 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.

#2

jublack2000 - June 7, 2009 - 20:06

Hi 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!

#3

hoot - June 28, 2009 - 06:06

I'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.

#4

joachim - June 28, 2009 - 12:03

Once 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.

#5

hoot - June 28, 2009 - 16:53

Joachim:

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.

#6

arnaudfischer - August 19, 2009 - 01:29

Joachim, thanks for the fix. sites/default/files/images/temp worked for me after trying a few other places.

-arnaud

#7

lipinponmala007 - October 21, 2009 - 10:37

yes it worked for me..thank you very much

#8

Hetta - November 3, 2009 - 09:04
Status:active» fixed

#9

System Message - November 17, 2009 - 09:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#10

archetypal - November 24, 2009 - 02:53
Version:6.x-1.0-alpha4» 6.x-1.0-beta3
Status:closed» needs work

This 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".

 
 

Drupal is a registered trademark of Dries Buytaert.