NagVis / nagvis

Visualization addon for your open source monitoring core
http://nagvis.org/
GNU General Public License v2.0
115 stars 73 forks source link

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

Closed Duremar007 closed 9 months ago

Duremar007 commented 9 months ago

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.

T100D commented 9 months ago

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/)

Duremar007 commented 9 months ago

Thanks.