文件系统不可写 [英] File system is not writable
问题描述
安装模块后,我收到一个错误错误,状态报告给了我这个错误信息:
文件系统不可写
目录/ Applications / MAMP / tmp / php不存在。
您可能需要在文件系统设置页面设置正确的目录,或
更改当前目录的权限,以便它是可写的。
我检查(sites / default / files)的权限
它具有 755 权限,我将其更改为 777 ,但没有任何反应,因此我退回。
我有以下设置为(主页»管理»配置»媒体):
公共文件系统路径
站点/默认/文件
临时目录
/应用程序/ MAMP / tmp / php
这里是我收到的错误:
Warning:file_put_contents(temporary:// fileDyFbDg)[function.file-put-contents]:无法打开流:file_unmanaged_save_data()中的DrupalTemporaryStreamWrapper :: stream_open调用失败(/ home / imamus / public_html的第1898行/includes/file.inc)。
无法创建文件。
警告:file_put_contents(temporary:// fileeTFMpl)[function.file-put-contents]:无法打开流:file_unmanaged_save_data()中的DrupalTemporaryStreamWrapper :: stream_open调用失败(/ home / imamus /的public_html /包括/ file.inc)。
无法创建文件。
警告:file_put_contents(temporary:// fileuB8Tdu)[function.file-put-contents]:无法打开流:file_unmanaged_save_data()中的DrupalTemporaryStreamWrapper :: stream_open调用失败(/ home / imamus /的public_html /包括/ file.inc)。
无法创建文件。
警告:file_put_contents(temporary:// filea1KYXG)[function.file-put-contents]:无法打开流:file_unmanaged_save_data()中的DrupalTemporaryStreamWrapper :: stream_open调用失败(/ home / imamus /的public_html /包括/ file.inc)。
无法创建文件。
请咨询。
我检查(sites / default / files)的权限,它具有755个权限,我将其更改为777,但没有任何反应,因此我退回。
对于 / Applications / MAMP / tmp / php
I installed Drupal 7 in a web host successfully. After installing a module, I got an error errors and and status report gave me this error message:
File system Not writable
The directory /Applications/MAMP/tmp/php does not exist.
You may need to set the correct directory at the file system settings page or
change the current directory's permissions so that it is writable.
I check the permissions for (sites/default/files)
and it has 755 permissions and I change it to 777 but nothing happened so I return it back.
I have the following setting for (Home » Administration » Configuration » Media):
Public file system path
sites/default/files
Temporary directory
/Applications/MAMP/tmp/php
and here is the error I am getting:
Warning: file_put_contents(temporary://fileDyFbDg) [function.file-put-contents]: failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1898 of /home/imamus/public_html/includes/file.inc).
The file could not be created.
Warning: file_put_contents(temporary://fileeTFMpl) [function.file-put-contents]: failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1898 of /home/imamus/public_html/includes/file.inc).
The file could not be created.
Warning: file_put_contents(temporary://fileuB8Tdu) [function.file-put-contents]: failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1898 of /home/imamus/public_html/includes/file.inc).
The file could not be created.
Warning: file_put_contents(temporary://filea1KYXG) [function.file-put-contents]: failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1898 of /home/imamus/public_html/includes/file.inc).
The file could not be created.
Please advice.
I check the permissions for (sites/default/files) and it has 755 permissions and I change it to 777 but nothing happened so I return it back.
do the same for /Applications/MAMP/tmp/php
这篇关于文件系统不可写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!