I am not sure if this is core issue but it happens immediately after D7.8 installation using simplescripts or manuly installing 7.8.
I am on bluehost shared hosting, have several 7.7 installations and this error never happened before.
Started with 7.8.
So out of the box after finishing installation 7.8 i go to modules page and when i click install module i get this error:
Warning: fileowner() [function.fileowner]: stat failed for temporary://update_cFdiB3 in update_manager_local_transfers_allowed() (line 906 of /modules/update/update.manager.inc).
Just to see what happens next i install Admin menu (or any other module) and i get error:
Warning: fileowner() [function.fileowner]: stat failed for temporary://update_n09Wju in update_manager_local_transfers_allowed() (line 906 of /modules/update/update.manager.inc).
Warning: mkdir() [function.mkdir]: No such file or directory in DrupalLocalStreamWrapper->mkdir() (line 631 of /includes/stream_wrappers.inc).
Warning: file_put_contents(temporary://filerAHe2t) [function.file-put-contents]: failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1895 of /includes/file.inc).
The file could not be created.
http://ftp.drupal.org/files/projects/admin_menu-7.x-3.0-rc1.tar.gz could not be saved to temporary://update-cache-1b18bb60/admin_menu-7.x-3.0-rc1.tar.gz.
Unable to retrieve Drupal project from http://ftp.drupal.org/files/projects/admin_menu-7.x-3.0-rc1.tar.gz.
Warning: fileowner() [function.fileowner]: stat failed for temporary://update_HYbpUg in update_manager_local_transfers_allowed() (line 906 of /modules/update/update.manager.inc).
After that i try to disable Update manager and i get this:
"You must enable the Text module to install Comment".
"Would you like to continue with the above?"
After continue, error is gone, but ofcourse i cant install new modules through UI.
Comments
Comment #1
Everett Zufelt CreditAttribution: Everett Zufelt commentedComment #2
S3bastien CreditAttribution: S3bastien commentedGot the exact same problem.
I changed the configuration via FTP - working on permissions:
705 on all folders
604 on all files
and then it worked without problem (I did log out and log in from the admin session but it should have no impact logically)
Also went to status report and ran all instructions where there were warnings.
Also had to set-up tmp file to another path (sites/tmp) but not sure if this is safe
Comment #3
BigBrother2010 CreditAttribution: BigBrother2010 commentedI started this as 7.8 error, and it changed to 8.x.
Comment #4
juno612 CreditAttribution: juno612 commentedSame here...
Warning: fileowner() [function.fileowner]: stat failed for temporary://update_7F4xAr in update_manager_local_transfers_allowed() (line 906 of /home2/thehigj1/public_html/test/modules/update/update.manager.inc).
Comment #5
drupalycious CreditAttribution: drupalycious commentedHello,
the same issue happened to me while making a fresh install of Drupal 7.9.
I deleted all the files/directory excepted the "sites" directory.
Everything was fine until I run an update of the modules.
Then the same error message appeared.
The solution is:
I forgot to create back again my temporary directory that I deleted with the other directories.
As soon as I created it back, and empty the caches, the error message was gone.
Be carefull the name of the directory must be the same as the one you defined in the configuration page admin/config/media/file-system. If this directory doesn't exist you have to create it.
I hope this helps.
Comment #6
VM CreditAttribution: VM commentedThe issue was moved to 8.x because that is where fixes go. Those fixes are then backported to 7.x so that they can be rolled into a release.
Comment #7
knalstaaf CreditAttribution: knalstaaf commentedGot it solved by changing the Temporary directory to /tmp (admin/config/media/file-system).
Comment #8
stGeorge-1 CreditAttribution: stGeorge-1 commented/tmp folder was not my problem but I was able to get around it by simply uploading straight onto server, but not really a solution :(
Comment #9
femrich CreditAttribution: femrich commentedI am also experiencing this having upgraded from 7.10 to 7.12. The tmp folder seems correct: it is set in my drupal installation pointing to the home directory as tmp; that folder exists on my server and has permissions set at 0775. (http://drupal.org/node/1284886#comment-5197312)
In my drupal installation, folder permissions are set at 755 and files at 644.
What to try next?
Comment #10
femrich CreditAttribution: femrich commentedHmmm... clearing cached seems to make the error disappear, I hope for good...
Comment #11
hmartens CreditAttribution: hmartens commentedsp-drupy...You did it!!!
Thanks for helping me...the problem layed in the Media>Temporary Directory path...once I set that correctly it worked perfect...so much for using templates that you purchase :)
Thanks again for the help!!!
Comment #13
fultonchain CreditAttribution: fultonchain commented#5, thanks. Simple, but not as obvious as you'd think deep in development.
Comment #14
ccbearyeh CreditAttribution: ccbearyeh commentedThanks a lot for informaiton, I changed includes/file.inc
to
and every thing going good.
Comment #15
bam4ir CreditAttribution: bam4ir commentedI've Drupal 7.23. when I use it for install new theme or modules I have an alert upper the pages with below details:
"
Warning: fileowner() has been disabled for security reasons in update_manager_local_transfers_allowed() (line 932 of /home/***/public_html/em/modules/update/update.manager.inc).
Warning: fileowner() has been disabled for security reasons in update_manager_local_transfers_allowed() (line 932 of /home/***/public_html/em/modules/update/update.manager.inc).
"
I read website to find solution but its not possible. please help me to solve it.
Good luck.
Comment #16
dmdservice CreditAttribution: dmdservice commented#5. This issue ended up being a tmp dir path issue after a host migration.
Comment #17
ashuaviator1987 CreditAttribution: ashuaviator1987 commentedjust reset the tmp folder in media->filesystem.
By default it is \tmp chnage it to tmp and a new folder 'tmp' will be created in domain dir ..
and error will be gone
Comment #18
jjkktr CreditAttribution: jjkktr commented@knalstaaf Suggestion helped me. Just chnaged the temp directory 'tmp' instead local path.
Comment #19
hondaman900 CreditAttribution: hondaman900 commentedYup! Thank you guys! Putting a /tmp directory in my WAMP Drupal site root did the trick.
Comment #20
ricardobabe CreditAttribution: ricardobabe commentedThanks It worked for me. Always don't forget to reset your filesystem after moving your website
Comment #21
hpadia CreditAttribution: hpadia commentedI was facing the same issue. I'd moved my code to another machine and the path of temp was referring to location of old machine on another drive i.e. E and new machine had XAMPP installed on D: drive.
Changing path of Temporary directory at (admin/config/media/file-system) solved the issue.
Comment #22
alula.k CreditAttribution: alula.k commentedSame issue here. Except it appears when I try to go to the extend module menu. I can't install any modules because of it