tomolimo / processmaker

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

stdClass Object error while configuring. #65

Closed shraddharsh closed 6 years ago

shraddharsh commented 6 years ago

While I try to configure everything seems to work fine other than server administrator password. It gives me an error of stdClass object. The message being pretty vague, neither there are any httpd logs that I could figure out what exactly and where is the error. Please provide a proper response to resolve the issue.

tomolimo commented 6 years ago

Hello, Could you post your GLPI, ProcessMaker server and plugin configurations? Thank you Regards Tomolimo

shraddharsh commented 6 years ago

Hi @tomolimo I was only trying to configure processmaker and that's when I encountered this issue. Please find below the screenshot of my processmaker configuration. Configuration

tomolimo commented 6 years ago

Hello @shraddharsh

Could you follow the wiki? Main page here: https://github.com/tomolimo/processmaker/wiki Plugin configuration here: https://github.com/tomolimo/processmaker/wiki/Plugin-configuration

Thank you, Regards, Tomolimo

shraddharsh commented 6 years ago

Hi @tomolimo , I resolved the issue by entering the correct credentials. Previously I tried configuring entering credentials of GLPI and then tried using credentials of processmaker and it worked.

But apart of this I've been having issue regarding cross-origin frames which at the moment I'm going through using the --disable-web-security mode.

tomolimo commented 6 years ago

Hello @shraddharsh For the cross-origin-frames, you must use a domain for GLPI and a domain for PM, and these domain must have a common root, for exemple: GLPI: glpi.mydomain.com PM: pm.mydomain.com or GLPI: myserver.mydomain.com PM: myserver.mydomain.com:8000

Note 1: localhost cannot be used, as it doesn't define any domain. Note 2: the common domain must have at least two parts, like 'mydomain.com'. For exemple: '.com' is not enough.

Try this and it will solve the issue.

regards, Tomolimo