After I make com_mycomponent.zip file and try to install it, it tells ERROR: Could not find a Joomla! XML setup file in the package.
But strange is that it is installed without problems on my localhost Joomla! and the same Joomla! version on the hosting return the error.
This is file structure
Code: Select all
+-com_google.zip
|+-com_google
||+-tmpl
|||-index.html
|||-main.html
|||-hello.html
|||-....html
||-admin.google.php
||-google.xml
||-*.google.php
||-admin.google.html.php
Code: Select all
<?xml version="1.0" ?>
<mosinstall type="component" version="1.0">
<name>Google</name>
<creationDate>15/01/2006</creationDate>
<author>Ñåðãåé Ðîìàíîâ</author>
<copyright>(C) 2005 Çàùèùåíî.</copyright>
<license></license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>http://www.poisk.kg</authorUrl>
<version>1.1</version>
<description>Ýòîò êîìïîíåíò ðàçðàáîòàí ñïåöàëüíî äëÿ ïîèñêà ïî êèðãèçñêèì ñàéòàì</description>
<files>
<filename>index.html</filename>
<filename>google.class.php</filename>
<filename>google.html.php</filename>
<filename>google.php</filename>
<filename>tmpl/index.html</filename>
<filename>tmpl/hello.html</filename>
<filename>tmpl/main.html</filename>
<filename>tmpl/search.html</filename>
</files>
<!--
<installfile>install.mycomponent.php</installfile>
<uninstallfile>uninstall.mycomponent.php</uninstallfile>
-->
<params>
<param name="pageclass_sfx" type="text" size="20" default="" label="Page Class Suffix" description="A suffix to be applied to the css classes of the page, this allows individual page styling" />
<param name="page_title" type="radio" default="1" label="Page Title" description="Show/Hide the Page title">
<option value="0">Hide</option>
<option value="1">Show</option>
</param>
<param name="key" type="text" size="32" default="" label="Google Key" description="Your Google Key. If you do not have get new one at http://www.google.com/apis/" />
</params>
<administration>
<menu>Google</menu>
<submenu>
<menu task="customize">Customize</menu>
</submenu>
<files>
<filename>index.html</filename>
<filename>config.php</filename>
<filename>admin.google.html.php</filename>
<filename>admin.google.php</filename>
<filename>toolbar.google.html.php</filename>
<filename>toolbar.google.php</filename>
<filename>tmpl/index.html</filename>
<filename>tmpl/customization.html</filename>
<filename>tmpl/main.html</filename>
</files>
</administration>
</mosinstall>