No xml file with own module?

If you have any 'mechanical' forum or Joomla! sites related issues/suggestions with forum.joomla.org.
Locked
freak
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Sun Jan 08, 2006 5:57 pm

No xml file with own module?

Post by freak » Thu Feb 02, 2006 4:39 pm

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

freak
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Sun Jan 08, 2006 5:57 pm

Re: No xml file with own module?

Post by freak » Fri Feb 03, 2006 11:42 am

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

User avatar
benedikt
Joomla! Explorer
Joomla! Explorer
Posts: 346
Joined: Mon Aug 22, 2005 2:29 pm
Location: Gent - Belgium

Re: No xml file with own module?

Post by benedikt » Fri Feb 03, 2006 3:32 pm

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.

freak
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Sun Jan 08, 2006 5:57 pm

Re: No xml file with own module?

Post by freak » Fri Feb 03, 2006 3:42 pm

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


Locked

Return to “Sites & Infrastructure - Feedback/Information”