Drupal Association members fund grants that make connections all over the world.
The default specification of "/tmp" at
"Configuration" > "Media: File system": "Temporary directory"
can cause errors with manual webhost installations of Drupal 7.
With module "Update manager" enabled:
Warning: unlink(/var/tmp/update-cache/skinr-7.x-2.x-dev.tar.gz) [function.unlink]: Permission denied in drupal_unlink() (line 2139 of /home1/greatgr2/public_html/a-a-a-a/includes/file.inc).
Warning: rmdir(/var/tmp/update-extraction/skinr/tests/skins/example) [function.rmdir]: Permission denied in drupal_rmdir() (line 2277 of /home1/greatgr2/public_html/a-a-a-a/includes/file.inc).
When trying to "Install from a URL"; even with the "Update manager" UN-enabled:
Warning: mkdir() [function.mkdir]: Permission denied in drupal_mkdir() (line 2244 of /home1/greatgr2/public_html/0000/g/includes/file.inc).
The directory /tmp-test-del-hi_blue_host_tech does not exist and could not be created.
The solution is to rename "/tmp" and "Save configuration"
and see whether or not you immediately get errors.
/tmp2 (this location did not work for me, but the following all did)
If you recieve no errors upon clicking the "Save configuration" button
then your troubles are over. If so, try another name.
I highly recommed leaving the beginning slash "/"
in front of whatever name you choose so that
the temporary files directory location will be created
at a level two parents higher than your online public_html directory.
If you do fail to use the slash at the beginning,
the directory will be created inside of your D7 root folders
as in using "tmp" will result in the creation of
public_html/[d7-root]/tmp and at that location files will accumulate
and require you to delete them manually if you want to get rid of them
and they serve no purpose
except to use up disc space uneccessrily.
Note: Re: A SimpleScripts' installation default "Temporary Directory" location:
..and at this location files accumulate and require manual deletion.
Do not use "~" as "Temporary Directory" location:
My original recommendation of simply adding
a "~" character in front of D7's default of "/tmp"
in the field-box "Temporary directory"
at "Configuration" > "Media: File system"
causes D7 to create your temporary D7 folder
in your site's folders
Additionally, and more importantly,
if you try to delete those unwanted files
using an FTP program,
you may, like me, find that trying
to navigate into ANY folder named "~"
on your wbhost site using FTP,
causes you to be immediately taken
to your website's root folder
which is to say that you can not access those
temporary files using FTP to delete them.
and you will have to delete the temporary files
via your webhost's Control Panel (CPanel).
- This problem only occured at one of my two different BlueHost.com
accounts although they differ only in domain name (both are basic $6.95/mon.)
- I gave midnight tech at bluehost access to my D7 "Reports" page
and asked if he could tell me what difference
he might see between my two host accounts
but he could not easily establish why one site would have had problems
while the other one did not.
- While testing possible "Temporary directory" choices,
"/tmp" did finally get accepted and I am using it now error free
including that I get no errors immediately post-installation
when I leave 'Check for updates Automatically' enabled during install.
- The successful acceptance of "/tmp" happened at a time just few seconds
after I noticed the my FTP program had just hung.