无法将上传的文件移动到目标Drupal 8
问题描述:
我无法通过drupal上传文件(图像,配置,我猜什么)。 的错误信息是:无法将上传的文件移动到目标Drupal 8
The file could not be saved because the upload did not complete.
File upload error. Could not move uploaded file.
当我去记录它说:
Upload error. Could not move uploaded file multimedia.svg to destination public://2017-03/multimedia.svg.
我已经阅读权限,在这里,他们是:
sites/default/files - 770
sites/default/files/2017-03 - 770
/tmp - 1777
但是我能上传&安装主题和模块没有任何ploblems。 那它会是什么?我该如何解决这个问题?从
答
- 开关PHP模式 “Apache模块(mod_php的)” 至 “快速CGI(mod_fcgid)”
- 芯\包括\ file.inc 功能file_prepare_directory() 应返回true
看到this patch 或只是暂时把
return true;
,而不是
return $writable;
在功能