NagVis / nagvis

Visualization addon for your open source monitoring core

Home Page:http://nagvis.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: Invalid response. Got empty response from server (code: 500). Take a look at the web server error log for details.[BUG]

Duremar007 opened this issue · comments

Verify first that your issue is not already reported here.
Complete all sections as described!

Describe the bug
After entering login/password get error ->
nagvisERROR
Got empty response from server (code: 500). Take a look at the web server error log for details.

NagVis Version
NagVis Version : 1.9.40

Checkmk Version
Version : 1.4.0p31

Environment
OS Version : Red Hat Enterprise Linux Server release 7.9 (Maipo)
PHP Version : 5.4.16
HTTPD Version : Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/5.4.16

Messages in /var/log/httpd/ssl_error_log
PHP Parse error: syntax error, unexpected 'list' (T_LIST) in /usr/share/nagvis/share/server/core/classes/CoreModMultisite.php on line 226

To Reproduce
Steps to reproduce the behavior:

  1. Enter login and password.
  2. Get error messages - Got empty response from server (code: 500). Take a look at the web server error log for details.

Expected behavior
Normal work.

Actual behavior
Get error messages - Got empty response from server (code: 500). Take a look at the web server error log for details.

Screenshots
Attach screenshot.

commented

That's an old php version running, is it possible to move up to at least php 5.6, is there any map present in de /etc/maps folder?

The statements in the code are fully compatible with php5.4 (https://phpcodechecker.com/)

Thanks.