Forums

[resolved] My RSS fed is broke - XML Parsing Error: (11 posts)

  1. MrBlank
    Member
    Posted 2 years ago #

    I just realized that my feeds are broken. I'm using the Feedburner plug-in and when I go to my feed on feedburner, I get this error:

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://feeds.feedburner.com/joshnichols
    Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?>
    ^

    It's strange, when I deactivate the feedburner plug-in it still forwards to feedburner.

    I did just install the Simplepie RSS plug-in, but I removed it and I still got the error.

    My blog is: http://joshnichols.com (feed links in footer)
    My feeds are: http://feeds.feedburner.com/joshnichols and http://feeds.feedburner.com/joshnichols-comments

    Thanks!

  2. samboll
    Moderator
    Posted 2 years ago #

    Feedburner modifies the .htaccess file, so when you deactivate it, you need to look at that.
    Here are the results from the feed validator:
    http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fjoshnichols.com%2Ffeed#l2
    For some reason your line 1 is blank - everything should be moved up one line.

  3. Otto42
    Moderator
    Posted 2 years ago #

    Feedburner modifies the .htaccess file

    Huh? No it doesn't. At least, the plugin that Feedburner recommends from their page doesn't.

    http://orderedlist.com/wordpress-plugins/feedburner-plugin/

    If you still see the redirect after disabling this plugin, that's because your browser is caching the redirect (betcha didn't know a browser could do that, huh?). Clear your browser cache and/or restart the browser to not see the redirect.

  4. MrBlank
    Member
    Posted 2 years ago #

    Otto42, I didn't know a browser would do that! thanks. I did use the plug-in Feedburner recommends.

    BUT - My feeds still have an extra blank line at the top, so they still don't work. What would cause the extra blank line?

  5. MrBlank
    Member
    Posted 2 years ago #

    FYI: I found some similar posts about this before and I have removed all extra space before and after my plug-in files. I have also tried disabling all plug-ins, but I still have the error.

  6. Otto42
    Moderator
    Posted 2 years ago #

    Check your wp-config.php file. That's a prime candidate for having an extra blank line at the top or bottom of the file. Same goes for your theme's functions.php file, if you have one.

  7. samboll
    Moderator
    Posted 2 years ago #

    @ Otto42:
    "Huh? No it doesn't. At least, the plugin that Feedburner recommends from their page doesn't."

    The plugin I'm using does from here:
    http://orderedlist.com/wordpress-plugins/feedburner-plugin/
    However, I still use v2.0.2 of the plugin - it seems I should upgrade to 2.2 as it does it without the .htaccess.

  8. MrBlank
    Member
    Posted 2 years ago #

    wp-config.php and functions.php are clear of extra linespace at the top and bottom.

    Could this be a database issue? If not, I might just remove my wordpress install and reinstall it. I'm almost out of other options. :-(

    If you guys have any other ideas, let me know. Thanks for the help!

  9. MrBlank
    Member
    Posted 2 years ago #

    Also, I am using the Orderedlist.com plug-in. The options screen was giving me an error (of course, I didn't write it down - rats!) with the 2.1 version so I upgraded to 2.2 and it stopped giving the error.

    At the moment, the plug-in is deactivated.

  10. Otto42
    Moderator
    Posted 2 years ago #

    Could this be a database issue?

    No. It's almost certainly some file, somewhere, with an extra blank line in it. Finding what file, is, of course, the tricky bit.

    But it's *extremely* unlikely to be anything else.

  11. MrBlank
    Member
    Posted 2 years ago #

    Oh snap! I checked over every Wordpress file and it was right where the other posts said to look. Duh!

    There it was in my Amazon Media Management amm_extras.php file. I created another AMM template last week and there was an extra <?php ?> between the templates. It wasn't at the end of the file, but in the middle, so I'm not that dumb. ;-) I removed it and my feeds now work.

    Strange how that one little thing breaks the RSS but not my php template. Oh, well.

    Thanks, you guys for the help. I appreciate it!

Topic Closed

This topic has been closed to new replies.

About this Topic