Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


editing templates

posts: 79 United States

When I try to edit a template in tikiwiki and click on save I get this error:
<b>Only one top level element is allowed in an XML document. Error processing resource 'http://webnet.corp.ptd.net/~travisr/tiki2/tiki-edit_templates.php'. Line 2, Position 2
</b>

Can anyone help me understand how to fix it.

posts: 2881 United Kingdom

Hi

That unfortunately tells us nothing, except your using Internet Explorer.

So the best thing to do is to look in the Apache Error logs for a clue, or use Firefox which will show a proper error message instead of XML junk.


--
Damian
http://tikihost.net


posts: 79 United States

ok, after the error message displays on the screen I get this message:

Warning: fopen(templates/tiki-top_bar.tpl): failed to open stream: Permission denied in /home/netman/travisr/public_html/tikilight_1.8.4/tiki-edit_templates.php on line 45
-^



posts: 3665 United States

You need to set the properties for the file (or full TEMPLATES directory) to 7-7-7 in order to allow write-access. See Step #5 for details.

HTH,

-Rick