Deprecated: Comments starting with '#' are deprecated in Unknown on line IniParser.php

icingaweb2

(Constantin) #1

I have just upgraded to icingaweb2 v2.5.3 and I am not sure why I get this message in the icingaweb dashbord:

Deprecated: Comments starting with ‘#’ are deprecated in Unknown on line 5 in /usr/share/php/Icinga/File/Ini/IniParser.php on line 265

I am running php 7.1 and I do not find any “#” in my loaded php.ini:

Configuration File (php.ini) Path: /etc/opt/rh/rh-php71
Loaded Configuration File: /etc/opt/rh/rh-php71/php.ini
Scan for additional .ini files in: /etc/opt/rh/rh-php71/php.d
Additional .ini files parsed: /etc/opt/rh/rh-php71/php.d/20-bz2.ini

php -v

PHP 7.1.8 (cli) (built: Aug 8 2017 09:01:08) ( NTS )
Copyright © 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright © 1998-2017 Zend Technologies

Any hints would be highly appreciated.
Thanks,
Constantin


(Nicolai) #2

Have a look in your *.ini files in /etc/icingaweb2 like the dashboard confguration or other module configs. Theire all use the ini format.


(Constantin) #3

Great hint! :slight_smile: I thought it was only related to PHP module.
Thanks a bunch.


(Michael Friedrich) #4

Also look here: https://www.icinga.com/docs/icingaweb2/latest/doc/80-Upgrading/#upgrading-to-icinga-web-2-25x