2013-07-27 152 views
1

我已經安裝了joomla 3.1.4,我嘗試安裝一個插件,但是我得到這個錯誤: JInstaller :: Install:Can not找到的Joomla XML設置文件Joomla 3.1.4,JInstaller ::安裝:找不到Joomla XML安裝文件,錯誤

這是我的xml文件:

<?xml version="1.0" encoding="UTF-8"?> 
    <!DOCTYPE install PUBLIC "-//Joomla! 1.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.5/template-install.dtd"> 
    <extension version="3.1" type="plugin" group="content" client="myjoomlasite"> 
     <name>plg_content_helloworld</name> 
     <author>Tahsin Çetin</author> 
     <creationDate>July 27th,2013</creationDate> 
     <copyright>Tahsin Çetin</copyright> 
     <licence>GNU General Public License</licence> 
     <authorEmail>[email protected]</authorEmail> 
     <authorUrl>http://tahsincetin.com</authorUrl> 
     <version>1.1.0</version> 
     <description>Simple Hello World plugin</description> 
     <files> 
      <filename plugin="helloworld">helloworld.php</filename> 
      <filename>index.html</filename> 
      <filename>helloworld.xml</filename> 
     </files> 
    </extension> 

回答

1

「無法找到的Joomla XML設置文件」通常意味着你要安裝並非專門爲Joomla版本的延伸你正在安裝到。

更多here

3

你並不需要在你的XML file.Remove文件來指定「helloworld.xml」安裝一次。將是你最終的XML文件 -

<?xml version="1.0" encoding="UTF-8"?>  
    <extension version="3.1" type="plugin" group="content" client="myjoomlasite"> 
     <name>plg_content_helloworld</name> 
     <author>Tahsin Çetin</author> 
     <creationDate>July 27th,2013</creationDate> 
     <copyright>Tahsin Çetin</copyright> 
     <licence>GNU General Public License</licence> 
     <authorEmail>[email protected]</authorEmail> 
     <authorUrl>http://tahsincetin.com</authorUrl> 
     <version>1.1.0</version> 
     <description>Simple Hello World plugin</description> 
     <files> 
      <filename plugin="helloworld">helloworld.php</filename> 
      <filename>index.html</filename>     
     </files> 
    </extension> 

希望這將有所幫助。

+1

這是答案,應該標記爲這樣。 –

1

在您的開始<extension>標記中,您不需要指定客戶端屬性。

與您的ZIP包有關的XML文件在哪裏?如果它不在ZIP的頂層,則不會被找到。