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
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

katin - May 21, 2007 - 19:33

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

quicksketch - July 3, 2007 - 08:14
Category:bug report» support request
Status:active» closed

Closing due to non-response. Thanks for your help katin!

 
 

Drupal is a registered trademark of Dries Buytaert.