tomolimo / processmaker

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

hi. Is there an installation instruction? #178

Closed alekseyengfas closed 6 months ago

alekseyengfas commented 6 months ago

Is there an instruction for installing and operating the plugin? Is there a usage example?

tomolimo commented 6 months ago

Hello @alekseyengfas Please read the wiki https://github.com/tomolimo/processmaker/wiki Thank you, Regards, Tomolimo

alekseyengfas commented 6 months ago

Thank you. I have a GLPI server (nginx+php 8.1)

  1. Unpacked the archive with the server.
  2. Created a configuration file in Nginx according to the instructions. (https://github.com/tomolimo/processmaker-server/wiki/Nginx)
  3. changed the configuration to PHP 8.1
  4. Corrected a couple of errors with parentheses.

An empty page opens for me at http://my_erver:8090/sysworkflow/en/neoclassic/login/login:

tomolimo commented 6 months ago

Hello @alekseyengfas Did you read this in the wiki? https://github.com/tomolimo/processmaker-server/wiki/PHP-and-MySQL-compatibility Thank you Regards, Tomolimo

alekseyengfas commented 6 months ago

started, thank you. the page has now opened: Step 1 of 5: Pre-installation check but everything is shifted. version php: 7.1

tomolimo commented 6 months ago

Hello @alekseyengfas What do you mean by "shifted"? You may post a screen copy? Thank you, Regards, Tomolimo

alekseyengfas commented 6 months ago

image

tomolimo commented 6 months ago

Hello @alekseyengfas This is an issue with CSS... What's your browser? Could you try to purge your browser cache? ... Thank you, Regards, Tomolimo

tomolimo commented 6 months ago

PS: are you sure that it is using PHP7.1?

alekseyengfas commented 6 months ago

cleared cache, doesn't help

tomolimo commented 6 months ago

Could you also check the PHP error logs?

alekseyengfas commented 6 months ago

my conf nginx:


server { listen 80; listen [::]:80;

server_name glpi-test.local;

root /var/www/glpi/public;

location / {
    try_files $uri /index.php$is_args$args;
}

location ~ ^/index\.php$ {
    # the following line needs to be adapted, as it changes depending on OS distributions and PHP versions
    fastcgi_pass unix:/run/php/php-fpm.sock;

    fastcgi_split_path_info ^(.+\.php)(/.*)$;
    include fastcgi_params;

    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}

}

server { listen 8090; server_name glpi-test.local; root /opt/processmaker/workflow/public_html;

# redirect server error pages to the static page /50x.html
#
error_page   500 502 503 504  /50x.html;
location = /50x.html {
    root   /usr/share/nginx/html;
}

# Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
location ~ /\. {
    deny all;
    access_log off;
    log_not_found off;
}

rewrite ^/.*/(.*)$ /glpi/app.php last;

location ~ [^/]\.php(/|$) {
        # regex to split $uri to $fastcgi_script_name and $fastcgi_path
        fastcgi_split_path_info ^(.+\.php)(/.+)$;

        # Check that the PHP script exists before passing it
        try_files $fastcgi_script_name =404;

        fastcgi_pass unix:/run/php/php7.1-fpm.sock;

        include fastcgi.conf;

        # Bypass the fact that try_files resets $fastcgi_path_info
        # # see: http://trac.nginx.org/nginx/ticket/321
        set $path_info $fastcgi_path_info;
        fastcgi_param PATH_INFO $path_info;

        # allow directory index
        fastcgi_index index.php;
 }
alekseyengfas commented 6 months ago

There is no error in the logs. I use Edge and Mozilla. Edge shows an error (press F12): Incorrect use of

alekseyengfas commented 6 months ago

I sorved problem : apt-get install php7.1-mysql php7.1-gd php7.1-ldap php7.1-curl php7.1-cli php7.1-mcrypt

alekseyengfas commented 6 months ago

I launched the PM server, but when I turn on the plugin in GLPI, GLPI itself does not work. Shows white page.

GLPI debug mode: Uncaught Exception Error: Undefined constant "SOAP_1_2" in /var/www/glpi/plugins/processmaker/inc/processmaker.class.php at line 216

alekseyengfas commented 6 months ago

I sorved problem: apt-install php8.1-soap. Thank you ^)