RSS Doesn’t Work – XML Parsing Error
-
Hello,
My blog’s http://best-anti-aging.com/blog/rss is not working. It gives we this error.
XML Parsing Error: xml declaration not at start of external entity
Location: http://best-anti-aging.com/blog/rss
Line Number 2, Column 1:<?xml version=”1.0″ encoding=”UTF-8″?><!– generator=”wordpress/2.3″ –>How do I fix this?
-
Fellas, I’m getting an XML Parsing Error as well.
http://woomeover.com/blog/feed/According to FeedValidator, it seems to be related to the blank line problem:
http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwoomeover.com%2Fblog%2F
As recommended, I checked all the files mentioned in this post and removed all blank lines:
http://validator.w3.org/feed/docs/error/WPBlankLine.htmlWhen I switch to the default theme, the RSS feed seems to work fine. How should I go about fixing this?
Thanks in advance for any advice you can provide.
hi. i had this error code in the feed validator result:
This feed does not validate.
* line 182, column 0: XML parsing error: <unknown>:182:0: junk after document element [help]
<script type=”text/javascript” language=”javascript”>
i really dont know what to do on how to fix this. i checked deleted all “blank lines” and deactivated all my plugins. still it isnt working. hoping for a reply soon. thanks in advance.
http://feedvalidator.org/check.cgi?url=http%3a%2f%2fphilippinereviewcenters.com%2ffeed%2f
regards,
jSame problem here…
Did all the steps mentioned above and nothing…
Funny how nobody has a solution for this one
I also had this problem, but I checked code in ALL my pages, and found a single blank line at the end of the index.php of the theme directory.
My advice…check ALL theme and main files for blank lines outside of the php tags.
I just checked every single file on my serv and no changes
this is what I get from w3c feed validator
Sorry This feed does not validate. * line 1, column 1: Blank line before XML declaration [help] ^ * line 38, column 2: Undefined entry element: thr:total (20 occurrences) [help] <thr:total>0</thr:total> ^I found the blank line in the “wp-feed.php” file — it was at the very end — highlight all the space after the last “?>” and delete it.
I had the same blank space but after fixing it nothing happened…
Same broken feeds…
=(
If there is any feed expert please let me know… I wish there was a plugin that checks every file for blank spaces
I’m having the same trouble:
Checked every php file I can find for the extra spaces and no luck.Tried removing all plugins and switching back to default theme, but no luck.
EDIT: I suspect this might have something to do with Permalinks not being the default. The RSS link is currently going to http://www.abletonartists.com/feed/ because Permalinks are set to ‘Day And Name’ (second option down in WP). My htaccess is writable though and I even updated it the manual way. The permalinks on posts etc. were fine – how can I kickstart the feed?
If plugins and themes didn’t do it, be sure to also check wp-config.php. Remember, not just spaces but empty lines as well. Nothing should be before the opening
<?phpnor after the file’s final?>Trust me i’ve gone through EVERY php file (see edit above though).
Weird thing was though – every file had an extra line after the closing ?> – why would this be? I didn’t open or edit any of these files and uploaded them as is from the default download.
I spent countless hours looking for blank lines and deleting a few here and there.
Then I noticed that the links to my RSS feeds were being generated as http://pepperspray.me/feed/ (notice the trailing slash at the end). In order for the feed to work correctly, it should be generated as http://pepperspray.me (no trailing slash at the end).
I went into my admin, and checked out my permalink settings. I removed the trailing slash from my custom permalink structure, and voila! My feed works like a charm now.
I don’t know if this helps you out or not, but it worked wonders for me.
Correction:
The last sentence of the second paragraph should read:
In order for the feed to work correctly, it should be generated as http://pepperspray.me/feed (no trailing slash at the end).
Sorry ’bout that.
Hey, thanks for the suggestion.
I did have trailing slash, and updated my permalinks accordingly – but no luck. š
What about something like this
Let me know what you think
I checked alls the files,,, but nothing.. the problem is the customize permalinks plugin… check it.. i found a blank at the end
The topic ‘RSS Doesn’t Work – XML Parsing Error’ is closed to new replies.