Page 1 of 2
XI sending email issue
Posted: Thu Oct 31, 2013 8:21 pm
by BanditBBS
Code: Select all
[Thu Oct 31 16:16:55 2013] [error] [client 10.94.6.67] PHP Fatal error: Call to undefined function mb_convert_encoding() in /usr/local/nagiosxi/html/includes/utils-email.inc.php on line 79, referer: http://svcldnagios01/nagiosxi/admin/testemail.php
Getting the above error when I try and send a test email. This is the server I did an offline install on, so I imagine something is missing. Any ideas?
Re: XI sending email issue
Posted: Fri Nov 01, 2013 9:44 am
by tmcdonald
StackOverflow to the rescue?
http://stackoverflow.com/questions/8266 ... is-enabled
tl-dr; Newer PHP versions might not have the Mulibyte module installed by default. Try "yum install php-mbstring"
Re: XI sending email issue
Posted: Fri Nov 01, 2013 9:49 am
by BanditBBS
What part of offline install did you not understand? lol

Re: XI sending email issue
Posted: Fri Nov 01, 2013 9:56 am
by abrist
What version of the offline installer did you use?
Re: XI sending email issue
Posted: Fri Nov 01, 2013 9:58 am
by tmcdonald
I assumed you did an offline install for a system that would eventually go online. I'll shut up now and let Andy handle it.
Re: XI sending email issue
Posted: Fri Nov 01, 2013 10:45 am
by BanditBBS
tmcdonald wrote:I assumed you did an offline install for a system that would eventually go online. I'll shut up now and let Andy handle it.
Thanks god! LOL
abrist wrote:What version of the offline installer did you use?
Umm, the one I was given

Let me see if I can find it......here: RHEL-6.4-x86_64-6.10.13.tar.gz
Re: XI sending email issue
Posted: Fri Nov 01, 2013 1:35 pm
by yancy
BanditBBS,
can you run the following and let us know if Multibyte is enabled
Code: Select all
echo "<?php phpinfo(); ?>" > /tmp/php_info.php && chmod +x /tmp/php_info.php && php php_info.php | grep "Multibyte Support"
-Yancy
Re: XI sending email issue
Posted: Fri Nov 01, 2013 1:40 pm
by BanditBBS
Code: Select all
Zend Multibyte Support => disabled
Re: XI sending email issue
Posted: Fri Nov 01, 2013 1:55 pm
by yancy
BanditBBS,
have a loot at:
http://www.php.net/manual/en/ini.core.p ... .multibyte
you should be able to enable by adding the following line to /etc/php.ini
(then restart apache)
-Yancy
Re: XI sending email issue
Posted: Fri Nov 01, 2013 2:01 pm
by BanditBBS
That didn't resolve it
I'm putting in one final firewall change request before our holiday freeze and including opening this up to the internet. Hopefully will get done Tuesday or Thursday.