Your message dated Wed, 12 Dec 2018 12:50:40 +0000
with message-id <e1gx3yk-000hxf...@fasolo.debian.org>
and subject line Bug#893723: fixed in nagvis 1:1.9.10-1
has caused the Debian Bug report #893723,
regarding nagvis: PHP Fatal error: Redefinition of parameter $_unused_flag
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
893723: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893723
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nagvis
Version: 1:1.7.10+dfsg1-3.2
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

We installed the nagvis and nagvis-demos package. Opening nagvis in a browser 
lead to a HTTP/500 internal server error. In the apache error log we had the 
following lines:
[Wed Mar 21 16:16:45.976333 2018] [:error] [pid 28158] [client 
192.168.12.252:61683] PHP Fatal error:  Redefinition of parameter $_unused_flag 
in /usr/share/nagvis/share/server/core/classes/objects/NagVisMapObj.php on line 
247, referer: 
http://kameraserver/nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=demo-germany

We followed the advice of the user hurr1c4ne on the following forum thread:
https://monitoring-portal.org/woltlab/index.php?thread/37078-php-fatal-error-redefinition-of-parameter-unused-flag-in-usr-share-nagvis-share/

This solved the problem for us. The post of hurr1c4n is as follows:
----------------------------------------------------------------------------
Have the same situation on my Ubuntu 16.04.1 Server.


I just changed the following lines
/usr/share/nagvis/share/server/core/classes/objects/NagiosService.php
:103
function queueState($_unused_flag = true) {


/usr/share/nagvis/share/server/core/classes/objects/NagVisMapObj.php
:247
public function queueState($_unused_flag = true) {


After this changes, the error messages are gone and the website works as 
expected.
----------------------------------------------------------------------------

This helped to get the demo maps running.

Best regards,

Jan


-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nagvis depends on:
ii  debconf [debconf-2.0]         1.5.61
ii  graphviz                      2.38.0-17
ii  php                           1:7.0+49
ii  php-common                    1:49
ii  php-gd                        1:7.0+49
ii  php-net-socket                1.0.14-2
ii  php-php-gettext               1.0.12-0.1
ii  php-sqlite3                   1:7.0+49
ii  php7.0 [php]                  7.0.27-0+deb9u1
ii  php7.0-gd [php-gd]            7.0.27-0+deb9u1
ii  php7.0-sqlite3 [php-sqlite3]  7.0.27-0+deb9u1
ii  ucf                           3.0036

nagvis recommends no packages.

Versions of packages nagvis suggests:
pn  check-mk-livestatus  <none>
ii  nagvis-demos         1:1.7.10+dfsg1-3.2

-- debconf information:
  nagvis/delete_on_purge: false
* nagvis/monitoring_system: icinga

--- End Message ---
--- Begin Message ---
Source: nagvis
Source-Version: 1:1.9.10-1

We believe that the bug you reported is fixed in the latest version of
nagvis, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 893...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastien Delafond <s...@debian.org> (supplier of updated nagvis package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 12 Dec 2018 07:46:19 +0100
Source: nagvis
Binary: nagvis nagvis-demos
Architecture: source all
Version: 1:1.9.10-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Nagios Maintainer Group 
<pkg-nagios-de...@lists.alioth.debian.org>
Changed-By: Sebastien Delafond <s...@debian.org>
Description:
 nagvis     - visualization addon for Nagios or Icinga
 nagvis-demos - visualization addon for Nagios or Icinga - demo maps
Closes: 858042 893723 903369 903706
Changes:
 nagvis (1:1.9.10-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Bas Couwenberg ]
   * Update watch file for move to GitHub.
   * Bump Standards-Version to 4.2.1, no changes.
 .
   [ Sebastien Delafond ]
   * Imported Debian patch 1:1.7.10+dfsg1-3.2
   * Update php-gettext link
   * Add Files-Excluded to debian/copyright, even though those files are
     gone in 1.9.x: this will make further repacking more straightforward,
     should it be needed
   * Add repacksuffix to debian/watch
   * New upstream version 1.9.10 (Closes: #893723, #903706)
   * Use db_stop at the end of postinst (Closes: #858042)
   * Add pt_BR translation (Closes: #903369)
   * Update Vcs-* URLs to point to salsa
Checksums-Sha1:
 5c75a40d8532bb8a03f310faffa4353abd89c0a3 1696 nagvis_1.9.10-1.dsc
 3af36294893474afe87577542100c89df0f64496 1792032 nagvis_1.9.10.orig.tar.gz
 8350b06d9c38d72031e0c84f5af90c6351d2f6b1 19572 nagvis_1.9.10-1.debian.tar.xz
 69f24ae508af1075a159574ab3d8d9a219258bee 277024 nagvis-demos_1.9.10-1_all.deb
 a72ed509e2d0de4d097092df822f16ef1a28e53a 1212004 nagvis_1.9.10-1_all.deb
 4f7d89c9b282d7c346688f4adcc6cd783d755593 5490 nagvis_1.9.10-1_amd64.buildinfo
Checksums-Sha256:
 018b61472d34bd9433133da1849464915b92ffbe1ec0d9b0a9f05f1add267c46 1696 
nagvis_1.9.10-1.dsc
 2a3440aea9592b5fd305cde98f24879df14b63e2af897a1d00801831c83fc3fa 1792032 
nagvis_1.9.10.orig.tar.gz
 65b43e89a63d4fc8945ee5ae8f153102a9dd0ede38d1d48ed26e19a3ca1a94b5 19572 
nagvis_1.9.10-1.debian.tar.xz
 7ca6618efb2c3221af01b298f87583e2a486f81e57ca632601f9bdca8c50d1b1 277024 
nagvis-demos_1.9.10-1_all.deb
 932ab672947544eca77257fb2125fdc6d42bf6fb4ac10db7928a7b1de6e3076a 1212004 
nagvis_1.9.10-1_all.deb
 54072b8e73173c8f77472e293e26ad9a2120ceab5a2c3cd3d565c0873d50ebfb 5490 
nagvis_1.9.10-1_amd64.buildinfo
Files:
 3000aee56c9700d2ea66fd479c4d694e 1696 net extra nagvis_1.9.10-1.dsc
 39257bf9ebcdd6c2fe85307485bd56c6 1792032 net extra nagvis_1.9.10.orig.tar.gz
 7a35033fde89be27793dfe52151db310 19572 net extra nagvis_1.9.10-1.debian.tar.xz
 11d6db0d4ca2ae6e409540129fa1755b 277024 net extra nagvis-demos_1.9.10-1_all.deb
 28f8dd22a55a077b260ee36391c1b5e5 1212004 net extra nagvis_1.9.10-1_all.deb
 ee6677b9a0d654027a7b6d500e2910fe 5490 net extra nagvis_1.9.10-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEAqSkbVtrXP4xJMh3EL6Jg/PVnWQFAlwQ/bwACgkQEL6Jg/PV
nWTBsQf/dUSAZ7+qRS05H5T6uCnTUxb5mkQNy/nr9gbZTBWMPyvuPmvHkYsIViqK
AR+xDOPTs4e0xkjZOHeg1EmXD3B4ib+f+1RSpTC8bqXE7yzIiW1e020mNlm3If5Y
fc1lkSjkqZfbGNzdTxZuQAxk5ihqXohWEp8TvkZR6/adDG7fpwY7mNk4TSjOy3QB
TFrrBtEEptMBrIJ2dYx9iyVFFkGwQrR4HkAkol3iMAHE+lsz6EFoTa2OorPfRiNr
SzunygrHoGpe13HEh5EH/W/ZLIDNZbNucCtz8dx4iYz2v3/klbkp80N5vBlEFNcn
ZGkEotbSQxdLNX2z9wXVsRQG06EJ8w==
=3PhR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to