Page MenuHomePhorge

Unable to log into roundcube after update from 1:1.5.6.3-1~kolab1 to 1:1.5.6.4-1~kolab1 [Debian11]: Cannot access private property kolab_ldap::$ready
Closed, ResolvedPublic

Description

The last upgrade of roundcubemail in the Kolab Debian11 repo from version 1:1.5.6.3-1~kolab1 to 1:1.5.6.4-1~kolab1 causes the login to fail.
Reverting back to the previous version (from cache) reverts the possibility to log in but breaks some functionalities.

When trying to log in the log shows the following message:

[21-Mar-2024 22:26:48 Europe/Berlin] PHP Fatal error:  Uncaught Error: Cannot access private property kolab_ldap::$ready in /usr/share/roundcubemail/plugins/kolab_auth/kolab_auth.php:473
Stack trace:
#0 /usr/share/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php(516): kolab_auth->authenticate()
#1 /usr/share/roundcubemail/index.php(114): rcube_plugin_api->exec_hook()
#2 /usr/share/roundcubemail/public_html/index.php(26): include('/usr/share/roun...')
#3 {main}
  thrown in /usr/share/roundcubemail/plugins/kolab_auth/kolab_auth.php on line 473

Details

Ticket Type
Task

Event Timeline

ksstille renamed this task from Unable to log into roundcube after update from to [Debian11]: Cannot access private property kolab_ldap::$ready to Unable to log into roundcube after update from 1:1.5.6.3-1~kolab1 to 1:1.5.6.4-1~kolab1 [Debian11]: Cannot access private property kolab_ldap::$ready.Mar 21 2024, 10:35 PM
ksstille created this task.

Also applies to EL9.
One solution appears to be to change the declaration of $ready , in class/kolab_ldap (files /usr/share/roundcubemail/plugins/libkolab/lib/kolab_ldap.php and /usr/share/roundcubemail/public_html/assets/plugins/libkolab/lib/kolab_ldap.php) from private to public.
There is also another problem, the directory /usr/share/roundcubemail/program/resources containing the "Ooops ..." error message that, presumably, should be displayed on crashes is missing.

mollekopf claimed this task.
mollekopf subscribed.

should be fixed in 1.5.6.7