Not sure if this is a bug, or something with my setup. I have created a feed item. When I refresh items I get the following warning message:

warning: Cannot modify header information - headers already sent in /home/voyager/htdocs/includes/common.inc on line 192.

If I go back to the feed page and refresh it (the html), the feed details were updated but no items were added. I have tried both rss and atom feeds and they both behave the same. and I have also tried different feeds.

Any ideas?

CommentFileSizeAuthor
#2 aggregator2.module_0.patch2.6 KBRobRoy

Comments

RobRoy’s picture

I'm getting this as well for 4.6.0: Cannot modify header information - headers already sent...

RobRoy’s picture

Status: Active » Needs review
StatusFileSize
new2.6 KB

Here is a patch that

-- comments out the flush() calls so the header isn't sent
-- fixes some non-prefixed table calls

hadishon’s picture

Will this patch work with CVS (4.7 beta *) as well?

budda’s picture

Version: 4.6.x-1.x-dev » master

The bug is still current in the CVS version of the module.

Gives the error:

Warning: Cannot modify header information - headers already sent in /var/www/html/drupal-4.7/includes/common.inc on line 233
budda’s picture

Removing all occurances of flush() fixed the problem and speeded up the checking of feeds. Why was flush() ever put in the code?

JennR2000’s picture

removing all the flush() crashed my test site

hadishon’s picture

Removing all occurances of flush() on my 4.7 rc1 site didn't make aggregator2 work right.