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


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting