J3.x:扩展安装出错
From Joomla! Documentation
Outdated translations are marked like this.
Joomla!
3.4.0
有一些扩展在J3.4.0中安装的时候会出错,提示错误信息“没有选取任何文件 无法找到集成包”
报告的错误
没有选取任何文件 无法找到集成包
(由于这个错误信息十分普通,其他的问题也可能给出这个信息. This is however the only UI error shown as a result of this issue that affects Joomla 3.4.0 ONLY)
受影响的版本
是怎样导致这个问题
在3.4.0版本中在JFile::upload函数中增加了额外的安全检查. 然而在扩展管理组件中并没有禁用这个安全检查。因此系统将所有的安装包中zip文件都作为非安全的,因此造成安装不成功。.
怎样修复
确保你的扩展在安装之前都正确的打包。
应用以下修补程序 https://github.com/joomla/joomla-cms/pull/6180.patch (this will be shipped in Joomla 3.4.1)