I'm trying to install the wysiwyg module but I get the following error, File temporary://file3rgxiu could not be copied, because the destination directory /tmp/update-cache is not configured correctly.

Can anyone help?

Thanks

Comments

alexkessler’s picture

Have a look at your file system settings.
You'll found it here admin/settings/file-system

GHoed’s picture

Thanks for your response. The file-system seems to be okay. I'm able to upload images to the site. I'm new to drupal, so maybe I just don't know what I should be configuring. I tried uploading a different module and got the same response. "The specified file temporary://filelOqxnW could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log."

Any other advice will be appreciated.

Thanks.

alexkessler’s picture

Did you have a look at your system log?
It's sound like your tmp directory is not properly configured.
Try to set the file permissions on your tmp folder to 755.

GHoed’s picture

Hi MrKatz, Thanks for helping with the issue. I tried locating the folder tmp through my FTP software, but could not find the folder. Perhaps when my drupal site was installed, it was not installed completely. I used Blue Host's installer, Simple Scripts to install Drupal version 7. I can create the folder and give it 755 permission, but where should I create it, sites/default?

My system logo message said, "The file permissions could not be set on temporary://update-cache."

thanks again!

alexkessler’s picture

sites/default should be fine.
You can create it anywhere, but you have to insert the path in your file system settings.

GHoed’s picture

Hi MrKatz, Thanks for your help. I was able to get the module installed and working. I was wrong about my permission settings for sites/default.

mathieso’s picture

In the file settings, Drupal 7 had put /tmp. I changed it to ~/tmp, and all was OK. ~ means "go to the user home directory" in Unixese. There was a dir tmp there, with permissions of 0755.

Kieran
http://coredogs.com

GHoed’s picture

Thanks for your help. I was able to get the module installed and working.

christopher james francis rodgers’s picture

The solution for me is simply..
.
Go to 'Configuration' > 'Media' > 'File System'
[*root*]/admin/config/media/file-system
and change the 'Temporary directory' from
/tmp
... to...
tmp
.
=========

2011.03.26 - I updated this post to refine the work-around solution.

See http://drupal.org/node/1106492 for all the details.


All the best; intended.
-Chris (great-grandpa.com)
___
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *

Duarte Cancela’s picture

I did this to my website and didn't result... i don't know what to do more?

Duarte Cancela’s picture

I think i solved the problem i instaled a zip version of module instead of tar.gz i donr now why tar.gz doesnt work!?