SRU: Fatal error: Uncaught Error: Class "MicroTimer" not found in /usr/share/phpliteadmin/phpliteadmin.php:475
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phpliteadmin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Impish |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
phpLiteAdmin does not function in Ubuntu 21.10 (Impish Indri).
[Test Plan]
Prerequisites:
1. Have the package installed along with php-cli.
$ sudo apt-get install php-cli phpliteadmin
Steps to reproduce:
1. Cd to the package directory and run PHP server as www-data user.
$ cd /usr/share/
$ sudo -u www-data php -S localhost:8080
2. Open http://
Actual behavior:
1. No output into browser.
2. Fatal errors in terminal.
[Sun Mar 13 12:49:08 2022] 127.0.0.1:55128 Accepted
[Sun Mar 13 12:49:08 2022] PHP Fatal error: Uncaught Error: Class "MicroTimer" not found in /usr/share/
Stack trace:
#0 {main}
thrown in /usr/share/
[Sun Mar 13 12:49:08 2022] 127.0.0.1:55128 [500]: GET /phpliteadmin.php - Uncaught Error: Class "MicroTimer" not found in /usr/share/
Stack trace:
#0 {main}
thrown in /usr/share/
[Sun Mar 13 12:49:08 2022] 127.0.0.1:55128 Closing
Expected behavior:
1. phpLiteAdmin would work under PHP 8.0.8 which is default in Ubuntu 21.10.
[Where problems could occur]
Leaf package. Only minimal patch set applied from development branch.
Changed in phpliteadmin (Ubuntu): | |
importance: | Undecided → Medium |
Changed in phpliteadmin (Ubuntu Impish): | |
importance: | Undecided → Medium |
ACK on the debdiff in comments #1. I did add the CVE number to the changelog though, to make it easier to track.
Since this package is completely broken currently in Impish, I think releasing the php fixes as part of the security update is acceptable.
I've uploaded the package to the security team PPA here: /launchpad. net/~ubuntu- security- proposed/ +archive/ ubuntu/ ppa/+packages
https:/
Could you please give it a try and once it has been tested, we will publish it.
Thanks!