Page 1 of 1

No xml file with own module?

Posted: Thu Feb 02, 2006 4:39 pm
by freak
Hi fellows,

I'm currently busy on this tutorial. I succeed upto the uploading part. However, after the zip-file is uploaded, I get the error-message 'ERROR: Could not find a Joomla! XML setup file in the package.' . Eventhough I'm sure the xml as described in the tutorial exists in the zip file.

Who helps me out?

Regards,

Freak

Re: No xml file with own module?

Posted: Fri Feb 03, 2006 11:42 am
by freak
Hi,

I've found the error. It states the following in the tutorial for the xml file:

Code: Select all

<?xml version="1.0" ?>
<mosinstall type="module">
    <name>Related Items</name>
    <creationDate>19/Aug/2003</creationDate>
    <Author>Andrew Eddie</author>
    <copyright>This template is released under the GNU/GPL License</copyright>
    <authorEmail>eddieajau(at)users.sourceforge.net</authorEmail>
    <authorUrl></authorUrl>
    <version>1.0</version>
    <description>Shows related content items based on
        keywords in the meta key field</description>
     <files>
         <filename module="mod_relcontent">mod_relcontent.php</filename>
     </files>
</mosinstall>


Which is not valid, because cannot be closed with . So the valid xml code should be:

Code: Select all

<?xml version="1.0" ?>
<mosinstall type="module">
    <name>Related Items</name>
    <creationDate>19/Aug/2003</creationDate>
    <Author>Andrew Eddie</Author>
    <copyright>This template is released under the GNU/GPL License</copyright>
    <authorEmail>eddieajau(at)users.sourceforge.net</authorEmail>
    <authorUrl></authorUrl>
    <version>1.0</version>
    <description>Shows related content items based on
        keywords in the meta key field</description>
     <files>
         <filename module="mod_relcontent">mod_relcontent.php</filename>
     </files>
</mosinstall>


Anybody know where I can report this so it can be solved?

Regards,

Freak

Re: No xml file with own module?

Posted: Fri Feb 03, 2006 3:32 pm
by benedikt
freak wrote:Anybody know where I can report this so it can be solved?

If you report this in the documentation forum and add a link to this post, Michelle will pick it up and correct it on the help site.

Re: No xml file with own module?

Posted: Fri Feb 03, 2006 3:42 pm
by freak
benedikt wrote:
freak wrote:Anybody know where I can report this so it can be solved?

If you report this in the documentation forum and add a link to this post, Michelle will pick it up and correct it on the help site.


Okay, just done: link