tomolimo / processmaker

GLPI plugin that provides an interface with ProcessMaker (http://www.processmaker.com/)
30 stars 11 forks source link

Synchronise task list trows exception on new install (trying to follow the tut) #93

Closed Geo-Ron closed 4 years ago

Geo-Ron commented 4 years ago

Current install: -GLPI 9.4.3 on IIS with PHP7 and MariaDB -Processmaker on the same server, IIS site with PHP 5.6.30 and the same MariaDB -Processmaker 3.3.0-community-RE-1.6 -Processmaker plugin 3.6.5

Synchronise Process List works for a process to start the task synchronisation the following exceptions shows in my screen:

Fatal error: Uncaught Error: Call to undefined function locale_get_primary_language() in D:\WebApplications\GLPI\plugins\processmaker\inc\process.class.php:85 Stack trace: #0 D:\WebApplications\GLPI\plugins\processmaker\front\process.form.php(22): PluginProcessmakerProcess->refreshTasks(Array) #1 {main} thrown in D:\WebApplications\GLPI\plugins\processmaker\inc\process.class.php on line 85
PHP Fatal error: Uncaught Error: Call to undefined function locale_get_primary_language() in D:\WebApplications\GLPI\plugins\processmaker\inc\process.class.php:85 Stack trace: #0 D:\WebApplications\GLPI\plugins\processmaker\front\process.form.php(22): PluginProcessmakerProcess->refreshTasks(Array) #1 {main} thrown in D:\WebApplications\GLPI\plugins\processmaker\inc\process.class.php on line 85
Geo-Ron commented 4 years ago

https://www.php.net/manual/en/locale.getprimarylanguage.php shows both PHP versions should have it...

tomolimo commented 4 years ago

Hello, The Intl module is missing. Try php -mto have a list of the activated modules in your php.ini Thank you Regards, Tomolimo

Geo-Ron commented 4 years ago

Hi @tomolimo,

Thanks for your quick response

It was indeed disabled.

But enabling it, does not resolve my issue. The exception remains the same... image

PHP -m output image

tomolimo commented 4 years ago

Hello @Geo-Ron The Intl module is needed on the GLPI side, not on the ProcessMaker server side. Is the module activated for GLPI? Thank you, Regards, Tomolimo

Geo-Ron commented 4 years ago

image

Geo-Ron commented 4 years ago

Thank you! My issue is resolved!

tomolimo commented 4 years ago

you're welcome