J3.x

Difference between revisions of "Extension won't install/en"

From Joomla! Documentation

Line 19: Line 19:
 
确保你的zip文件都被正确的压缩
 
确保你的zip文件都被正确的压缩
  
Apply the following patch https://github.com/joomla/joomla-cms/pull/6180.patch (this will be shipped in Joomla 3.4.1)
+
应用以下修补程序https://github.com/joomla/joomla-cms/pull/6180.patch (this will be shipped in Joomla 3.4.1)
  
 
<noinclude>
 
<noinclude>
 
[[Category:Version 3.4.0 FAQ/en]]
 
[[Category:Version 3.4.0 FAQ/en]]
 
</noinclude>
 
</noinclude>

Revision as of 08:08, 22 March 2015

Other languages:
Joomla! 
3.4.0

在joomla3.4.0版本中安装扩展时出现 "没有选择文件,找不到扩展的XML文件"的错误信息,这是Joomla3.4.0的一个bug

错误信息

没有选择文件. 找不到安装的XML文件

(注意:这个错误信息也可能是其他的错误造成。 This is however the only UI error shown as a result of this issue that affects Joomla 3.4.0 ONLY)

受影响的版本

Info non-talk.png
General Information

This pertains only to Joomla! version(s):- 3.4.0

什么原因导致这个错误?

在3.4.0Joomla版本中,在JFile::upload函数中增加了额外的安全检查, 然而,在Joomla的扩展管理中这个安全性检查并没有禁用,因此,所有没有解压的文件都被认为是不安全的,因此不会被安装。

如何修复

确保你的zip文件都被正确的压缩

应用以下修补程序https://github.com/joomla/joomla-cms/pull/6180.patch (this will be shipped in Joomla 3.4.1)