warning: Cannot modify header information - headers already sent by.... fivestar module problem
pandha - May 20, 2007 - 00:04
| Project: | Fivestar |
| Version: | 5.x-1.5 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
hi, i have a site [drupal 5.1] and have recently installed module fivestar. almost every time i load a page i can see an error like this
warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/mysite/drupal/sites/all/modules/fivestar/fivestar.module:1) in /hsphere/local/home/mysite/drupal/includes/common.inc on line 141. or 133, 131, etc
i've got only core modules, so the problem must be with fivestar. if sb knows how to fix, please let me know

#1
Hmm, the "output started at ...modules/fivestar/fivestar.module:1" might be a clue here: is it possible that the file transfer process you used to send the fivestar files up to the server somehow stripped out carriage returns or line feeds? Or converted them somehow into non-text characters?
I say that because normally, line 1 of a module doesn't output anything... normally, it is just "<?php".
I'd say: send up the module files again fresh, being wary of your file transfer settings, and see if that helps.
If that doesn't fix it, can you list your URL here for us to peek at?
#2
Closing due to non-response. Thanks for your help katin!