group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #06237
[Bug 1571402] Re: icingaweb2 2.1.0 fails to run with PHP7
This bug was fixed in the package icingaweb2 - 2.1.0-1ubuntu2
---------------
icingaweb2 (2.1.0-1ubuntu2) yakkety; urgency=medium
* debian/patches/fix_variables_passed_by_reference.patch: PHP7: Fix
Only variables should be passed by reference exception in
Translator. Closes LP: #1571402.
* debian/patches/rename_string_to_stringhelper.patch: PHP7: Rename
String to StringHelper. Closes LP: #1571402.
* debian/patches/fix_zend_autoload.patch: PHP7: Fix Zend autoload
issues. Closes LP: #1571402.
* debian/patches/fix_mysql_postgresql_pdo_checks.patch: PHP7: Fix
MySQL and PostgreSQL PDO extension checks. Closes LP: #1571402.
-- Nishanth Aravamudan <nish.aravamudan@xxxxxxxxxxxxx> Tue, 28 Jun
2016 17:00:23 -0700
** Changed in: icingaweb2 (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1571402
Title:
icingaweb2 2.1.0 fails to run with PHP7
Status in icingaweb2 package in Ubuntu:
Fix Released
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