[op5-users] How to Geomap ?

Roman Kyrylych rkyrylych at n-ix.com.ua
Wed Nov 25 15:28:46 CET 2009


Jean-Marc LE FEVRE wrote:
>>> PHP Notice:  Use of undefined constant CONST_AJAX - assumed  
>>> 'CONST_AJAX'
>>> in
>>> /usr/share/nagios/addons/nagvis/nagvis/includes/classes/frontend/ 
>>> GlobalFrontendMessageBox.php
>>> on line 111, referer: http://84.246.229.120/nagvis/netmap/shell.swf
>>>
>>> Any idea ?
>> Hm. That file shouldn't be included at all. NagVis code is a mess.
>> You can add define('CONST_AJAX', FALSE); at the top of that file.
>>
> 
> 
> I did add this in top of the file since last mail, but with no  
> surprise it didn't solve the channel disconnected problem

I think the fact of that error happening means that there was
probably an error in NagVis backend (and it tried to report it).
I think amf-server is working correctly now.
The problem is that NagVis prohibits raw PHP error messages
from getting into the log.

You can try adding trigger_error($message) at the beginning of
__construct() in GlobalFrontendMessageBox.php to actually see the error
that NagVis was trying to report.

-- 
Roman Kyrylych
Software engineer
N-iX LLC
Solutions for Your success
http://www.n-ix.com


More information about the op5-users mailing list