File upload 无法将上载的文件移动到目标Drupal 8

File upload 无法将上载的文件移动到目标Drupal 8,file-upload,drupal,upload,drupal-8,File Upload,Drupal,Upload,Drupal 8,我很难让drupal上传文件(图像、配置,我猜任何东西)。 错误消息是: 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://20

我很难让drupal上传文件(图像、配置,我猜任何东西)。 错误消息是:

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
然而,我能够上传并安装主题和模块,而没有任何问题。 那会是什么呢?我该如何解决这个问题

  • 将php模式从“Apache模块(mod_php)”切换到“快速CGI(mod_fcgid)”
  • core\includes\file.inc 函数文件\u准备\u目录() 应该返回true
  • 看 或者只是暂时放

    return true;
    
    而不是

    return $writable;
    
    在函数中