Giter VIP home page Giter VIP logo

Comments (46)

tomolimo avatar tomolimo commented on May 29, 2024

Hello
Could you check if any errors are present in the log files?
Thank you
Tomolimo

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

Hello,

In Processmaker i don't have a error...

bug6

bug5

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Thank you,

But to get PHP logs, you must look into the log files here: glpi_directory_installation/files/_log/.... for GLPI error logs. In this folder, you should find several log files, like php-errors.log and sql-errors.log.
image

And in the default PHP error log file for ProcessMaker server (to find it, look into the php info page like shown here https://github.com/tomolimo/processmaker-server/wiki/ProcessMaker-server-configuration-check, and search in the page for the keyword error_log)
image

For information: the cron for ProcessMaker server is not running, so you should not have any error in it.

regards,
Tomolimo

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Thank you,
Could you try to paste the complete SQL error logs, I can see strange $ at end of lines.
And then could you empty these files, and try to view the dynaform from ProcessMaker server (to see this infinite loop)?
regards,
Tomolimo

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Hello,
I can see several things:

  1. you have a problem with the formcreator plugin, you may disable it and do some new tests
  2. I have a problem with the title of the process, it seems like the plugin doesn't support the quote in the middle of the process title, you may try without quote like "Demande achat LAFI" instead of "Demande d'achat LAFI". I'm going to check this point. The quote should be escaped!

You may test these after the installation of the right PM server 😃

Thank you,
Regards,
Tomolimo

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

I just deactivate formcreator and change the '
The installation was already done last night ... 3.0.1.8.community re 1.7

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

and then, did you redo the tests?

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

Yes... always the same

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

and in the logs?

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

the logs that I sent you today date ...

You think I have to delete everything and start over?

I am in version 3.2.0 of the plugin

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Which version of GLPI?

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

9.2.1

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

ok, thank you, I understand, I made a fix for this trouble of the quote in process title and in task titles, but I've not generated a new release. see #32
Could you try to get the files from the master branch and do a new test? https://github.com/tomolimo/processmaker/tree/master

regards,
Tomolimo

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

I deleted the plugin of glpi by doing "clean" and "delete the folder" but now impossible to reinstall it, blank page plugin folder

bug9

In _log/php.errors.log
From Plugin :: getInfo () in /var/www/html/glpi/inc/plugin.class.php line 1373
   plugin_version_del_processmaker method must be defined!

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

To completely clean the plugin, you must drop all glpi_plugin_processmaker_xxxx tables, and in then you may clean the plugin from the plugin page.
But your error seems to arise because processmaker plugin folder has been renamed to del_processmaker?
Any folder in the plugin folder is understood by GLPI as a valid plugin. Could you check this in the plugin folder?

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

Always the same thing,
however, I see the case map, the task history ...

I think it's not related to glpi because it still turns into a vacuum on processmaker. when viewing the dynaform ..

bug10

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

And in the log files?

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Anyway, I'm trying to help you to use PM server too 😄

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Could you send to me a zipped file of the exported PM process?

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

thanks a lot for your help....

https://wetransfer.com/downloads/c27914448459de2cad5b32575d5c617c20171228152534/641e1525245b9e87a3f698c2cba1f37720171228152534/35600a

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

got it, you may delete the link if you want

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

When you said:

when viewing the dynaform ..

Do you mean that in PM server, you've started a case, and that you are trying to execute the first task?

Or do you mean that you are editing the process, and that you are trying to edit the "1.Fiche de dotation" dynaform?

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Other questions:

  1. which browser are you using?
  2. what is your web server? Apache, IIS, Ngnix,. ..?
  3. what is your server configuration? Windows, else? Version?
    And anything that can help?

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

When I add the processmaker to a glpi ticket, I do not see the form ... and I try to perform the first step ...

Will you get there with my file?

Chrome 63....
Apache 2.4.6
PHP Version 5.6.32
Server => centos 7

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Question about the process itself:

  1. in group "Employé", do you have some users? or is it empty? (mine is empty, but it's can be normal, as I don't have your user list).
  2. A gateway is missing after the "Validation" task a gateway is always mandatory when there is a choice that must be done in the routing.

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Another thing is:
You cannot have a task not linked to anything. The task "Nouvel Arrivant" is clearly a problem...
If you want to add text, then use the text tool
image

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

In the group used, there are all my glpi users. I imported them with the cron in glpi "pmuser".
Okay, I'm deleting this task.
On the other hand on your side you have the continuous loading during the visualization of the dynaform "File of endowment" by displaying the preview ... if not I have a problem in processmaker ...

bug11

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

I've also deleted the task, and also added a gateway at the end of 'Validation' task like:
image
In processmaker: here is the pre-visualization in Chrome 63 of the "1.Fiche de dotation" dynaform:
image

and in a ticket in GLPI 9.2.1 with PM plugin 3.2.0 in IE11:
image

Could you in Chrome, start the developer tools (F12), and check the network when you try to pre-visualize the dynaform? I think something is not correctly set with Apache (or PM server) which may prevent you from pre-viewing the dynaform.

I've to go now, see you tomorow

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Hello,
Any news this morning?
Regards,
Tomolimo

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

Hello Tomolino,

I advance a little on my problem, I left zero.

From now on, I see my dynaform in processmaker "visualization".
I added permissions on my processmaker and I can see the list of dynaform but still not possible to view on GLPI.
The first task, I see nothing and on the second I am sent on processmaker for the validation of my workflow and not in glpi.

Here is my workflow if you can test it on your side ...

https://wetransfer.com/downloads/aab96cc6072592f48966b7a99d5f243b20180105075454/aa4644ebe12e71dcb64d9244a174d69020180105075454/4f2a72

1 : I do not see the dynaform, not possible write.

bug1

**2 : **

bug2

3 : I am redirected to processmaker

bug3

I can validate but in processmaker

bug4

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Hello,
There are two issues in your description:

  1. issue of redirection: it's easy: you have to name the submit button correctly: see: https://github.com/tomolimo/processmaker/wiki/Tutorial-1 -> note 6.
  2. issue of dynaform visualization: it's harder to tell, but a clue could be the configuration of the skins in Processmaker server: Could check this? See: https://github.com/tomolimo/processmaker-server/wiki/Skins

Otherwise we may use the 'Developer tools' in Chrome to troubleshoot this issue. Tell me about the skins, and after that I'll explain you about the 'Developer tools'

regards,
Tomolimo

from processmaker.

juveboss avatar juveboss commented on May 29, 2024
  1. I put the redirector but always the same ...
        => I made a syncronization in glpi.
        => Can you send me a workflow that works to see if I have not done other fault?

  2. Attached, for me no problem ...

bug5

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

For the 1. you may clear the cache in ProcessMaker, see: https://github.com/tomolimo/processmaker-server/wiki/ProcessMaker-server-configuration-check#clear-cache, and clear the browser cache.

for the 2. you may use the tutorials: https://github.com/tomolimo/processmaker/wiki/Tutorials

I'll provide you with your process, let me some minutes 😃

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Here is you process 'Remplacement materiel non standard' which runs in PM server and in GLPI:
Remplacement_materiel_non_standard-1 (1).zip

and an example in GLPI (in IE11, but also tested in Chrome):

image

Of course I've change the people inside the group 'Employé' to be able to execute the case.

regards,
Tomolimo

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

Cache => Deleted
I import your process, I always have the same ...

Instead of putting a User Group I tried to put "My GLPI User" on each dynaform. I am always redirected to the processmaker ... and I do not see the first dynaform ...

Here are all the options I configured for this process ...
I must miss something, but I do not see what ... --'

bug10

bug11

bug12

bug13

bug14

bug15

bug16

In the last image, I can not click on preview either ...
But I see all the other tabs "historical case, historical evolution, case map"

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Ok, then let's try the 'Developer tools' in Chrome.

  1. load in Chrome the page of the ticket
  2. press F12 (or CTRL + SHIFT +I) it will open a new Chrome page (= the so-called 'Developer tools')
  3. click on the 'Network' tab, then check the 'Disable cache' and the 'Preserve log' options.
    image
  4. press F5 to reload ticket page, then you should get a list of loaded files like following:
    image
    See the column 'Size' where from times to times it's written '(from memory cac...)' or '(from disk cache)': it means that Chrome didn't load the file from the server but from its cache. to prevent this really check the 'Disable cache' option like shown above.
  5. see the 'Status' column: it shows if the page has been correctly loaded (code 200) or if something else occurred. check if you can see something like error code in the range 400-499.
  6. search in the list the loaded file with name cases.js?_=anumber and check that this file is loaded or not.

You may clear the list if needed to restart the page load:
image

Thank you,
regards,
Tomolimo

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

By staying on the ticket page:
No mistake other than 200 ...
No file with name case.js?

If I choose my process and I valid
Error 302 and I see several case.js ...

bug21

I have 3 error ... in the tool I do not know if it can help ..

bug20

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024
  1. the file is not case.js, but as I wrote cases.js?_=anumber which is in the list 😃
  2. But what is strange is that there are several cases_Open?sid=xxxxx, as if it was trying to open several tasks at the same time.

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

I just redo being on this page ...
I still have the 3 errors as above

bug27

bug25

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

And in the source tab:
image

at bottom of this window, you may have a list of error messages.
image

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Please check also the PHP error logs of GLPI and PM server.

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

I don't see a list of error messages.

but error in php & sql... :(
php-errors.log
sql-errors.log

from processmaker.

juveboss avatar juveboss commented on May 29, 2024

I spent my evening trying ...

  • Install a new blank GLPI with several version of the plugin
    => Always the same

  • I changed my BD mariadb to mysql (5.5.58)
    => I disabled the strict sql mode, finally it seems to me ...
    => I changed in the file /etc/my.cnf the sql_mode = ""
    and I tried with other elements but always the same ...
    In debug mode, I have this message on the main menu:

Strict SQL mode is not fully enabled, value recommended for development: STRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, NO_AUTO_CREATE_USER

=> I followed the tutorial 1, always the same. But I noticed that like the other workflows I create if I do not put anything in the permissions on my workflow, I do not see the task.

glpi1

Thank you in all cases for your bravery ...

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Hello,
Sorry for the troubles.
I propose you to do a jitsi conference call with me when you would like to.
Regards
Tomolimo

from processmaker.

mickaelccc avatar mickaelccc commented on May 29, 2024

hello,
I've almost the same problem, cant see dynaform in GLPI but its okay in processmaker
Do we have any solutions ?

from processmaker.

tomolimo avatar tomolimo commented on May 29, 2024

Hello @mickaelccc
As this issue is closed, could you create a new with a reference on this one?
Thank you
Tomolimo

from processmaker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.