Page MenuHomekolab.org

kolabformat.so exported function error() causes a fatal php redefinition error
Open, NormalPublic

Description

After fresh installation of kolab v16.0.1-22 from http://obs.kolabsys.com/repositories/Kolab:/16/Debian_10.0/ on debian buster, the already installed adminer v4.7.1-1 (phpmyadmin replacement) failes working due to redeclaration of the function error(). This function seems to be declared and exported from kolabformat.so that is loaded by apache2. The problem occurres once "apt-get install kolab" finished installation.

Fatal error: Cannot redeclare error() in /usr/share/adminer/adminer/drivers/mysql.inc.php on line 643

I personally feel that exporting such a global name without any namespaces or unique prefix will lead to more collisions also in other web applications.

Did I do something wrong?

Details

Ticket Type
Task

Event Timeline

0x6d61726b updated the task description. (Show Details)
machniak assigned this task to mollekopf.Jan 2 2020, 9:20 AM
machniak added a project: Libraries.
Testingkolab moved this task from Backlog to Reviewed on the Bug Reports board.Jan 16 2020, 10:38 AM
Testingkolab lowered the priority of this task from Needs Triage to Normal.