iHRIS Installation on Ubuntu 16.04

61 views
Skip to first unread message

Billy Njoka

unread,
May 18, 2021, 12:14:22 PM5/18/21
to Global iHRIS Community
Hi All,

Greetings. I have been trying to restore an iHRIS installation on Ubuntu 16.04. When I attempt to initialize the site, I get the error below:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/uuid.so' - /usr/lib/php/20151012/uuid.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Fatal error:  Uncaught Error: Call to undefined function mb_internal_encoding() in /var/lib/iHRIS/lib/4.2/I2CE/lib/I2CE.php:211
Stack trace:
#0 /var/lib/iHRIS/lib/4.2/I2CE/lib/I2CE.php(631): I2CE::dbConnect(Array)
#1 /var/lib/iHRIS/sites/moh/pages/index.php(49): I2CE::initializeDSN('mysql://root:iH...', NULL, '/var/lib/iHRIS/...')
#2 {main}
  thrown in /var/lib/iHRIS/lib/4.2/I2CE/lib/I2CE.php on line 211
I2CE: I2CE->raiseError:
        Fatal Error:Array
        (
            [type] => 1
            [message] => Uncaught Error: Call to undefined function mb_internal_encoding() in /var/lib/iHRIS/lib/4.2/I2CE/lib/I2CE.php:211
        Stack trace:
        #0 /var/lib/iHRIS/lib/4.2/I2CE/lib/I2CE.php(631): I2CE::dbConnect(Array)
        #1 /var/lib/iHRIS/sites/moh/pages/index.php(49): I2CE::initializeDSN('mysql://root:iH...', NULL, '/var/lib/iHRIS/...')
        #2 {main}
          thrown
            [file] => /var/lib/iHRIS/lib/4.2/I2CE/lib/I2CE.php
            [line] => 211
        )

Any ideas on how to navigate the mb_internal_encoding() error?

Kind regards,
Billy

Sovello Hildebrand Mgani

unread,
May 18, 2021, 10:55:59 PM5/18/21
to ih...@googlegroups.com
You need to install the multibyte string extensio and uuid extension.
Here's a reference for mbstring: https://www.php.net/manual/en/book.mbstring.php
Hope that helps

--
You received this message because you are subscribed to the Google Groups "Global iHRIS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ihris+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ihris/a508b0de-7cf2-468c-bf43-da4875f2dec1n%40googlegroups.com.

Billy Njoka

unread,
May 19, 2021, 10:47:15 AM5/19/21
to Global iHRIS Community
Thank you Sovello. That worked. mbstring and some other php packages such as mdb2 were missing. Thanks to Nobert also for your technical support on the same issue.
Reply all
Reply to author
Forward
0 new messages