• OK. I give up.

    For all 3 kinds of Entries RSS, I get the same error:

    Warning: main(wp-blog-header.php): failed to open stream: No such file or directory in /home/jtvbhyra/public_html/feed/rss2/wp-rss2.php on line 5

    Warning: main(wp-blog-header.php): failed to open stream: No such file or directory in /home/jtvbhyra/public_html/feed/rss2/wp-rss2.php on line 5

    Fatal error: main(): Failed opening required ‘wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/jtvbhyra/public_html/feed/rss2/wp-rss2.php on line 5

    I’ve updated wp-blog-header.php and I’ve disabled and re-enabled all my plugins multiple times (my blog is even now getting riddled with spam via a disabled spam Karma), but I can’t get the Entries RSS to pull up.

    There is only one place in any of the RSS files that requres the wp-blog-header.php file, and they’re almost identical in each file. In fact, I made them identical just to see if it would have any effect (it didn’t.)

    For Entries RSS, the code is:

    <?php

    if (empty($feed) ) {
    $blog = 1;
    $feed = 'rss';
    $doing_rss = 1;
    require('wp-blog-header.php');
    }

    header('Content-type: text/xml; charset=' . get_settings('blog_charset'), true);
    $more = 1;

    and for Comments RSS, the same lines are:

    <?php
    if ( empty($feed) ) {
    $feed = 'rss2';
    $withcomments = 1;
    $doing_rss = 1;
    require('wp-blog-header.php');
    }

    header('Content-type: text/xml;charset=' . get_settings('blog_charset'), true);

    echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>';
    ?>

    So I’m stumped. I cant think of anything else to modify…

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s blog-header…

    check this out

    Thread Starter kbfrench

    (@kbfrench)

    I’ve already replaced wp-blog-header. I’m also not getting a 304 error.
    Thanks, though.

    Thread Starter kbfrench

    (@kbfrench)

    Ok. Fixed. And it was a dumb problem. Somewhere in there I had created a rss file in the feed/ folder that didn’t end in .php so that Bloglet could recognise it. Because of that, wordpress wasn’t updating the files in that folder. I deleted the entire folder, wordpress re-created them, and it all works now.

    Thanks
    KB

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Entries RSS broke; Comments RSS working fine.’ is closed to new replies.