Search found 3 matches
- Wed Mar 20, 2019 10:46 am
- Forum: Open Source Nagios Projects
- Topic: PNP4Nagios data.php [270] error
- Replies: 3
- Views: 18065
Re: PNP4Nagios data.php [270] error
Close it, thanks! Edit was to fix typo in the word array.
- Wed Mar 20, 2019 8:57 am
- Forum: Open Source Nagios Projects
- Topic: PNP4Nagios data.php [270] error
- Replies: 3
- Views: 18065
Re: PNP4Nagios data.php [270] error
Already fixed that one with
apt install php7.2-xml
Then fixed this error:
application/models/data.php [979]:
Ubuntu 18.04 php 7.2
solution:
edit
if(sizeof($pages) > 0 ){
to
if(is_array($pages) && sizeof($pages) > 0 ){
Hope this helps someone else. Thanks for the great forum!
apt install php7.2-xml
Then fixed this error:
application/models/data.php [979]:
Ubuntu 18.04 php 7.2
solution:
edit
if(sizeof($pages) > 0 ){
to
if(is_array($pages) && sizeof($pages) > 0 ){
Hope this helps someone else. Thanks for the great forum!
- Wed Mar 20, 2019 8:14 am
- Forum: Open Source Nagios Projects
- Topic: PNP4Nagios data.php [270] error
- Replies: 3
- Views: 18065
PNP4Nagios data.php [270] error
Fresh install, all tests passed on the install.php page. When I remove it, I get this below which should be the localhost ping chart. Any ideas? PNP4Nagios Version 0.6.26 Please check the documentation for information about the following error. Call to undefined function simplexml_load_file() file [...