bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

fix to: RSS XML Parsing Error

(7 posts)
  • Started 11 months ago by oledole
  • Latest reply from ajg
  • This topic is not resolved
  1. oledole
    Member

    If anyone is having problems with RSS feeds in firefox and other browsers, like e.g. like below:

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://mysite/rss.php?profile=1
    Line Number 2, Column 1:<?xml version="1.0"?><!-- generator="bbPress" -->

    It might have to do with the plugin MoveIT. Disable it and your back in business. See this post for more info:
    http://bbpress.org/plugins/topic/48?replies=3

    Posted 11 months ago #
  2. Looks like there is just a little too much white space at the end of the plugin file.

    Open the plugin PHP file and go to the bottom and delete all the blank lines after the final closing PHP tag that looks like this... "?>"

    Posted 11 months ago #
  3. oledole
    Member

    Yep, that fixed it. Thanks!

    Posted 11 months ago #
  4. sambo
    Member

    I'm getting the error mentioned above. I've searched all the forums and can't find a fix. I don't have the above or any plugin loaded. Moreover it gives me the same error on the original theme and my modified theme.

    I also went and made sure that all the files that get included by rss.php don't have any white space after "?>". Hitting a brick wall. Anybody have any ideas?

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://www.room329.com/forum/rss/topic/4
    Line Number 1, Column 2: <?xml version="1.0"?><!-- generator="bbPress" -->
    -^

    Posted 9 months ago #
  5. ajg
    Member

    So how did you fix this problem?
    My bbPress and WordPress run on the same server.
    WP RSS feeds do not have that problem.

    All I get is:

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://www.ajakirigolf.ee/foorum/rss.php
    Line Number 2, Column 1:
    <?xml version="1.0"?><!-- generator="bbPress" -->
    ^

    I can not parse the forums RSS feed to other pages. :(

    Posted 6 months ago #
  6. Your rss2.php template possibly has additional space and a new line, <?xml version="1.0"?> should be send at first place (after http header), but it's not on your forum.

    Posted 6 months ago #
  7. ajg
    Member

    There is no additional space nor new line in front of the <?xml version="1.0"?> line in rss2.php

    This file is identical to the default (kakumei) theme rss2.php file
    I deleted the "old" and replaced it with the one from kakumei folder.

    And yes, I did upgrade to a newer version. ;)

    ----

    Update:

    It's fine now. :)
    We had this _blah.php file in my-plugins dir that had just a typed space in it. I deleted it and now the rss feed is fine.

    Thanks for all your help
    I deleted the space from file and it's fine now.

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.