• sgerber

    (@sgerber)


    I’m having trouble getting any syndication feed to work from my site. . Whether it’s Atom or either version of RSS, the feeds seem to generate a message like this:

    Warning: Cannot modify header information – headers already sent by (output started at /home/.orloff/sgerber/stevegerber.com/sgblog/index.php:9) in /home/.orloff/sgerber/stevegerber.com/sgblog/wp-atom.php on line 10

    Different filenames and line citations for RSS 2.0 and .92, but otherwise the same message.

    I’m lost. Can anybody possibly translate this for me?

    Thanks in advance…!

Viewing 11 replies - 1 through 11 (of 11 total)
  • gisli

    (@gisli)

    Seen this post?
    Worked for me.
    I’d suggest downloading the updated wp-blog-header.php file instead of trying to correct the code, and drop that in your blog’s directory:

    http://trac.wordpress.org/file/trunk/wp-blog-header.php?rev=2378&format=raw

    Thread Starter sgerber

    (@sgerber)

    Just installed the new wp-blog-header.php file.

    Didn’t help. Thanks for the attempt, though.

    By the way, if anyone wants to see what happens from the site itself, click here.

    ColdForged

    (@coldforged)

    What’s in your index.php file. It seems non-standard. Can you post it here and post the link to it here?

    Thread Starter sgerber

    (@sgerber)

    Coldforged, the index.php file is posted here:

    http://paste.uni.cc/6954

    Thanks for helping with this.

    (Note: This is the index.php in my main blog directory.)

    ColdForged

    (@coldforged)

    Is that your template index.php or the main index.php at the root of your installation? I was requesting your main, root index.php.

    Thread Starter sgerber

    (@sgerber)

    Coldforged,

    Yes, that’s the index.php from my main blog directory. (It’s not the root directory of my site.)

    The index.php for the theme is here:
    http://paste.uni.cc/6956.

    Did you notice something strange about the main index file?

    ColdForged

    (@coldforged)

    Ew. Yeah, that’s likely the problem. See, if I pull your feed directly from the wp-rss2.php file, it looks fine. But the redirect — which goes through the root index.php — is toast.

    That index.php should look like so:

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    And that’s it. You’re actually not even getting to your theme’s index.php. The root one is merely a kicking off point and shouldn’t contain any of your “content”.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Follow the instructions here: http://codex.wordpress.org/Answers-Trouble_Shooting#Headers_already_sent (hint, the problem is on line 9 of /sgblog/index.php)

    Thread Starter sgerber

    (@sgerber)

    Re the index.php seems to have worked. I can get RSS feeds in both Firefox and Maxthon (another browser I use) now.

    Everybody — THANK YOU!

    One oddity remains. I’ve tried to add the feed to my “My Yahoo” page. (I’ve done this with one other WordPress blog, and it’s hugely convenient.) Yahoo finds the feed, but the most recent post it seems able to find is over two weeks old. Anybody know what could be causing that?

    ColdForged

    (@coldforged)

    Yahoo being ding-dongs? Seriously, if your feed is okay it’s just a matter of the various syndication sites updating on their schedule. They all have different ones.

    Thread Starter sgerber

    (@sgerber)

    Hunh.

    Okay. Interesting. The other blog I added appeared immediately. We’ll see what happens.

    Thanks again, Coldforged, macmanx, gisli, for all the help. It’s truly appreciated…and acknowledged.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Feed problems’ is closed to new replies.