Skip to content

Error after login when "Stay logged in on this computer" is checked #16

@vicentini

Description

@vicentini

The following error is shown on a blank page after login, when "Stay logged in on this computer" is checked on the login page.

Warning: trim() expects parameter 1 to be string, array given in /var/www/html/inc/functions.php on line 156
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/inc/functions.php:156) in /var/www/html/inc/functions.php on line 145
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/inc/functions.php:156) in /var/www/html/login.php on line 27

Even though the error shows up, the login seems to work. After a refresh of the page the user is logged in and the contacts are presented as expected.

My installation is as follows

  • contagged 0.8.0
  • php 5.6.33
  • Red Hat directory server (ldap)
  • no anonymous bind
  • public address book is only viewable by logged in users

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions