2017-03-07 36 views
0

我無法通過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。 那它會是什麼?我該如何解決這個問題?從

回答

0
  1. 開關PHP模式 「Apache模塊(mod_php的)」 至 「快速CGI(mod_fcgid)」
  2. 芯\包括\ file.inc 功能file_prepare_directory() 應返回true

看到this patch 或只是暫時把

return true; 

,而不是

return $writable; 
在功能

相關問題