The following error occurs for me when submiting a form or logging out in 4.6.5:

"Cannot modify header information - headers already sent by (output started at /path/to/drupal/modules/ldap_integration/ldap_integration.module:798) in /path/to/drupal/includes/common.inc on line 192."

I found another post on drupal.org that suggested this can happen when there are extra lines or spacesbefore or after the opening and closing PHP tags in a module. I removed the exta lines at the end of the file in ldap_integration.module and it fixed the problem.

Thanks,
Mark

Comments

pablobm’s picture

Ooops. It seems that problem doesn't happen with my current setup (probably a PHP5 feature), but I remember it happened time ago. Probably I added those spaces recently. Sorry about that and thanks for pointing out.

pablobm’s picture

Status: Active » Closed (fixed)

I presume this is solved now.