I get the following errors
Cannot modify header information - headers already sent by (output started at C:\htdocs\www\sites\all\modules\ldap_lookup\ldap_lookup.auth:140) in C:\htdocs\www\includes\common.inc on line 141.
and
Cannot modify header information - headers already sent by (output started at C:\htdocs\www\sites\all\modules\ldap_lookup\ldap_lookup.forms:390) in C:\htdocs\www\includes\common.inc on line 141.
fixed it by removing ?> at the end of ldap_lookup.auth and ldap_lookup.forms
Comments
Comment #1
kibblewhite commentedThis is because there was a space after the `?>`. When copying the source becareful not to have new lines or spaces after the PHP closing tag.
Example:
"
"
is okay
"
"
is not good because that new line will count as output and you will get the 'headers already sent' warning.
Comment #2
kibblewhite commentedNote: Please refer to the spaces and new lines after `?>` as this form formats what is in between the php tags...
Example:
"...
?>"
is good
"...
?>
"
is not good
Comment #3
kibblewhite commentedComment #4
(not verified) commentedComment #5
bornsix commentedHere is the solution to the "Cannot modify header information headers already sent" error message. zen theme
I moved the files and re-unpacked the theme. Apparently you had used "binary" instead of "ASCII" when you transferred and all the files had DOS ^M's at the end of every line.
I used winzip to uncompress the files