Page 1 of 1

2012R1.1 version add contacts not working

Posted: Wed Oct 31, 2012 2:23 pm
by perryell
I installed 2012R1.1 (oct 5 vm 64 bits). Updated with OCt 25 upgrade.
I created some users with contact without problem
After i tried to create some contacts..configure--core configuration manger--contacts--Add new
I try with a test user with the required fields and email , active check mark, configuration saved
No message back of contact added succesfully, just blank screen. Going back to contacts menu, and user never added

Delete contact works perfect, but i can't add the contact back after deletion
Add contracts group works too

Thanks
Ileana

Re: 2012R1.1 version add contacts not working

Posted: Wed Oct 31, 2012 2:43 pm
by scottwilkerson
Yep, this is a bug relating to out adding Internationalization to the Nagios XI code.

Edit /usr/local/nagiosxi/html/includes/components/ccm/includes/contact.inc.php
change this on line 278

Code: Select all

if ($errors > 0) $strMessage .= gettext("There were ").$errors.gettext(." errors while processing this request")."<br />".$myDataClass->strDBMessage;
to this

Code: Select all

if ($errors > 0) $strMessage .= gettext("There were ").$errors.gettext(" errors while processing this request")."<br />".$myDataClass->strDBMessage;
Or unzip the attached file and replace /usr/local/nagiosxi/html/includes/components/ccm/includes/contact.inc.php

Re: 2012R1.1 version add contacts not working

Posted: Wed Oct 31, 2012 3:18 pm
by perryell
Working now, thanks!