tomolimo / processmaker

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

No view Dynaform in GLPI #83

Closed mickaelccc closed 5 years ago

mickaelccc commented 5 years ago

Hello,

First thx for your work and for this plugin

All seems to be good but i cant see dynaform in GLPI (Everything works perfectly in processmaker)

I installed processmaker-server-3.0.1.8-RE-1.9 on Centos 7 with Apache 2.4.6 / php 5.6.38 / MySQL 5.5.50 / GLPI 9.2 (with Plugin Processmaker 3.3.1)

I Disabled / cleaned all plugins processmaker2

processmaker1

I added the process example "Remplacement materiel non standard" (i replaced group "Employé" with "GLPI users" i did the change in processmaker "Designer" )

I was able to:

sync process image

sync tasks list image

add process image

The Map view is really small i dont know why... image

There is my problem... :( image

I dont have any error in PHP information "No value" image

Sync group "GLPI Users" : OK image

Permission in Processmaker(Admin & Operator) : OK image

Permissions (in processmaker) : OK image

Rules of affectations : OK image

Add lang : I think its okay but i'm not really sure image

Add skins : OK image

PM requirements : OK image

Informations systeme : processmaker3_

Log GLPI: sql-errors.log : no error

php-errors.log : i have this

" Backtrace : inc/toolbox.class.php:478 Toolbox::backtrace() inc/autoload.function.php:168 Toolbox::deprecated() plugins/processmaker/inc/case.class.php:605 _e() plugins/processmaker/inc/case.class.php:731 PluginProcessmakerCase::showForItem() inc/commonglpi.class.php:482 PluginProcessmakerCase::displayTabContentForItem() ajax/common.tabs.php:96 CommonGLPI::displayStandardTab() "

I have tried almost everyting you provide in the issue "[Tutorial 1] No view dynaform #39"

Thanks you for your help & time

tomolimo commented 5 years ago

Hello @mickaelccc

Thank you for all of these screen shots.

I think your problem is that you have installed PM server 3.0.1.8-community-RE-1.9, but you are not using it. Unfortunately you are using the 3.0.1.8-community version

I can be so sure, because, of the version number here in your screenshots: image

It should be 3.0.1.8-community-RE-1.9 and not 3.0.1.8-community (which is the version from ProcessMaker)

So please check your installation, and keep me informed.

Thank you Regards, Tomolimo

mickaelccc commented 5 years ago

Hello Tomolimo,

Thank you for your anwser

So i'll try new a installation asap

Thank you

mickaelccc commented 5 years ago

Hello Tomolimo

I reinstall processmaker and i've the same issue with the dynaform :( 2018_12_10_14_40_12_glpi_configuration

Thank you

tomolimo commented 5 years ago

Hello @mickaelccc This kind of error is usually linked to the so-called common domain between GLPI and PM. Could check if there are errors in the php error-logs, and in your browser console (press F12 and reload your pages)? Thank you Regards, Tomolimo

mickaelccc commented 5 years ago

There is no error in my browser ( all status < 302 ) and in the php error logs the only thing i have :

Backtrace : inc/toolbox.class.php:478 Toolbox::backtrace() inc/autoload.function.php:168 Toolbox::deprecated() plugins/processmaker/inc/case.class.php:605 _e() plugins/processmaker/inc/case.class.php:731 PluginProcessmakerCase::showForItem() inc/commonglpi.class.php:482 PluginProcessmakerCase::displayTabContentForItem() ajax/common.tabs.php:96 CommonGLPI::displayStandardTab()

i really dont understand what's happening...

thank you

tomolimo commented 5 years ago

Hello @mickaelccc,

Regarding the error on _e(: it's only a deprecated (will be fixed in next release).

but for the "common domain" issue: What I can propose to you is that I can connect to your system (using for example Teamviewer, Jitsimeet or else) and then I can help you troubleshooting this. It's up to you to propose a date and time, but I'll prefer to do it during evenings (around 20:30 UTC+1). Regards, Tomolimo

mickaelccc commented 5 years ago

Hello Tomolimo,

I know you trying to help but I cant do that Do you have any check list i can use ?

Thank you

tomolimo commented 5 years ago

Hello @mickaelccc

I know you trying to help but I cant do that

What's the problem? Is it a question of time? or a question of security? If it's a question of time, I can do it also during your working hours, just tell me.

Do you have any check list i can use ?

Here is a list of questions/things to do that can help to troubleshoot the issue:

  1. Could you check and post the Apache config?
  2. Could you check and post the hostname (=FQDN) of the GLPI server and of the PM server?
  3. Could you post the GLPI url configuration? In menu Setup > General > General setup: field URL of the application.
  4. The so-called common sub-domain must at least be composed of two members, examples: com is wrong, mydomain.com is OK.
  5. Hostname (=FQDN) of PM server must be ping-able from the GLPI server itself (if not installed on the same server). Means Hostname (=FQDN) of PM server must be in the DNS.
  6. You may do a check in your browser using the developer tools (F12), but this time using the console to see javascript errors (and not only the network errors like you did already). I believe there is a javascript error with the document.domain property, or with something like window.parent.

The advise I can give you is to re-read the Wiki regarding the installation of the PM server, especially the Apache2.4 configuration and inbound rewrite rule. See: PM server installation

Regards, Tomolimo

tomolimo commented 5 years ago

Closed as I got no answer for last comment. Feel free to re-open if something is new on your side.