-
AuthorPosts
-
December 27th, 2013 at 18:10 #15070Rick H
On the feed page http://www.jerrypournelle.com/chaosmanor/feed/ , showing an error “XML Parsing Error: XML or text declaration not at start of entity”.
Looks like the cause is a blank line before the beginning code:
<?xml version=”1.0″ encoding=”UTF-8″?>
<rss version=”2.0″
xmlns:content=”http://purl.org/rss/1.0/modules/content/”
xmlns:wfw=”http://wellformedweb.org/CommentAPI/”
xmlns:dc=”http://purl.org/dc/elements/1.1/”
xmlns:atom=”http://www.w3.org/2005/Atom”
xmlns:sy=”http://purl.org/rss/1.0/modules/syndication/”
xmlns:slash=”http://purl.org/rss/1.0/modules/slash/”
>Where is this blank line generated; how to fix the RSS feed error?
Thanks…Rick…
January 4th, 2014 at 17:31 #15443ZedCryout Creations mastermindYour entire site seems to be having some extra empty lines. This is most likely caused by invalid EOL conversions.
Are you using Windows-based hosting?If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.January 5th, 2014 at 05:15 #15463RickHosting is provided by BlueHost; they are not Windows-based, I believe.
Wordpress is at latest version. Not sure where the problem is, but RSS was ok with prior theme.
Where to start looking?
January 5th, 2014 at 05:47 #15465RickFound the problem. The googles reminded me that blank spaces/lines after the ‘?>’ at the end of a file can cause problems.
So, the themes-styles.php file had some extra spaces after the ‘close-php’ code. I removed that, and the RSS feed is now working.
It may be that I had edited that file in the admin-editor, and the extra lines were added. I’d have to look at the original theme files to see if there are the extra spaces there.
But, for others that might have this problem; check any modified theme files for extra spacing or blank lines after the ‘close-php’ code.
…Rick…
January 10th, 2014 at 13:11 #15724ZedCryout Creations mastermindThe extra empty line was there in the original theme file as well. Thanks for pointing that out. It’s fixed for the next update.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic. -
AuthorPosts
The topic ‘RSS Feed Error’ is closed to new replies.