Page 1 of 1

RSS error

Posted: Sat Oct 13, 2007 10:33 am
by holysjit
Hi,

when I click in the sidebar on one of this links: XML RSS 0.91 feed
XML RSS 1.0 feed
I get this error:

Code: Select all

XML-parsefout: XML-declaratie niet aan begin van externe entiteit
Locatie: http://www.thejokersweblog.nl/feeds/index.rss1
Regelnummer 2, kolom 1:<?xml version="1.0" encoding="utf-8" ?>
^
Sorry, it's partly dutch.

What did I do wrong?

Thanks

Posted: Sat Oct 13, 2007 11:06 am
by chickens
You have a newline (enter) before the start of the start of the RSS feed. Usually this is in the language file somewhere. It could be at the very start or end.

To fix this get rid of anything before <?php and after ?>

Posted: Sun Oct 14, 2007 1:13 pm
by garvinhicking
Hi!

Mostly this happens if you have manually edited any of the serendipity PHP files with an editor. Check all the files you touched.

Regards,
Garvin

Posted: Mon Oct 15, 2007 12:58 pm
by holysjit
Check all the files you touched.
I touched too much files. I need hours to find the problem. At which file is it the smartest to start with?

Posted: Mon Oct 15, 2007 1:44 pm
by garvinhicking
Hi!
holysjit wrote:
Check all the files you touched.
I touched too much files. I need hours to find the problem. At which file is it the smartest to start with?
The files you last modified, work from the most recent timestamp downwards.

First search for "<?php" and check if you have any blank spaces before that. Then search for "?>" and check if you have any blank spaces after that.

Regards,
Garvin