I just installed gsitemap and site_map on my site and configured them. They are set up to be accessed by the right groups and the RSS are disabled in the sitemap (because of strange output).

Now I notice in my admin log section that continually the following error notification comes up:

headers already sent by (output started at /home/mydomain/public_html/modules/site_map.module:172) in /home/mydomain/public_html/includes/common.inc on line 192

What causes this and how can it be fixed?
Thanks for your help

Comments

eldarin’s picture

Priority: Critical » Minor
Status: Active » Closed (won't fix)

It's a classic PHP issue where using buffered output sometimes borks the headers. It is triggered by various things; one might be extra blanks after the closing ?> tag in the PHP script. Actually the closing PHP tag is optional, but that's the one making the most Drupal reports ...
You should look through any module you might have saved for this tell-tale sign.

eldarin’s picture

Category: bug » support
Status: Closed (won't fix) » Active

I guessed I was a bit quick with the categories on this one, made it a support request - which is the correct one.
;-)

Eagle-i’s picture

Well, I did check for extra lines after ?> and deleted them.
Uptill now that seems to be working....no error messages (saying that cautiously).

Thanks :)

ac’s picture

For the record those extra spaces are in the site_map module itself, not in any other module files

frjo’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)