Error! Could not find an XML setup file in the package.

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

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.
Locked
nuga
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jul 25, 2007 4:54 pm

Error! Could not find an XML setup file in the package.

Post by nuga » Wed Jul 25, 2007 5:04 pm

??? 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
:'(

User avatar
ianmac
Joomla! Virtuoso
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.

Post by ianmac » Wed Jul 25, 2007 5:11 pm

Is there an XML file in the package you tried to upload?

Ian

nuga
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jul 25, 2007 4:54 pm

Re: Error! Could not find an XML setup file in the package.

Post by nuga » Wed Jul 25, 2007 5:16 pm

I don´t know. The only thing I want is to install a new template and I got this error. 

User avatar
ianmac
Joomla! Virtuoso
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.

Post by ianmac » Wed Jul 25, 2007 5:18 pm

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

nuga
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jul 25, 2007 4:54 pm

Re: Error! Could not find an XML setup file in the package.

Post by nuga » Wed Jul 25, 2007 5:23 pm

Yes, the file is there and the first line says ()

freespirit
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Jul 31, 2007 2:01 am

Re: Error! Could not find an XML setup file in the package.

Post by freespirit » Tue Jul 31, 2007 2:10 am

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)...

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>

User avatar
ianmac
Joomla! Virtuoso
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.

Post by ianmac » Tue Jul 31, 2007 2:30 am

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

User avatar
jonflgiles
Joomla! Intern
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.

Post by jonflgiles » Tue Jul 31, 2007 3:14 pm

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.

butlertf
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Wed Jun 25, 2008 10:06 pm

Re: Error! Could not find an XML setup file in the package.

Post by butlertf » Mon Jul 07, 2008 5:30 pm

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.

User avatar
ianmac
Joomla! Virtuoso
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.

Post by ianmac » Mon Jul 07, 2008 5:55 pm

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.
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.

Are you installing locally or on a host?

Ian

butlertf
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Wed Jun 25, 2008 10:06 pm

Re: Error! Could not find an XML setup file in the package.

Post by butlertf » Mon Jul 07, 2008 6:04 pm

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.


Locked

Return to “Installation 1.5”