SliTaz SliTaz Forum

You are not logged in.

#1 2017-05-25 21:56:55

alexx
Member
Registered: 2015-11-14
Posts: 49

forum problem

Some php problem with parse XML

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /*/get-feeds.php:100 Stack trace: #0 /*/get-feeds.php(100): SimpleXMLElement->__construct('<?xml version="...') #1 /*index.php(98): get_feed_forum('forum.xml') #2 {main} thrown in /*get-feeds.php on line 100

Offline

#2 2017-05-26 09:43:33

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: forum problem

Hi,

The problem was in this post. It contained illegal characters:

esc-chars.png

I believe this problem reproduced in the some rare cases, while using SliTaz 4.

Just some terminal emulator allows to copy esc-characters to the clipboard, or some web browser allows to paste these characters to the input field. Forum engine don't filter these characters that violates the XML-based RSS content.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.52 MiB (Peak: 1.77 MiB) ]