[Bug 1571402] [NEW] icingaweb2 2.1.0 fails to run with PHP7
Launchpad Bug Tracker
1571402 at bugs.launchpad.net
Wed Jun 29 00:50:06 UTC 2016
You have been subscribed to a public bug by Nish Aravamudan (nacc):
[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
** Affects: icingaweb2 (Ubuntu)
Importance: High
Assignee: Nish Aravamudan (nacc)
Status: Triaged
** Affects: icingaweb2 (Ubuntu Xenial)
Importance: High
Assignee: Nish Aravamudan (nacc)
Status: Triaged
** Tags: php7
--
icingaweb2 2.1.0 fails to run with PHP7
https://bugs.launchpad.net/bugs/1571402
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list