Drupal 8 多站点(Multisite)模式下的The specified file temporary://file1Gxxx could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions错误解决

AIV.WU 提交于 周四, 11/07/2019 - 16:33

Drupal 8 在多网站(Multisite)模式下更新翻译如果出现类似

The specified file temporary://file1Gxxx could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions

的错误。那么除了要注意站点目录sites/*下的files文件夹里的tmp及translations目录的权限外,还要特别注意的是:Drupal的默认界面翻译目录是sites/default/files/translations,所以也要在sites/default下创建files/translations及files/tmp目录并赋予相应权限,这是多站点模式下最容易会略的问题。

类别

标签