Drupal 7 is unable to install modules [closed]
-
28-04-2021 - |
Question
My instance of Drupal 7 is unable to install new modules via FTP link. The error message that comes up is as follows :
Warning: fileowner() [function.fileowner]: stat failed for temporary://upd92FE.tmp in update_manager_local_transfers_allowed() (line 924 of C:\inetpub\wwwroot\drupal\modules\update\update.manager.inc).
My setup is as follows :
Windows 7 Home Premium 64 Bit IIS 7.5 + Zend Community Server
Solution
Okay, found the solution.
For some odd reason the temp directory was set as the following:
This naturally would not work. Just alter the back slash to a forward slash and you will be all set =)
OTHER TIPS
To solve this problem, just create new folder named tmp
in sites/default/files
Navigate here as admin /admin/config/media/file-system
and update "tmp" in Temporary Directory And create tmp folder in root of project dir. parallel with your index.php and .htaccess
Thanks, Aj
Sometime is a simple permission setting, I my case I found that the tmp was with 755 instead of 775. Setting back that folder to 775 has solved my problem.