Ticket #75 (closed defect: Fixed)

Opened 4 months ago

Last modified 4 months ago

LDAP Authentification

Reported by: jack Owned by:
Priority: blocker Milestone: Centreon-2.0
Component: CentCore Version: beta4
Keywords: LDAP Cc:

Description

In Centreon 2.0 BETA 4 in use with Nagios 3 and LDAP authentication, a bug appears when we try to authenticate an user :

ok
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/centreon/www/index.php:135) in /usr/local/centreon/www/index.php on line 242

In the webpage source we have this :

ok<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /usr/local/centreon/www/index.php:135) in <b>/usr/local/centreon/www/index.php</b> on line <b>242</b><br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Centreon, Revisited Experience Of Nagios</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="./Themes/Centreon-2/login.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="./img/iconOreon.ico">

</head>

In fact, on the line 135 of the file index.php i think you have forgotten to erase this debug line :

    print "ok";

Thank you.

Change History

Changed 4 months ago by ncordier

  • priority changed from minor to blocker
  • status changed from new to closed
  • resolution set to fixed

fixed by revision 5642, should be ok in beta 5

Note: See TracTickets for help on using tickets.