Bug#1149040: Fatal PHP error on a page with export LDAP records to Excel
Serhii Horichenko
serhii at horichenko.com
Sat Sep 26 09:49:29 BST 2026
Package: gosa-plugins-ldapmanager
Version: 2.8~git20240614.c540e17-1
Severity: important
Fatal PHP error when trying to export LDAP records to an Excel file:
<br />
<b>Fatal error</b>: Uncaught Error: Call to undefined method
writeexcel_workbook::writeexcel_biffwriter() in
/usr/share/gosa/include/utils/excel/class.writeexcel_workbook.inc.php:62
Stack trace:
#0 /usr/share/gosa/html/plugins/ldapmanager/getxls.php(50):
writeexcel_workbook->__construct()
#1 /usr/share/gosa/html/plugins/ldapmanager/getxls.php(493): dump_ldap()
#2 {main}
thrown in
<b>/usr/share/gosa/include/utils/excel/class.writeexcel_workbook.inc.php</b>
on line <b>62</b><br />
Environment:
- Server Debian Edu 13.7 server with only role "Main-server"
- Workstation installed with PXE from the server above
How to reproduce:
- GUI logon on Workstation
- Firefox with default page `https://www/index.html.en`
<https://www/index.html.en>
- Log in to GOsa² https://www/gosa/ with administrative credentials
- go to LDAP tools -> Excel Export
- press any Export button on the right side
- click the generated link
Result:
- you got the described above Fatal error
Expected:
- you can save the generated file
Sincerely,
Serhii Horichenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-pkg-team/attachments/20260926/53dd8e4e/attachment.htm>
More information about the Debian-edu-pkg-team
mailing list