Loading...
 
Features / Usability

Features / Usability


Square Bracket Blowup

posts: 7

When I use a pair of square brackets surrounding something like: http://www.mysite.com, ( which is required to create an external link ), my page blows up with the following error:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


----------------------------

Only one top level element is allowed in an XML document. Error processing resource 'http://xyz.org/tiki/tiki-editpage.php'. Line 2, Position 2

Warning: strstr(): Empty delimiter. in /home/...

Has anyone else seen this happen? Any clues? It seems to work here as you can see from the example below. My site was set up with a canned install. Is there something in the admin pages that I need to turn on?????

Hopefully waiting,

Taichijunkie

example


posts: 11

Yeah the brackets messed up my site pretty bad once... Now I am afraid of 'em :-) I don't think any Wiki codes should be able to crash the site with errorsespecially when you usually don't know who will be using your Wikibut that's just me ;)

I'm sure there's a way to turn off this functionality... but that's above me.

posts: 7

> collectsart_com:
> Yeah the brackets messed up my site pretty bad once... Now I am afraid of 'em :-) I don't think any Wiki codes should be able to crash the site with errorsespecially when you usually don't know who will be using your Wikibut that's just me ;)
>
> I'm sure there's a way to turn off this functionality... but that's above me.
>
>

So you were never able to put external links on your site? I really don't want to have to dig into this. It sounds like a big learning curve.

I agree with you. The tiki product definitely should not blow up with a standard tag.

Do you know of anyone who could help me with this?

Regards,

Taichijunkie


posts: 7

> collectsart_com:
> Yeah the brackets messed up my site pretty bad once... Now I am afraid of 'em :-) I don't think any Wiki codes should be able to crash the site with errorsespecially when you usually don't know who will be using your Wikibut that's just me ;)
>
> I'm sure there's a way to turn off this functionality... but that's above me.
>
>

So you were never able to put external links on your site? I really don't want to have to dig into this. It sounds like a big learning curve.

I agree with you. The tiki product definitely should not blow up with a standard tag.

Do you know of anyone who could help me with this?

Regards,

Taichijunkie


posts: 1

I have some info on this:

1) It happened to me on my host (Hostony) after installing Tiki 1.8.2 via Fantastico
2) It did NOT happen to me on the same host after manually installing Tiki 1.7.7
3) It happened again when installing manually Tiki 1.8.3

My subjective impression is that in tikilib.php on line 4175 (for version 1.8.3) you find the statements:

if $link, $_SERVER%22SERVER_NAME%22
{
$target = '';
}

$link contains you URL (e.g. http://www.simitel.com) and I assume that SERVER_NAME should contain your hostname or something similar. Except it is empty, and this breaks the statements in the way you discovered.

I do not know where SERVER_NAME is set, so I just commented out these lines and Tiki 1.8.3 works perfectly for me (in basic conditions of use, no extensive testing performed).

Serge Kruppa

posts: 2881 United Kingdom

The XML error is usually caused when both in php.ini the compression is one and also in Admin->General and you use Internet Explorer.

Especially with 1.8.x as the Default profile has the tiki compression on by default


Damian


posts: 2881 United Kingdom

The XML error is usually caused when both in php.ini the compression is one and also in Admin->General and you use Internet Explorer.

Especially with 1.8.x as the Default profile has the tiki compression on by default


Damian


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