Link to home
Start Free TrialLog in
Avatar of jasotasticon
jasotasticon

asked on

joomla custom template error

I keep getting the message:

XML Parsing Error at 1:1. Error 4: not well-formed (invalid token)

...but then the template installs successfully and it says:

"Install Template Success"

and then in my template page in the parameters section it says:

The parameter file /templates/pcia2010/params.ini is unwritable!

what am I missing here?

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 1.5//DTD template 1.0//EN"
 "http://dev.joomla.org/xml/1.5/template-install.dtd">
<install version="1.5" type="template">
        <name>pcia2010</name>
        <creationDate>10/23/09</creationDate>
        <author>Jason Mathews Gottlieb</author>
        <authorEmail>jason@fuszion.com</authorEmail>
        <authorUrl>http://www.fuszion.com</authorUrl>
        <copyright>2009 Fuszion.com</copyright>
        <license>Fuszion.com</license>
        <version>1.0.0</version>
        <description>Interior pages for PCIA 2010</description>
        <files>
				<filename>index.php</filename>
				<filename>templateDetails.xml</filename>
				<filename>template_thumbnail.png</filename>
                <filename>css/default.css</filename>
				<filename>images/pcia_00.jpg</filename>
				<filename>images/pcia_01.jpg</filename>
				<filename>images/pcia_02.jpg</filename>
				<filename>images/pcia_03.jpg</filename>
				<filename>images/pcia_04.jpg</filename>
				<filename>images/pcia_05.jpg</filename>
				<filename>images/pcia_06.jpg</filename>
				<filename>images/pcia_07.jpg</filename>
				<filename>images/pcia_08.jpg</filename>
				<filename>images/pcia_09.jpg</filename>
				<filename>images/pcia_bar.jpg</filename>
        </files>
        <positions>
				<position>optional</position>
                <position>top</position>
                <position>left</position>
                <position>righta</position>
                <position>rightb</position>
                <position>bottom</position>
        </positions>
</install>

Open in new window

Avatar of Jornak
Jornak
Flag of Canada image

Have you tried changing the write permissions on params.ini in that path?
Avatar of jasotasticon
jasotasticon

ASKER

Jornak,

Well, I was trying to install it without the error in the first place, and since that file doesn't even exist until after the install. I feel like I would still be missing something. Right? or should I just ignore the error message and try and fix the parameter file thing?
Ignore the message and change the write permissions on params.ini; let's just see what happens after.
That file does not seem to be visible to me?
ASKER CERTIFIED SOLUTION
Avatar of Notexa
Notexa
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Notexa,

Seems like that worked... However, it's a little disconcerting that I had to go through those extra steps.

Is there a way I can avoid that in the future? Do you know what specifically was wrong with my XML code?

- J
The only thing I can see that might cause a problem is the doctype line.But even this shouldn't give problems with the params.ini file.  This file is automatically created by Joomla when you save the template parameters. Maybe Joomla doesn't get write rights when a new directory is created on your server ?
Notexa,

Ah, ok. Well thank for your help!
Thanks!!