tomolimo / processmaker

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

Blank screen when trying to sync tasks #58

Closed BlackxRyan closed 6 years ago

BlackxRyan commented 6 years ago

Hi Tomolino.

I created tasks on Processmaker and then cases (by the way, I don't really understand how it works).

image

image

And when I try to sync the task list on the GLPI plugin, I have a blank page.

image

image

tomolimo commented 6 years ago

Hello @BlackxRyan

  1. You may find valuable explanations on the wikis: https://github.com/tomolimo/processmaker/wiki and http://wiki.processmaker.com/index.php/ProcessMakerDocumentation3_0
  2. The blank task page is due to a problem of language definition in PM, see: https://github.com/tomolimo/processmaker-server/wiki/Languages

regards, Tomolimo

BlackxRyan commented 6 years ago

They both use the same language and I downloaded the PM one on sourceforge but I still have this blank page.

image

image

tomolimo commented 6 years ago

You have installed fr-FR, and that's not respecting what is written here: https://github.com/tomolimo/processmaker-server/wiki/Languages

BlackxRyan commented 6 years ago

That's strange because I uploaded "processmaker.fr.po", not "processmaker.fr-FR.po"

image

image

tomolimo commented 6 years ago

you have to modify the content of the po file like explained in the wiki

BlackxRyan commented 6 years ago

Just saw it. It's now good.

image

I'm going to try again.

BlackxRyan commented 6 years ago

I still have a blank screen...

tomolimo commented 6 years ago

what do you have in the log files?

BlackxRyan commented 6 years ago

image

tomolimo commented 6 years ago

So nothing interesting for us

I'll check that when I get home

BlackxRyan commented 6 years ago

Ok, no problem.

tomolimo commented 6 years ago

Hello @BlackxRyan

Several questions:

  1. What language did you set for the main language in GLPI?
  2. What language did you use to create your process in PM?
  3. Could you check the table CONTENT from the WF_WORKFLOW DB in MySQL? Use SELECT * FROM CONTENT WHERE CON_CATEGORY = 'TAS_TITLE' to select all the task titles of all processes in PM. You should be able to find for which languages the tasks have been defined, please post the result.

Thank you Regards, Tomolimo

BlackxRyan commented 6 years ago
  1. French
  2. French
  3. And despite creating processes and tasks with fr language, the table CONTENT has task in english, that's strange.

image

tomolimo commented 6 years ago

Hello @BlackxRyan Thank you

And despite creating processes and tasks with fr language, the table CONTENT has task in english, that's strange.

That's perfectly normal, as you may have users who will use English for their UI, then PM server needs translations (which by default are the identical to the language you used to create the process).

At the end I need your VM to be able to debug the task refresh. Could you upload it to any cloud service (like onedrive, or else)?

Thank you, Regards, Tomolimo

BlackxRyan commented 6 years ago

Here it is : https://www.reep.io/d/8oby7qw3h0

tomolimo commented 6 years ago

Can't get it, it shows the following screen: image

BlackxRyan commented 6 years ago

Retry it, it should be ok. That's the first time I use this site, a friend recommanded it to me.

tomolimo commented 6 years ago

that will not work for us as it is using a port that's not open in our proxy: image

BlackxRyan commented 6 years ago

I'm going to upload it on Google Drive, I'll give you the link.

tomolimo commented 6 years ago

ok, thank you

BlackxRyan commented 6 years ago

I uploaded the whole VM file just in case, here it is : https://drive.google.com/drive/folders/1Gnc08_UnXL2gIo7G3jLwBxkwdCz1qWVH?usp=sharing

tomolimo commented 6 years ago

I'm currently downloading it

BlackxRyan commented 6 years ago

Just thought about something. You may need my login and my password to log in my VM. Where can I send you these ?

BlackxRyan commented 6 years ago

Also is your plugin compatible with the new version of GLPI (9.2.3) ?

tomolimo commented 6 years ago

Hello @BlackxRyan

Just thought about something. You may need my login and my password to log in my VM. Where can I send you these ?

Yes, please send them to professional email

Also is your plugin compatible with the new version of GLPI (9.2.3) ?

it should be, but to be tested, as it was compatible with 9.2.2

regards, Tomolimo

BlackxRyan commented 6 years ago

Your plugin seems to be working on GLPI 9.2.3 as it syncs the processes correctly.

I sent you the IDs.

BlackxRyan commented 6 years ago

Hi tomolino.

I just wanted to know if you found something.

tomolimo commented 6 years ago

Hello @BlackxRyan I was in holidays, so I had no time yet to look at your issue. I'll have a look at it before end of this week. thank you Regards, Tomolimo

BlackxRyan commented 6 years ago

No problem :)

BlackxRyan commented 6 years ago

Problem solved, the "intl" module (for language) was missing.

Just have to do "apt-get install php5-intl".

Thanks a lot for your help tomolino.

tomolimo commented 6 years ago

You're welcome, Regards Tomolimo