Getting error while adding service to map

nagvis

(vani) #1

Hi,

I just installed NagVis 1.9.7 on web server, while adding service to newly created map I am getting below error

Kindly help ?

Failed to get objects: Error: (0) Undefined property: CorePDOHandler::$data

URL: /nagvis/server/core/ajax_handler.php?mod=Map&act=addModify&show=Sample_Servicemap&type=service&x=450&y=114&_ajaxid=1522171777
File: /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php
Line: 306
#0 /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php(306): nagvisExceptionErrorHandler(8, ‘Undefined prope…’, ‘/usr/local/nagv…’, 306, Array)
#1 /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php(332): CorePDOHandler->prep(‘SELECT name1,na…’)
#2 /usr/local/nagvis/share/server/core/classes/GlobalBackendPDO.php(250): CorePDOHandler->query(‘SELECT name1,na…’, Array)
#3 /usr/local/nagvis/share/server/core/mapcfg/default.php(145): GlobalBackendPDO->getObjects(‘host’, ‘’, ‘’)
#4 /usr/local/nagvis/share/server/core/mapcfg/default.php(159): getObjectNames(‘host’, Object(GlobalMapCfg), NULL, Array)
#5 /usr/local/nagvis/share/server/core/classes/ViewMapAddModify.php(394): listHostNames(Object(GlobalMapCfg), NULL, Array)
#6 /usr/local/nagvis/share/server/core/classes/ViewMapAddModify.php(509): ViewMapAddModify->drawField(‘host_name’, Array, Array)
#7 /usr/local/nagvis/share/server/core/classes/ViewMapAddModify.php(537): ViewMapAddModify->drawFields(Array)
#8 /usr/local/nagvis/share/server/core/classes/ViewMapAddModify.php(620): ViewMapAddModify->drawForm()
#9 /usr/local/nagvis/share/server/core/classes/CoreModMap.php(133): ViewMapAddModify->parse()
#10 /usr/local/nagvis/share/server/core/functions/index.php(120): CoreModMap->handleAction()
#11 /usr/local/nagvis/share/server/core/ajax_handler.php(59): require(’/usr/local/nagv…’)
#12 {main}
Output:
<form id=“addmodify” name=“addmodify” action=“javascript:submitForm(’/nagvis/server/core/ajax_handler.php?mod=Map&amp;act=addModify’, ‘addmodify’);” method=“POST”> <input type=“hidden” id="_form_name" name="_form_name" value=“addmodify” /> <input type=“hidden” id="_update" name="_update" value=“0” /> <input type=“hidden” id=“sec” name=“sec” value=“general” /> <ul class=“nav” id=“nav”><li id=“nav_general” class=“active”><a href=“javascript:toggle_section(‘general’)”>General</a></li><li id=“nav_appearance” ><a href=“javascript:toggle_section(‘appearance’)”>Appearance</a></li><li id=“nav_state” ><a href=“javascript:toggle_section(‘state’)”>Status</a></li><li id=“nav_actions” ><a href=“javascript:toggle_section(‘actions’)”>Actions</a></li><li id=“nav_label” ><a href=“javascript:toggle_section(‘label’)”>Label</a></li><li id=“nav_worldmap” ><a href=“javascript:toggle_section(‘worldmap’)”>Worldmap</a></li></ul><div id=“sec_general” class=“section” style=""><table class=“mytable”><tr class=“must”><td class=tdlabel>host_name</td><td class=tdbox></td><td class=tdfield>

(vani) #2

Please ignore this request. I am able to fix the issue as this is DB communication issue.


(Nicolai) #3

If the topic is solved, please mark it so: Mark a topic as solved