Forums

[resolved] Default RSS feed dead since upgrading to WordPress 2.7.1 (14 posts)

  1. karcher
    Member
    Posted 3 years ago #

    I upgraded to 2.7.1 yesterday. I replaced my theme as the original wasn't 2.7 compatible. Everything went great and seemed to be working until I realized my default RSS feed had died.

    I've since reverted to the default WordPress theme and disabled all plugins. However, I still get the following error in Firefox (Safari and Google seem to pull in the feed just fine):

    XML Parsing Error: not well-formed
    Location: http://www.katrinaarcher.com/journal/?feed=rss2
    Line Number 1, Column 1:

    After running the feed through feedvalidator.org, this is what I get:

    Sorry

    This feed does not validate.

    line 1, column 0: XML parsing error: <unknown>:1:0: not well-formed (invalid token) [help]

    <?xml version="1.0" encoding="UTF-8"?>

    Source: http://www.katrinaarcher.com/journal/?feed=rss2

    <?xml version="1.0" encoding="UTF-8"?> <--- It seems to not like this line? I can't tell what's malformed about it
    <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/"
    >

  2. Jay Versluis
    Member
    Posted 3 years ago #

    I have this problem with one of my sites too - I can't get my feed to validate no matter what I do. Strangely, this isn't theme dependant, I get it no matter which theme I select.

    There are various feeds available, try them all and see if any of them validate:

    /feed/
    /feed/rss/
    /feed/atom/

    There's one more which I can't remember.

  3. karcher
    Member
    Posted 3 years ago #

    When I view the page source from my feed, it looks like this:

    <?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/"
    	>

    When I view the page source from another site's working feed, it looks like this:

    <?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:media="http://search.yahoo.com/mrss/"
    	>

    The only difference between the two in Firefox's page source viewer is that mine is shown with syntactic highlighting and the working feed is not (plus the working feed has an extra git about yahoo search, but I figure that's not relevant).

    I'm almost suspecting some weird line feed or carriage return problem. Because I can see no relevant difference between the working code and mine.

  4. karcher
    Member
    Posted 3 years ago #

    Oh, and to answer the question, the other feeds seem borked as well. So is my comments feed.

    Although I don't know what application to use to "view" an atom feed.

  5. Chris_K
    Member
    Posted 3 years ago #

    @karcher - View Source on your feed and look closer at the very beginning.

    <?xml version="1.0" encoding="UTF-8"?>

    All them spaces before the <?xml are your first main issue that needs to be fixed. Check any files that you may have recently edited (theme files, wp-config.php for instance) and make sure you have no white spaces (or line feeds) before the opening <?php or after the final ?> marks.

  6. karcher
    Member
    Posted 3 years ago #

    Well, validator.w3.org says all my feeds are valid.

    Not sure why firefox, feedvalidator and other apps pulling my feed into places like facebook don't like it.

  7. Chris_K
    Member
    Posted 3 years ago #

    well crud, the post editor here ate all my leading spaces in my earlier reply. Guess you'll have to trust me ;-)

  8. Chris_K
    Member
    Posted 3 years ago #

    fixed now, I see.

  9. karcher
    Member
    Posted 3 years ago #

    Yep. Before I saw your post I saw another response to a different mal-formed xml problem that mentioned the wp-config. I had edited it through my ftp app, which I *won't* be doing again.

    I re-started with the 2.7.1 wp-config-sample.php, edited for my data, and re-uploaded it, and that seemed to fix the problem. Although Firefox continued to whine until I restarted it.

    Thanks!

  10. loowit
    Member
    Posted 3 years ago #

    I'm having the same problem that people are describing here about the parsing error related to having a blank first line.

    But I don't know where, in all of the wp or theme files, this file is located so that it can be fixed. Can someone tell me where it is located?

  11. Chris_K
    Member
    Posted 3 years ago #

    deja vu:

    Check any files that you may have recently edited (theme files, wp-config.php for instance) and make sure you have no white spaces (or line feeds) before the opening <?php or after the final ?> marks.

  12. loowit
    Member
    Posted 3 years ago #

    I think I've opened every file in wp and in the them and can't find what the feed validator is saying.

    1.
    2. <?xml version="1.0" encoding="UTF-8"?>
    3. <rss version="2.0"
    4. xmlns:content="http://purl.org/rss/1.0/modules/content/"
    5. xmlns:wfw="http://wellformedweb.org/CommentAPI/"

    [moderated: removed all the code]

    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.gbdesignconnection.com%2Fblog1%2Ffeed

    Is there something in that feed validator that identifies the file?

    I'm sorry, I've looked through again and again. Just feeling really dumb. If anyone can list out the file extension that would be great.

  13. Chris_K
    Member
    Posted 3 years ago #

    Did you notice the blank line 1 in what you pasted? That's what is causing your error.

    No, nothing in feedvalidator will tell you exactly what file to change. You either did this to one of your theme files or to wp-config.php (as noted multiple times already in this thread). If you've uploaded any plugins recently you'll want to check them too.

    Try changing your theme to the Default theme. Does the problem persist? If so, then check your wp-config.php or plugins. If the problem goes away then check your theme files (located under /wp-content/themes/YourThemesName)

  14. loowit
    Member
    Posted 3 years ago #

    Okay, I found the problem by going through the plugins. My server is yahoo and it installed some plugins from the beginning. When I upgraded to Atahualpa theme, something must not work anymore.

    The plugin is somehow not editable. So I deactivated it.

    It was called

    Customizable Permalinks 1.0 from Yahoo Webhosting
    Help drive and retain traffic to your site with the Customizable Permalinks plug-in, which enables you to give your readers easily understandable, static web addresses (URLs) for your pages. Customized permalinks make it easier for your readers to bookmark and share your blog posts. By Yahoo! Web Hosting.

    Thanks, and sorry I missed it the first time through all the plugins. Thank you for the help.

Topic Closed

This topic has been closed to new replies.

About this Topic