By hussen on
Hi,
I just installed Drupal 7. I tried to install some themes but keep getting the same/similar error message:
* The specified file temporary://filej7tDyw could not be copied, because the destination temporary://update-cache/genesis-7.x-1.x-dev.tar.gz is not properly configured. This is often caused by a problem with file or directory permissions.
* http://ftp.drupal.org/files/projects/genesis-7.x-1.x-dev.tar.gz could not be saved to temporary://update-cache/genesis-7.x-1.x-dev.tar.gz.
* Unable to retrieve Drupal project from http://ftp.drupal.org/files/projects/genesis-7.x-1.x-dev.tar.gz.
Anyone has idea what setting I need to change.
Thanks in advance,
Mark
Comments
Problem unstallation of themes in drupal the same here
Hi,
I tried doing the same. Perhaps issue an error...
same problem with me...:(
same problem with me...:(
Here is the Solution
Hi,
The solution is to check the "Temporary directory" settings under File System (admin/config/media/file-system)
Normally it's set to /tmp . So rectify the permission of that folder(check ownership on folder too). That's it. Your theme installation process will work now.
In my case, on shared hosting environment, I don't have the right to change permission of that folder so I created a new folder under home folder (/home/ipsita/tmp/), and set this as "Temporary directory" path.
Read the following if you want to know more,
From the error message I understood that it's some folder permission which need to be rectified.
1. So I searched for the keyword "update-cache" and reached the update.manager.inc file (from update module)
2. From the code I got an idea that it's dealing with temporary folder path.
3. Then I checked my File System settings (admin/config/media/file-system)
4. Temporary directory was set to /tmp , and this folder was not writable. I tried changing it's permission but it didn't allow as I am not authorized to do that operation. I created a new folder /home/ipsita/tmp and set this as "Temporary directory".
5. Hurray, it started working and I installed Zen theme. It will hit the /authorize.php page once the installation is successful.
You can find some detail here as well, http://api.drupal.org/api/drupal/modules--update--update.manager.inc/7
Cheers,
another possible solution
After upgrade from Drupal 6 to Drupal 7, Garland theme was broken. Since I set the them to Garland in Drupal 6 before starting the upgrade, my Drupal 7 would show no theme until I finally changed to bartik.
Upon trying to save settings changes to Garland theme (without setting it as default), I saw errors like this:
"The specified file themes/garland/images/menu-collapsed.gif could not be copied because the destination directory is not properly configured."
My /tmp directory permissions were fine. It turns out that my working Drupal 6 installation, after upgrade to Drupal 7, had an erroneous pubic files directory. It was set (at admin/config/media/file-system) to simply "files". On my multisite installation I had to change it to "sites//files"
Error: Specified file temporary.. could not be copied because th
The Drupal 7 solution for me was simply..
.
Go to 'Configuration' > 'Media' > 'File System'
[*root*]/admin/config/media/file-system
and change the 'Temporary directory' from
/tmp to tmp
See http://drupal.org/node/1106492 for additional details.
.
.
-cjfr
All the best; intended.
-Chris (great-grandpa.com)
___
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *
after installing new theme
hiiii,,,
friendss....
i installed a new theme LIBRA ,,,and get it enabled but after thet i got this error.....
Warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal-7.0\includes\module.inc on line 980
Fatal error: Call to undefined function omega_theme() in C:\wamp\www\drupal-7.0\sites\all\themes\libra\template.php on line 27
can anyone plz tell me wat is the prblm.......
plz help me........
thanku
@gur07 I do not have your
@gur07
I do not have your solution, but if you think wamp may be giving you problems,
(It gave me problems) you might consider DAMP as is is from Dries B. Drupal's original creator,
and his site has video tutorial for installing it at http://www.acquia.com/resources/acquia-tv/conference/use-acquia-damp-sta...
Good luck.
All the best; intended.
-Chris (great-grandpa.com)
___
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *
libra theme is a sub-theme of
libra theme is a sub-theme of omega theme http://drupal.org/project/omega which you are probably missing
My personal blog | twitter:@sotak
My comment with solution implimenting "~" has been corrected.
I did correct the comment above, but..
See http://drupal.org/node/1106492 for all the details of a a better solution.
All the best; intended.
-Chris (great-grandpa.com)
___
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *
PHP safe mode
maybe oldnews
but i solved all the rights issues with the check box in my site's (server) admin panel
phpsafe mode off
this solves alle issued which relates to the folde chmod troule and errors like above
safe_mode solved writing errors
Even with permission 777 Drupal would not write
* directory contents into tmp folder (for installing modules or themes from URL)
* aggregation files into the public sites/default/files/js and sites/default/files/css folders
Although temp files directly inside tmp were created, and the update-cache-48459385 folder when installing from URL.
But the auto-created update-cache-48459385 folder stayed empty (no files were created inside) with auto-permission 755.
After turning safe_mode=Off everything worked as expected, files were created inside all the folders (update-cache-48459385, update-extraction-48459385, js, css).
Please note that only the failed module installation from URL displayed an error, while js and css aggregation did not.
I would recommend adding proper error messages (at least into error_log) including an additional check for safe_mode=Off.
Safe_mod does not change the problem.
Hi,
I migrated from D6.22 to D7.9 and conversion worked fine (so far), except for the same warning I get:
The specified file temporary://fileE7cLRu 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..
My directory is /tmp and I can change its permission (777). I am on PHP 5.2.17 and safe_mode is turned off. When I perform a clean installation, it does not seem to have any problems.
Any suggestions?
Thanks.
The Drupal 7 solution for me was simply..
.
Go to 'Configuration' > 'Media' > 'File System'
[*root*]/admin/config/media/file-system
and change the 'Temporary directory' from
/tmp
... to ...
tmp
All the best; intended.
-Chris (great-grandpa.com)
___
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *
Here is a solution
My situation was the same as you. I've done everything mentioned in different posts with "/tmp" they simply did not work. Here is what worked for me:
Give write permission to folders inside "sites/default/files". I did this for "css", "js", "languages" and bunch of others.
Localization update
For me the error message came from Localization update module.
I turned it off and the error message was gone
sites/all/themes must be writable by server
I got this error by using "Omega Tools" (omega_tools) trying to export my settings to my theme.info file. Since the file wasn't writable by the server, that same error came up.
Just an fyi.
Some people here gave the
Some people here gave the advice to change "/temp" to "tmp"
Thank you to those, you made me come on the right track to fix it.
When my domain on my hosting got activated i activated clean-urls, and my temp map was already set to "tmp"
After i tried to install a module, it gave me the specified file could not be copies aswell.
What i did was the other way around, setting "tmp" to "/tmp", it made it work instantly!
This works for me. thanks!
This works for me. thanks!
This also works for Acquia Dev Desktop module upgrade issues
If you are like me and working on a local clone of a site (say from Bitbucket, Git, etc.) and the site is on a Linux platform but you are on Windows, try changing your temporary directory (admin->configuration->media->file system) to "/temp" from "/tmp". This fixed it for me, and I was able to upgrade all modules through the interface directly after the change.
I had the same problem [sovled]
the problem was with Temporary directory
you find the folder : public_html/sites/default/files/tmp the open it .. I found file .htacess and has the below conent:
Deny from all
# Turn off all options we don't need.
Options None
Options +FollowSymLinks
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
I just deleted this content then it worked fine...
# If we know how to do it safely, disable the PHP engine entirely.
php_flag engine off