I have problems using LdapAuthentication.php.
I include the file via require_once within LocalSettings.php an get the following message:
Warning: Cannot modify header information - headers already sent by (output started at /var/local/wiki/extensions/LdapAuthentication.php:739) in /var/local/wiki/includes/OutputPage.php on line 491
I'm using PHP 4.4 and Mediawiki 1.6 and the samples from http://meta.wikimedia.org/wiki/LDAP_Authentication
Thank you for answering
Markus
I handle support requests on the talk page of the link you provided. The problem you are having generally occurs because either you have a corrupted download of the plugin, or you have another extension that is doing this.
The LDAP plugin does not output any header info. In fact, as long as you have debug info turned off, it shouldn't output anything at all.
V/r,
Ryan Lane
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l- bounces@Wikimedia.org] On Behalf Of Markus.Gierich@fiducia.de Sent: Friday, July 14, 2006 5:12 AM To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Ldap Authentication
I have problems using LdapAuthentication.php.
I include the file via require_once within LocalSettings.php an get
the
following message:
Warning: Cannot modify header information - headers already sent by (output started at /var/local/wiki/extensions/LdapAuthentication.php:739) in /var/local/wiki/includes/OutputPage.php on line 491
I'm using PHP 4.4 and Mediawiki 1.6 and the samples from http://meta.wikimedia.org/wiki/LDAP_Authentication
Thank you for answering
Markus
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 7/17/06, Lane, Ryan Ryan.Lane@ocean.navo.navy.mil wrote:
I handle support requests on the talk page of the link you provided. The problem you are having generally occurs because either you have a corrupted download of the plugin, or you have another extension that is doing this.
The LDAP plugin does not output any header info. In fact, as long as you have debug info turned off, it shouldn't output anything at all.
I suspect that his problem might be that he's including LdapAuthentication.php before the <?php line in LocalSettings.php, and that there are some blank lines in it.
PHP put's out the header lines as soon as it sees anything to output, and that anything can be a blank line if it's before the <?php tag
mediawiki-l@lists.wikimedia.org