tomolimo / processmaker

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

Can't modify and log in users #57

Closed BlackxRyan closed 6 years ago

BlackxRyan commented 6 years ago

Hi tomolino.

Using the automatic action "pmusers", I synchronized the users I created on GLPI with Processmaker.

image

But when I try to edit these users by clicking on "Edit", I have a blank screen.

image

And I can't log in into Processmaker with these accounts too. I can only log in with them in GLPI.

image

Is there a thing to do I missed ?

Thanks in advance.

tomolimo commented 6 years ago

Hello

  1. For security reasons, you cannot log into PM server with these accounts.
  2. But anyway you should be able to view the users form. Could you look at the log files? Thank you Regards Tomolimo
BlackxRyan commented 6 years ago

Hi.

Here are the browser logs (there is nothing in processmaker logs) :

image

tomolimo commented 6 years ago

and in GLPI logs?

BlackxRyan commented 6 years ago

image

image

tomolimo commented 6 years ago

Hello What I expected were the PHP log files. Thank you Regards Tomolimo

BlackxRyan commented 6 years ago

Where can I find them ?

tomolimo commented 6 years ago

in your glpi folder, in files/_log

BlackxRyan commented 6 years ago

image image

tomolimo commented 6 years ago

It seems that there is a problem with the version of PM server. Could you send a copy of the PM config? Thank you Regards Tomolimo

BlackxRyan commented 6 years ago

image

image

tomolimo commented 6 years ago

Oups, sorry, I didn't pay attention to the date...the errors were before you installed the right version (3.0.1.8-RE-1.8)?

Could you try to get the logs of the PM server? To know where they are you should go to the PM server PHP Information, and then on the php_info page, you shoul dbe able to search for the error log path.

Thank you Regards, Tomolimo

BlackxRyan commented 6 years ago

No, the errors were after I installed the right version.

I looked several times at the php info page but I can't find the error log path.

tomolimo commented 6 years ago

No, the errors were after I installed the right version.

do you mean the $status errors?

I looked several times at the php info page but I can't find the error log path.

search for "error_log" like shown below: image

BlackxRyan commented 6 years ago

The errors in cron.log and php-errors.log.


That's why I couldn't find the path, there is "no value".

image

tomolimo commented 6 years ago

then it's a good practice to set this in your php.ini file, and then restart your web server, and then retest in order to get errors (if any).

BlackxRyan commented 6 years ago

I have the path now.

image

I restarted my web server and retested but the file is empty.

tomolimo commented 6 years ago

And do you still have the $status error in the GLPI logs?

BlackxRyan commented 6 years ago

No according to the dates.

image

tomolimo commented 6 years ago

Which version of GLPI are you using?

BlackxRyan commented 6 years ago

9.2.2

tomolimo commented 6 years ago

really, I can't see what's going on :sob:

the ultimate idea: I may remotely connect to your machine and I can try to find the issue.

BlackxRyan commented 6 years ago

There's no problem but I'm using VirtualBox so I don't know if you can. Maybe with TeamViewer.

I could also give you my VM's HDD.

tomolimo commented 6 years ago

on last idea: could post a screen copy of the PM plugin config? What's the PM server URL and the GLPI URL?

tomolimo commented 6 years ago

Yes it's a good idea to post your VM HDD. For the size, you may use a web service to upload the VM to it and then give me back the URL, so that I can download.

BlackxRyan commented 6 years ago

PM plugin config

image

PM server URL : 10.0.2.15:8080

PM server URL (Home) : 10.0.2.15:8080/sysworkflow/en/neoclassic/cases/main

GLPI URL : 10.0.2.15/glpi

tomolimo commented 6 years ago

I think that you should try with FQDN server names instead of ip addresses. Like for GLPI: http://glpi.test.com/ and for PM server http://pm.test.com/ using two virtual hosts in your web server configuration.

Another idea: did you install PM server "workflow" workspace in one DB or in 3 DBs?

BlackxRyan commented 6 years ago

Ok, I'll try it.

Another idea: did you install PM server "workflow" workspace in one DB or in 3 DBs?

In one DB I think (wf_workflow).

tomolimo commented 6 years ago

In one DB I think (wf_workflow).

could you check it?

BlackxRyan commented 6 years ago

Yes, one DB : wf_workflow

image

BlackxRyan commented 6 years ago

I created 2 FQDN Server names "glpi.com" and "processmakertest.com" and it solved the issue !

image

Maybe it was because they weren't using the same port.

The plugin is also working correctly with the domain name.

Thanks for all the time you spent helping me.

tomolimo commented 6 years ago

normally not, but who knows?

tomolimo commented 6 years ago

thank you for your feedback.

BlackxRyan commented 6 years ago

You're welcome, I'll tell you if I have an other issue.