RSS error

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

RSS error

Post 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
chickens
Regular
Posts: 192
Joined: Wed Dec 06, 2006 12:15 am
Location: Vegas
Contact:

Post 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 ?>
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply