2012R1.1 version add contacts not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
perryell
Posts: 52
Joined: Fri May 06, 2011 10:12 am

2012R1.1 version add contacts not working

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: 2012R1.1 version add contacts not working

Post 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
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
perryell
Posts: 52
Joined: Fri May 06, 2011 10:12 am

Re: 2012R1.1 version add contacts not working

Post by perryell »

Working now, thanks!
Locked