[Bug 1571402] Re: icingaweb2 2.1.0 fails to run with PHP7
Nish Aravamudan
nish.aravamudan at canonical.com
Wed Jun 29 00:51:26 UTC 2016
Note that the yakkety upload of 2.1.0-1ubuntu2 will eventually be
superseded by the sync in LP: #1593024.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1571402
Title:
icingaweb2 2.1.0 fails to run with PHP7
Status in icingaweb2 package in Ubuntu:
In Progress
Status in icingaweb2 source package in Xenial:
In Progress
Bug description:
[Impact]
* icingaweb2 web interface fails to display, indicating exceptions
with variables being passed by reference.
* Upstream icingaweb2 has fixed this via 4 patches in
https://dev.icinga.org/issues/10251.
[Test Case]
* Install icingaweb2 and attempt to navigate to
http://<ip>/icingaweb2. Successful page load is a positive test.
[Regression Potential]
* As currently packaged, icingaweb2 is non-functional, so the
regression potential is low. Additionally, the patches applied are the
same (with adjustment for context) to those applied upstream to fix
the same issue.
https://dev.icinga.org/issues/10251
Related PHP7 compatibility issues were fixed in version 2.2.0 but
Xenial ships with 2.1.0. Essentially the software is unusable, setup
crashes right off the bat with:
Fatal error: Uncaught ErrorException: Only variables should be passed
by reference in /usr/share/php/Icinga/Util/Translator.php:259 Stack
trace: #0 /usr/share/php/Icinga/Util/Translator.php(259):
Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(8,
'Only variables ...', '/usr/share/php/...', 259, Array) #1 [internal
function]: Icinga\Util\Translator::Icinga\Util\{closure}(Array, Array)
#2 /usr/share/php/Icinga/Util/Translator.php(261): usort(Array,
Object(Closure)) #3 /usr/share/php/Icinga/Application/Web.php(527):
Icinga\Util\Translator::getPreferredLocaleCode('en-US,en;q=0.8,...')
#4 /usr/share/php/Icinga/Application/ApplicationBootstrap.php(610):
Icinga\Application\Web->detectLocale() #5
/usr/share/php/Icinga/Application/Web.php(92):
Icinga\Application\ApplicationBootstrap->setupInternationalization()
#6 /usr/share/php/Icinga/Application/ApplicationBootstrap.php(337):
Icinga\Application\Web->bootstrap() #7
/usr/share/php/Icinga/Application/webrouter.php(109):
Icinga\Application\ApplicationBootstrap: in
/usr/share/php/Icinga/Util/Translator.php on line 259
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icingaweb2/+bug/1571402/+subscriptions
More information about the Ubuntu-sponsors
mailing list