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 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
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>
Have you tried changing the write permissions on params.ini in that path?
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?
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.
ASKER
That file does not seem to be visible to me?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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 ?
ASKER
Notexa,
Ah, ok. Well thank for your help!
Ah, ok. Well thank for your help!
ASKER
Thanks!!