Closed (fixed)
Project:
Mailhandler
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Jan 2004 at 03:31 UTC
Updated:
6 Mar 2004 at 20:20 UTC
After installing mailhandler on a freshly installed 4.3.0 system with only the default module enabled and only mailhandler added, I get the following error when I log out (and a similar one after logging in). No page gets displayed, just this error (taken from the logs):
Location: /user
Message: warning: Cannot add header information - headers already sent by
(output started at /homepages/27/d92096621/htdocs/www/modules/mailhandler.module:675)
in /homepages/27/d92096621/htdocs/www/modules/user.module on line 668.
Any suggestions? Thanks!
Comments
Comment #1
mikemee commentedI should have mentioned that if I disable the mailhandler module, then this error doesn't occur.
Comment #2
Navegante commentedHi
The problem is that your mailhandler.module is not working, prints a error before you see any page.
This error is comun if any module prints a error.
You must put your mailhandler.module working fine, and the error "page error: Cannot add header information - headers already sent by ..." disapears.
sorry my english
Comment #3
blaine-1 commentedMake sure there are no blank lines at the end of the mailhandler.module file.
Comment #4
mikemee commentedThere was a blank line at the end of the mailhandler.module file. When I deleted it the errors went away. Strange. The rest of the module was working fine (retrieving mail, changing settings etc).
I'll leave this bug active as I double checked and this is how the module was released in the 4.3.0 version (though perhaps its since been fixed in CVS?).
For what its worth, here's the patch:
Thanks for all your help everyone. This module solved a real problem for me!
Comment #5
killes@www.drop.org commentedremoved the trailing newline.
Comment #6
(not verified) commented