WordPress.org

Support

Support » Installation » RSS error, which file to fix?

RSS error, which file to fix?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Looks like a blank line at the beginning of the file. Probably it’s wp-rss2.php, but you might also check wp-rss.php, wp-commentsrss2.php, wp-rdf.php, or wp-atom.php.

    it can’t be…i replace all the files you stated with the files from my other blog which dont have this problem, but it still the same…

    It could well be a plugin.
    Try deactivating them one by one – but the feed is not updated unless you post so you may need to make a few test posts.

    Alternately, it could be a glitch of unknown origin – they happen with this error and it could just go away.

    Subscribe to your own feed. If you can read it, don’t worry.

    FWIW, I had been getting this error:

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://www.sportswebconsulting.ca/sportsbabel/index.php/feed/
    Line Number 1, Column 5: <?xml version=”1.0″ encoding=”UTF-8″?>
    —-^

    And it went away when I deactivated the Amazon Media Manager plugin…don’t know if that is any use to you or not.

    Got the same problem. Tried deactivating all plugins, but it didn’t help.

    Strange, though, because the feeds work in Bloglines and when I look at the source code, the xml declaration is there!

    `<?xml version=”1.0″ encoding=”UTF-8″?>
    <!– generator=”wordpress/2.0.2″ –>
    <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/”
    >

    One of my readers told me that we have an error because the xml declaration is not on the very first line, but on the second.

    I’ve tried editing wp-rss2.php to get rid of the extra line, but there’s actually nothing to take away. I guess the line is inserted from somewhere else. Uh, any clues where?

    I am having the exact same issue. Getting this error, and can’t figure out what is causing it. It crashes out like described in Firefox. In IE it displays the complete XML, but my feed reader can’t read it.

    This would most likely be dur to a “SPACE” or a “LINE BREAK” within your plugins/functions.php

    I had mine in between two functions.

    <?php } ?>

    <?php

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘RSS error, which file to fix?’ is closed to new replies.
Skip to toolbar