Error! Could not find an XML setup file in the package.
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Jul 25, 2007 4:54 pm
Error! Could not find an XML setup file in the package.
Hi, I just installed joomla 1.5, and I am trying to install a new template for joomla 1.5 and I got this error.(Error! Could not find an XML setup file in the package. ) What can I do. where is that setup package
- ianmac
- Joomla! Virtuoso
- Posts: 4784
- Joined: Sat Sep 24, 2005 11:01 pm
- Location: Toronto, Canada
Re: Error! Could not find an XML setup file in the package.
Is there an XML file in the package you tried to upload?
Ian
Ian
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Jul 25, 2007 4:54 pm
Re: Error! Could not find an XML setup file in the package.
I don´t know. The only thing I want is to install a new template and I got this error.
- ianmac
- Joomla! Virtuoso
- Posts: 4784
- Joined: Sat Sep 24, 2005 11:01 pm
- Location: Toronto, Canada
Re: Error! Could not find an XML setup file in the package.
But you should have a zip archive with the new template you want to install. Open it up, and look for a file called templateDetails.xml.
Ian
Ian
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Jul 25, 2007 4:54 pm
Re: Error! Could not find an XML setup file in the package.
Yes, the file is there and the first line says ()
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Jul 31, 2007 2:01 am
Re: Error! Could not find an XML setup file in the package.
Hey,
Don't know whether you've fixed this problem already but thought I'd try to help..
Just ran across a similar problem then realised I'd miscoded the xml file.
If there's a fault in the code, Joomla seems to think that the whole file is missing or invalid.
My error was due to a missing < in a filename tag. You might want to check that all the tags are valid
The templateDetails.xml code should look something like this (replacing all the dumb names with the actual filenames etc)...
Don't know whether you've fixed this problem already but thought I'd try to help..
Just ran across a similar problem then realised I'd miscoded the xml file.
If there's a fault in the code, Joomla seems to think that the whole file is missing or invalid.
My error was due to a missing < in a filename tag. You might want to check that all the tags are valid
The templateDetails.xml code should look something like this (replacing all the dumb names with the actual filenames etc)...
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<mosinstall type="template">
<name>Template Name</name>
<creationDate>July 2007</creationDate>
<author>Authors name</author>
<copyright>Copyright 2007 Whoever</copyright>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.templatedesigner.com</authorUrl>
<version>1.0</version>
<description>Template for the such and such website. </description>
<files>
<filename>index.php</filename>
<filename>templateDetails.xml</filename>
</files>
<images>
<filename>images/image1.jpg</filename>
<filename>images/image2.jpg</filename>
<filename>images/image3.jpg</filename>
<filename>template_thumbnail.png</filename>
</images>
<css>
<filename>css/template_css.css</filename>
</css>
</mosinstall>
- ianmac
- Joomla! Virtuoso
- Posts: 4784
- Joined: Sat Sep 24, 2005 11:01 pm
- Location: Toronto, Canada
Re: Error! Could not find an XML setup file in the package.
Yes, the file must be valid XML in order for Joomla! to process it.
Opening the xml file in firefox is a good way to determine its XML validity, as Firefox will check it.
Ian
Opening the xml file in firefox is a good way to determine its XML validity, as Firefox will check it.
Ian
- jonflgiles
- Joomla! Intern
- Posts: 92
- Joined: Fri Mar 24, 2006 4:58 pm
- Location: Derby, UK
Re: Error! Could not find an XML setup file in the package.
Ian - that is a genius tip - I have no idea why I didn't think of doing that before!!!!
I've got stuck doing this before and it came down to a typo.
Cheers,
Jon.
I've got stuck doing this before and it came down to a typo.
Cheers,
Jon.
-
- Joomla! Apprentice
- Posts: 15
- Joined: Wed Jun 25, 2008 10:06 pm
Re: Error! Could not find an XML setup file in the package.
I am running into the problem of loading a template onto joomla 1.5.3 also and was wondering if you could help. There is a xml file in the template folder, but i still get the "Error! Could not find an XML setup file in the package." When I run it through firefox I get this message "This XML file does not appear to have any style information associated with it. The document tree is shown below." Is that a huge problem? I bought this template so I thought everything would be perfect. Thanks for your help and time.
- ianmac
- Joomla! Virtuoso
- Posts: 4784
- Joined: Sat Sep 24, 2005 11:01 pm
- Location: Toronto, Canada
Re: Error! Could not find an XML setup file in the package.
One would not expect there to be styling information associated with an intallation XML file. Stylesheets for XML files are used for display purposes. Since these XML files are not intended for display using a browser, style information is not provided.butlertf wrote:I am running into the problem of loading a template onto joomla 1.5.3 also and was wondering if you could help. There is a xml file in the template folder, but i still get the "Error! Could not find an XML setup file in the package." When I run it through firefox I get this message "This XML file does not appear to have any style information associated with it. The document tree is shown below." Is that a huge problem? I bought this template so I thought everything would be perfect. Thanks for your help and time.
Are you installing locally or on a host?
Ian
-
- Joomla! Apprentice
- Posts: 15
- Joined: Wed Jun 25, 2008 10:06 pm
Re: Error! Could not find an XML setup file in the package.
I am trying to load it to a localhost. The hosting company I am using is Aplus.net. They would not update the 1.0.15 joomla they have installed on their control panel, so I created a directory for the joomla 1.5.3 and it seems to work fine. I was able to install a free template, so I know it is possible to do so. I just do not understand why this one isn't. The template is made for Joomla 1.5.