Forums

Blog RSS is generating an error (5 posts)

  1. webspirited
    Member
    Posted 1 year ago #

    All the feeds on our blog are generating this error:

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://blog.webspirited.com/feed/
    Line Number 3, Column 1:<?xml version="1.0" encoding="UTF-8"?>

    This is because there are 2 empty lines before the <?xml version="1.0" encoding="UTF-8"?> tag at the start of the RSS document but I don't know what page generates the RSS so I can't have a go at fixing it myself.

    Can anyone help fix this problem?
    Our blog

  2. moshu
    Member
    Posted 1 year ago #

    It can be in a lot of places (I mean the empty lines)
    - the theme's functions.php
    - a plugin file
    - the short and sweet index file (in the root)

  3. webspirited
    Member
    Posted 1 year ago #

    Hmm...the entries rss seems to have fixed itself after the latest blog entry, but the comments rss still has empty spaces.

  4. Chris_K
    Administrator
    Posted 1 year ago #

    To continue what Moshu already said...

    Go through the mentioned files (and wp-config.php). In each file make sure that there's in nothing before the opening <?php and nothing after the final ?>. No spaces. No blank lines.

  5. flyaga
    Member
    Posted 10 months ago #

    Please try this plugin fix-rss-feed, it will fix your rss error automatically, and you can get more information from http://wordpress.org/extend/plugins/fix-rss-feed/, and you also can get help from the author website http://www.flyaga.info/en/wordpress/plugins/fix-rss-feed-error-wordpress-plugins.htm

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags