Package: nagvis
Version: 1:1.3.1-3
Severity: important

Hi!

With an out of the box installation of nagvis, the hover maps were broken
for me.  All I got was a timeout error, when hovering over objects.

Debugging the problem showed, that
/usr/share/nagvis/htdocs/nagvis/ajax_handler.php contained broken require
statements with a non existant local path.  Replacing all the
'require("./includes' with 'require("/usr/share/nagvis/includes' fixed the
problem for me.


A quick and dirty check with:

for x in $(dpkg -L nagvis|grep php) ; do grep -iH 'require("\./includes' $x ; 
done

Shows additonally the following two includes:
/usr/share/nagvis/htdocs/wui/form_handler.php:  
require("./includes/classes/WuiShapeManagement.php");
/usr/share/nagvis/htdocs/wui/form_handler.php:  
require("./includes/classes/WuiShapeManagement.php");

Haven't tested that far yet, but they might be need to be patched, too.


Best regards,
  Alexander



-- System Information:
Debian Release: 5.0.3
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-xen-686 (SMP w/1 CPU core)
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15) (ignored: 
LC_ALL set to de...@euro)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to