[Eisfair] php7-fpm 1.1.10 --> kein iconv --> keine Graphen bei pnp4nagios
Peter Bäumer
peter at baeumer.dd-dns.de
Sa Okt 26 09:39:59 CEST 2019
Glück Auf!
Fatal error: The iconv extension is not loaded. Without iconv, strings cannot be properly translated to UTF-8 from user input. This application cannot be run without UTF-8 support. in /usr/local/pnp4nagios/lib/kohana/system/core/utf8.php on line 48
Der Codeabschnitt was Probleme macht ist:
if ( ! extension_loaded('iconv'))
{
trigger_error
(
'The <a href="http://php.net/iconv">iconv</a> extension is not loaded. '.
'Without iconv, strings cannot be properly translated to UTF-8 from user input. '.
'This application cannot be run without UTF-8 support.',
E_USER_ERROR
);
}
Da wird nach gefragt ob iconv geladen ist, was es anscheinend nicht ist! :(
Das PHP-Info von phph7-fpm bekomme ich nur an 2 Stellen das iconf angezeigt:
im Bereich Configure Command: '--with-iconv=shared'
und bei der Tabelle Module Authors
Nach dem Umstellen auf apache2-php7 sind noch 8 weiter Einträge für ivonf zu finden
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.22
Directive Local Value Master Value
iconv.input_encoding no value no value
iconv.internal_encoding no value no value
iconv.output_encoding no value no value
und php4nagios zeigt auch wider die Graphen an :)
--
Eine andere Webseite hat bei apache2-php7 und php7-fpm was zu meckern:
Notice: A non well formed numeric value encountered in /data/www/runalyze/runalyze_4.3.0/runalyze/inc/core/Data/Weather/WindChillFactor.php on line 66
Da scheint es Probleme zugeben mit einer Variablen zu geben die nicht im richtigem Format vorliegt, und nun nach dem Update auch angezeigt wird.
--
Bei den Webseiten nagios, webtrees und piwigo sind mir keine Fehler aufgefallen.
MfG
Peter B.
Mehr Informationen über die Mailingliste Eisfair