ihris installation problem 4.3.0 under ubuntu 16.04

Asked by Abdou CAMARA on 2018-12-05

I have installed version 4.3.0 of iHRIS at the end of the update I have this error message and thanks for your help:Error Message:
Fatal Error: Array
(
   [type] => 1
   [message] => Uncaught Error: Call to undefined method iHRIS_UUID_Map :: generateUUID () in /var/lib/iHRIS/lib/4.3.0/ihris-common/modules/CSD/modules/CSDCache/lib/iHRIS_CSDCache.php: 74
Stack trace:
# 0 /var/lib/iHRIS/lib/4.3.0/ihris-common/modules/CSD/modules/CSDCache/lib/iHRIS_CSDCache.php(526): iHRIS_CSDCache :: generateUUIDasOID ()
# 1 /var/lib/iHRIS/lib/4.3.0/ihris-manage/modules/CSDUpdatedServices/lib/iHRIS_Module_ManageCSD.php(77): iHRIS_CSDCache :: intialize_csd_cache_metadata ('csd_manage_defa ...', Array)
# 2 /var/lib/iHRIS/lib/4.3.0/ihris-manage/modules/CSDUpdatedServices/lib/iHRIS_Module_ManageCSD.php(36): iHRIS_Module_ManageCSD-> intialize_csd_cache_metadata ()
# 3 /var/lib/iHRIS/lib/4.3.0/i2ce/lib/I2CE_Updater.php(1068): iHRIS_Module_ManageCSD-> post_update ('0', '4.3.0')
# 4 /var/lib/iHRIS/lib/4.3.0/i2ce/lib/I2CE_Updater.php(716): I2CE_Updater :: postUpdateModule ('ihris-manage-cs ...', '0', '4.3.0 ')
# 5 /var/lib/iHRIS/lib/4.3.0/i2ce/lib/I2CE_Updater.php(281): I2CE_Updater :: _ updateModules (Array)
# 6 /var/lib/iHRIS/lib/4.3.0/i2ce/lib/
   [file] => /var/lib/iHRIS/lib/4.3.0/ihris-common/modules/CSD/modules/CSDCache/lib/iHRIS_CSDCache.php
   [line] => 74

Question information

Language:
French Edit question
Status:
Answered
For:
iHRIS Manage Edit question
Assignee:
No assignee Edit question
Last query:
2018-12-05
Last reply:
2018-12-05
Gerard Bisama (gerbis2000) said : #1

Hi Abdou,
Make sure that you have installed the UUID module. To install and configure
it here is the instructions
sudo apt install php-uuid
Then create the ini file to load UUID into PHP
/etc/php/7.0/mods-available/uuid.ini
And make sure that you have this line in the file "extension=uuid.so"

Then enable uuid for Apache and CLI by creating 2 symlinks for the uuid
file.
sudo ln -s /etc/php/7.0/mods-available/uuid.ini
/etc/php/7.0/apache2/conf.d/20-uuid.ini
sudo ln -s /etc/php/7.0/mods-available/uuid.ini
/etc/php/7.0/cli/conf.d/20-uuid.ini

I hope that it may help.

Le mer. 5 déc. 2018 à 12:47, Abdou CAMARA <
<email address hidden>> a écrit :

> A question was asked in a language (French) spoken by
> none of the registered iHRIS Manage answer contacts.
>
> https://answers.launchpad.net/ihris-manage/+question/676611
>
> I have installed version 4.3.0 of iHRIS at the end of the update I have
> this error message and thanks for your help:Error Message:
> Fatal Error: Array
> (
> [type] => 1
> [message] => Uncaught Error: Call to undefined method iHRIS_UUID_Map ::
> generateUUID () in
> /var/lib/iHRIS/lib/4.3.0/ihris-common/modules/CSD/modules/CSDCache/lib/iHRIS_CSDCache.php:
> 74
> Stack trace:
> # 0
> /var/lib/iHRIS/lib/4.3.0/ihris-common/modules/CSD/modules/CSDCache/lib/iHRIS_CSDCache.php(526):
> iHRIS_CSDCache :: generateUUIDasOID ()
> # 1
> /var/lib/iHRIS/lib/4.3.0/ihris-manage/modules/CSDUpdatedServices/lib/iHRIS_Module_ManageCSD.php(77):
> iHRIS_CSDCache :: intialize_csd_cache_metadata ('csd_manage_defa ...',
> Array)
> # 2
> /var/lib/iHRIS/lib/4.3.0/ihris-manage/modules/CSDUpdatedServices/lib/iHRIS_Module_ManageCSD.php(36):
> iHRIS_Module_ManageCSD-> intialize_csd_cache_metadata ()
> # 3 /var/lib/iHRIS/lib/4.3.0/i2ce/lib/I2CE_Updater.php(1068):
> iHRIS_Module_ManageCSD-> post_update ('0', '4.3.0')
> # 4 /var/lib/iHRIS/lib/4.3.0/i2ce/lib/I2CE_Updater.php(716): I2CE_Updater
> :: postUpdateModule ('ihris-manage-cs ...', '0', '4.3.0 ')
> # 5 /var/lib/iHRIS/lib/4.3.0/i2ce/lib/I2CE_Updater.php(281): I2CE_Updater
> :: _ updateModules (Array)
> # 6 /var/lib/iHRIS/lib/4.3.0/i2ce/lib/
> [file] =>
> /var/lib/iHRIS/lib/4.3.0/ihris-common/modules/CSD/modules/CSDCache/lib/iHRIS_CSDCache.php
> [line] => 74
>
> --
> You received this question notification because your team iHRIS Answers
> is an answer contact for iHRIS Manage.
>

--
Gérard Bisama
Tel:+243810890810

Can you help with this problem?

Provide an answer of your own, or ask Abdou CAMARA for more information if necessary.

To post a message you must log in.