Bug#964318: gosa login broken with PHP 7.4
Wolfgang Schweer
w.schweer at gmx.de
Sun Jul 5 16:42:01 BST 2020
Package: gosa
Version: 2.7.4+reloaded3-11
Severity: normal
Tags: upstream
Hi Mike,
while working on Debian Edu Bullseye, I noticed that it is no longer
possible to log into the GOSa² web interface after a main server
upgrade.
This error message is popping up:
Fatal error: Uncaught Error: Length must be greater than 0 in
/usr/share/gosa/include/functions.inc:3324 Stack trace:
#0 /usr/share/gosa/include/functions.inc(3324):
openssl_random_pseudo_bytes()
#1 /usr/share/gosa/include/class_config.inc(310): cred_decrypt()
#2 /usr/share/gosa/include/class_config.inc(362): config->get_credentials()
#3 /usr/share/gosa/include/class_configRegistry.inc(408):
config->get_ldap_link()
#4 /usr/share/gosa/include/class_config.inc(453): configRegistry->reload()
#5 /usr/share/gosa/include/class_config.inc(441): config->load_servers()
#6 /usr/share/gosa/html/index.php(267): config->set_current()
#7 {main}
thrown in /usr/share/gosa/include/functions.inc on line 3324
This happened after upgrading the main server.
The error is most probably due to PHP 7.4 incompatible gosa code, see:
https://www.php.net/manual/en/migration74.incompatible.php
Wolfgang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-pkg-team/attachments/20200705/0528d09f/attachment.sig>
More information about the Debian-edu-pkg-team
mailing list