RSS Feed Back Up & Running After XML Parsing Error In WordPress

by

After weeks off having no time to get any work done on the site, I decided to get this RSS feed working once again..

The Deadly occurrenceof that wordpress RSS feed message,

XML Parsing Error: XML or text declaration not at start of entity
< ?xml version="1.0" encoding="UTF-8"?>


This has haunted me, on and off for the last few months, I’ve tried all-sorts of various plugins, re-uploading a fresh copy of 3.1 along with the wp-admin & wp-includes folder, this still didnt work!!

Tonight I was reading some more and stumbled across an intresting piece(lost the bookmark) the fix, was to basically, download a copy of the ‘feed-rss2.php‘ (which is located inside the wp-includes folder), Open up the file and remove any white space, or check for white space which is located outside of the <?php brackets…

I’ve already tried a plugin, which was made to remove any white space, from all files across the entire install, while also backing up any file which has to be edited by the plugin, I did this, It returned a 0 error scan, after it finished fixing quite a few files…

So I opened my ftp editor, grabbed the file, removed any white space, not just outside the php tags, but also through-out the rest of the file, including the ending rss tag, (there was a few blank lines here) re-uploaded the file, JOB DONE!… the feed was back up in feedburner straight away!

Fantastic..

hopefully someone else with the same problem finds this easy fix and gets there feed working again…

UPDATE – !!
I spoke too bloody soon didnt I, The Feeds Broken again!!!
WILL THIS EVER GO AWAY

UPDATE 2 – !!
Its working again…

Tags: , ,

Leave a Reply

Advertisement

Tracker by Hobo-Web