By ravipjoshi on
I keep getting a reoccuring feed error for my site (fairworld.info) whenever I try to access the RSS feed.
Safari can’t open the page “feed://www.fairworld.info/node/feed”. The error was: “unknown error” (NSURLErrorDomain:-1)
is what I get in Safari
XML Parsing Error: xml declaration not at start of external entity
Location: http://fairworld.info/node/feed
Line Number 5, Column 1:<?xml version="1.0" encoding="utf-8"?>
^
is what I get with Firefox.
At first I thought it was having difficulty parsing my flexinode entry (for which I had designed a special template), but alas no! What's the deal?
Comments
And this is the output
Note: there's a lot of whitespace (linefeeds ASCII 10: the problem?) preceding the text; I had to add ASCII 255 to keep this intact for posting.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
So considering that it WAS
So considering that it WAS working before... and now it has this whitespace... or possibly a bad declaration. Any ideas on how I would fix it?
is there a file that I need to edit?
Does anybody have an idea as
Does anybody have an idea as to fix this?
I suspect there is some code that is making this whitespace occur, and I have no idea how to remedy this
Caused by line breaks after ?> in template.php or in a module
I had the same problems and it turns out that it is caused by linebreaks after a closing ?> in either template.php or in one of your enabled modules. In my case it was caused by four linebreaks that I must have added by mistake to my template.php file. Read more about this in http://drupal.org/node/83603