Page MenuHomePhorge

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?

grafik.png (274×278 px, 10 KB)

Details

Ticket Type
Task

Event Timeline

Testingkolab lowered the priority of this task from Needs Triage to Normal.Jan 16 2020, 10:38 AM
Testingkolab moved this task from Backlog to Reviewed on the Bug Reports board.