Entries RSS broke; Comments RSS working fine.
-
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…
- The topic ‘Entries RSS broke; Comments RSS working fine.’ is closed to new replies.