The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Wed Jul 25, 2007 5:04 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jul 25, 2007 4:54 pm
Posts: 3
??? 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
:'(


Top
 Profile  
 
PostPosted: Wed Jul 25, 2007 5:11 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4785
Location: Toronto, Canada
Is there an XML file in the package you tried to upload?

Ian


Top
 Profile  
 
PostPosted: Wed Jul 25, 2007 5:16 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jul 25, 2007 4:54 pm
Posts: 3
I don´t know. The only thing I want is to install a new template and I got this error. 


Top
 Profile  
 
PostPosted: Wed Jul 25, 2007 5:18 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4785
Location: Toronto, Canada
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


Top
 Profile  
 
PostPosted: Wed Jul 25, 2007 5:23 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jul 25, 2007 4:54 pm
Posts: 3
Yes, the file is there and the first line says ()


Top
 Profile  
 
PostPosted: Tue Jul 31, 2007 2:10 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Jul 31, 2007 2:01 am
Posts: 1
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:
<?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@email.com</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>


Top
 Profile  
 
PostPosted: Tue Jul 31, 2007 2:30 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4785
Location: Toronto, Canada
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


Top
 Profile  
 
PostPosted: Tue Jul 31, 2007 3:14 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Fri Mar 24, 2006 4:58 pm
Posts: 92
Location: Derby, UK
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.


Top
 Profile  
 
PostPosted: Mon Jul 07, 2008 5:30 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jun 25, 2008 10:06 pm
Posts: 15
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.


Top
 Profile  
 
PostPosted: Mon Jul 07, 2008 5:55 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4785
Location: Toronto, Canada
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


Top
 Profile  
 
PostPosted: Mon Jul 07, 2008 6:04 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jun 25, 2008 10:06 pm
Posts: 15
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 



Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group