Public bug reported:

Hi,

on Ubuntu 18.4 LTS bionic phpldapadmin prints the following messages:

Deprecated: Function create_function() is deprecated in
/usr/share/phpldapadmin/lib/functions.php on line 1083

Notice: Undefined variable: _SESSION in
/usr/share/phpldapadmin/lib/session_functions.php on line 100

Warning: Cannot modify header information - headers already sent by
(output started at /usr/share/phpldapadmin/lib/functions.php:1083) in
/usr/share/phpldapadmin/lib/page.php on line 65


Error
E_WARNING: Cannot modify header information - headers already sent by (output 
started at /usr/share/phpldapadmin/lib/functions.php:1083)
PHP Debug Backtrace
File    /usr/share/phpldapadmin/lib/functions.php (184)
        Function        error (a:5:{i:0;s:136:"E_WARNING: Cannot modify header 
in...)
File    /usr/share/phpldapadmin/lib/functions.php ()
        Function        app_error_handler (a:5:{i:0;i:2;i:1;s:125:"Cannot 
modify header infor...)
File    /usr/share/phpldapadmin/lib/common.php (270)
        Function        header (a:2:{i:0;s:38:"Content-type: text/html; 
charset=UT...)
File    /usr/share/phpldapadmin/htdocs/common.php (13)
        Function        require_once 
(a:1:{i:0;s:38:"/usr/share/phpldapadmin/lib/common....)
File    /usr/share/phpldapadmin/htdocs/cmd.php (13)
        Function        require_once 
(a:1:{i:0;s:41:"/usr/share/phpldapadmin/htdocs/comm...)
File    /usr/share/phpldapadmin/htdocs/index.php (146)
        Function        include 
(a:1:{i:0;s:38:"/usr/share/phpldapadmin/htdocs/cmd....)
 
Printing warnings to the HTML output is deactivated in my servers php 
configuration. So this must be turned on again somewhere in the code of 
phpldapadmin.

As far as I can see Ubuntu 18.10 Cosmic, 19.4 Disco and the upcoming
(19.10) Eoan should be also affected, but I'm experiencing this on
Ubuntu 18.4 bionic.

This issues were already discussed in:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890127
and
https://github.com/leenooks/phpLDAPadmin/issues/61

Logging in to phpldapadmin isn't possible due to that.

Kind regards,
    Lars

** Affects: phpldapadmin (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1829987

Title:
  phpldapadmin incompatible with php-7.2 in bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phpldapadmin/+bug/1829987/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to