Git Product home page Git Product logo

processmaker-server's People

Contributors

aimankit avatar alvarocs avatar brayanpereyra avatar cheloheredia avatar drojas12 avatar eriknyk avatar f1nderx avatar gproly avatar gustav-cl avatar herbertsg avatar hsaal-sugarcrm avatar hugoloza avatar julceslauhub avatar norahmollo avatar renesilva avatar tomolimo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

processmaker-server's Issues

Nginx processmaker-server installation error

installed processmaker-server Release 3.0.1.8-RE-1.8 . Configured nginx processmaker from reference https://github.com/tomolimo/processmaker-server/wiki/Nginx. Then installed db from processmaker-server frontend and typed ./processmaker workspace-upgrade command but after installing processmaker redirects http://172.17.0.3/sys/en/neoclassic/login/login and blank screen comes.

errors:
no errors in /var/log/nginx/errror.log and /var/log/php-fpm/error.log

nginx configuration:
server {
listen 80;
server_name 172.17.0.3;
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   /var/www/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:/var/run/php-fpm/php-fpm.sock;
    fastcgi_read_timeout 600;	    

        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;
 }

}

No 'Access-Control-Allow-Origin' header is present on the requested resource

Viewed in Chrome v 68.0.3440.106 (Official Build) (64-bit)

Failed to load http://xxxxxxxxxx/sysworkflow/en/glpi_neoclassic/cases/cases_Open?sid=3195800785b8e9a8734fd00065890800&APP_UID=8977966305b7adcdeb48b65018114001&DEL_INDEX=1&action=TO_DO&glpi_init_case=1&glpi_domain=ray.group: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://yyyyyyyyyyyy/' is therefore not allowed access.

Server installation 3.0.1.8-RE-1.9- ubuntu apache setting

Tomolino,
When I reach this page, nothing happens.
http://pm.name_server.dev/

File /etc/hosts :
ip pm.name_server.dev
ip glpi.name_server.dev

I have already follow yours instructions for pmos.conf.
<VirtualHost my_server:80>
ServerName my_server
ServerAlias pm.my_server.dev
DocumentRoot /opt/processmaker/workflow/public_html
DirectoryIndex index.html index.php app.php
<Directory /opt/processmaker/workflow/public_html>
Options Indexes FollowSymLinks MultiViews
AddDefaultCharset UTF-8
AllowOverride None
Require all granted
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.*/(.*)$ /glpi/app.php [QSA,L,NC]
</IfModule>
#Deflate filter is optional. It reduces download size, but adds slightly more CPU processing:
AddOutputFilterByType DEFLATE text/html
</Directory>
</VirtualHost>

I manage to download the content of index.html from any machine:
wget http://pm.my_server.dev

When I reach it from another machine and from a browser : the new address (http://pm.my_server.dev/sys/fr/neoclassic/login/login) is not reachable.

Furthermore, I manage to reach glpi with http://glpi.my_server.dev/ and glpi works.

Would you have any ideas?
I thank you.

Alogez

GLPI error in synchronize task lists

Hello Mr. Tomolimo,

Thanks for advance for your help.

I have GLPI 9.4.4 whit Process Maker plugin v3.6.6 in a server + other server whit Process Maker 3.3.10-community.

I can Synchronize Process List in GLPI but I have a problem with synchronize task lists in GLPI, they return the error: "Failed operation". I have checked that English is the default language in GLPI and Process Maker.

Could you tell me what can I check? Thanks sir.

imagen

designer impossible to drag and drop

Hello, I have freshly installed processmaker Release 3.0.1.8-RE-1.3., but I can't create process in designer

image
image

I noted in script src is /js/maborak/core/maborak.loader.js"></script>

I don't have this folder in process maker folder

tasks will not synchronize in GLPI

Hi
I have set up a GLPI 9.2.1 on debian 8 Jessie (PHP 5.6.33)
My PM server is installed as said in your documentation (debian 8 Jessie; php 5.6.33, pm 3.1.0.8-Community-RE-1.8 downloaded on you github).
I could configure the 3.2.8 plugin in GLPI.
I followed tutorial 1 but cannot have tasks synchronized in GLPI. When I click on the "Synchronize tasks" in GLPI, nothing happens

In my logs I have (GLPI server) :
2018-04-02 15:28:51 [2@test]
*** PHP Warning(2): Invalid argument supplied for foreach()
Backtrace :
plugins/processmaker/inc/process.class.php:77
plugins/processmaker/front/process.form.php:20 PluginProcessmakerProcess->refreshTasks()

in php logs (pm server), I only have one line (but many times) :
[02-Apr-2018 15:28:22 America/Martinique] PHP Warning: Creating default object from empty value in /opt/processmaker/workflow/engine/classes/class.wsBase.php on line 5940

Have I forgotten something ?
Thanks,
Regards

Errors on trigger

Hi @tomolimo
First of all thank you and appreciate your work on extending the functionality for GLPI.
We have figured a bug regarding triggers where in there were some functions which were not declared as static while they were being accessed statically because of which triggers were not functional.
Up until now we have found bugs in the following files.

  1. /gulliver/system/class.g.php
  • array_merges
  • toUpper
  1. workflow/engine/classes/class.system.php
    for functions like
  • getEmailConfiguration

I believe this bug is related to the following bug #67

Please Note: These changes have already been reflected in the upgraded version of processmaker.

PHP Fatal error: Class 'G' not found in /opt/processmaker/workflow/public_html/sysGeneric.php on line 274

Hi!

I can't find info how to resolve this issue, sorry.

I've downloaded https://github.com/tomolimo/processmaker-server/archive/refs/tags/3.3.0-RE-1.10.tar.gz and ungzip it to /opt/processmaker.

[root@pm opt]# cat /etc/system-release
CentOS Linux release 7.9.2009 (Core)

[root@pm opt]# php -v
PHP 5.6.40 (cli) (built: Jan 12 2019 13:11:15)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

BTW, stack with php 7.1 error same.

[root@pm opt]# rpm -qa | grep php
php56w-common-5.6.40-1.w7.x86_64
php56w-xml-5.6.40-1.w7.x86_64
php56w-devel-5.6.40-1.w7.x86_64
php56w-mbstring-5.6.40-1.w7.x86_64
php56w-soap-5.6.40-1.w7.x86_64
php56w-cli-5.6.40-1.w7.x86_64
php56w-process-5.6.40-1.w7.x86_64
php56w-pear-1.10.4-1.w7.noarch
php56w-pecl-apcu-4.0.11-2.w7.x86_64
php56w-5.6.40-1.w7.x86_64
php56w-mcrypt-5.6.40-1.w7.x86_64
php56w-gd-5.6.40-1.w7.x86_64
php56w-pdo-5.6.40-1.w7.x86_64
php56w-mysqlnd-5.6.40-1.w7.x86_64
php56w-ldap-5.6.40-1.w7.x86_64

[root@pm opt]# mysql -V
mysql Ver 14.14 Distrib 5.6.51, for Linux (x86_64) using EditLine wrapper

[root@pm opt]# httpd -V
Server version: Apache/2.4.6 (CentOS)
Server built: May 30 2023 14:01:11
Server's Module Magic Number: 20120211:24
Server loaded: APR 1.4.8, APR-UTIL 1.5.2
Compiled using: APR 1.4.8, APR-UTIL 1.5.2
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/run/httpd/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

[root@pm opt]# cat /etc/httpd/conf.d/pmos.conf

NameVirtualHost 10.30.7.38

processmaker virtual host

<VirtualHost 10.30.7.38>
ServerName "pm.mof.local"
DocumentRoot /opt/processmaker/workflow/public_html
DirectoryIndex index.html index.php
<Directory "/opt/processmaker/workflow/public_html">
AddDefaultCharset UTF-8
AllowOverRide none
Options FollowSymlinks
Require all granted
RewriteEngine on
RewriteRule ^./(.)$ sysGeneric.php [NC,L]
ExpiresActive On
ExpiresDefault "access plus 1 day"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/png "access plus 1 day"
ExpiresByType image/jpg "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
AddOutputFilterByType DEFLATE text/html

I wiil appreciate any help.
Thank you!

[wrapped: Could not execute query [Native Error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'wf_workflow.APP_CACHE_VIEW.DEL_INDEX'

It seems I have this issue in Ubuntu 16.04 VM running your processmaker-server forked for glpi plugin.

This installation is new and I created or imported my process from my other processmaker install.
I downloaded glpi 9.2 as required, install it on the same domain with your processmaker-server modified version.

I click on participated and it shows this error box. Also, I created a test case in order for me to have a participated case, and the same error occurs. Please see whole error message below:

[wrapped: Could not execute query [Native Error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'wf_workflow.APP_CACHE_VIEW.DEL_INDEX' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by] [User Info: SELECT APP_CACHE_VIEW.APP_UID, APP_CACHE_VIEW.DEL_INDEX, APP_CACHE_VIEW.DEL_LAST_INDEX, APP_CACHE_VIEW.APP_NUMBER, APP_CACHE_VIEW.APP_STATUS, APP_CACHE_VIEW.USR_UID, APP_CACHE_VIEW.PREVIOUS_USR_UID, APP_CACHE_VIEW.TAS_UID, APP_CACHE_VIEW.PRO_UID, APP_CACHE_VIEW.DEL_DELEGATE_DATE, APP_CACHE_VIEW.DEL_INIT_DATE, APP_CACHE_VIEW.DEL_FINISH_DATE, APP_CACHE_VIEW.DEL_TASK_DUE_DATE, APP_CACHE_VIEW.DEL_RISK_DATE, APP_CACHE_VIEW.DEL_THREAD_STATUS, APP_CACHE_VIEW.APP_THREAD_STATUS, APP_CACHE_VIEW.APP_TITLE, APP_CACHE_VIEW.APP_PRO_TITLE, APP_CACHE_VIEW.APP_TAS_TITLE, APP_CACHE_VIEW.APP_CURRENT_USER, APP_CACHE_VIEW.APP_DEL_PREVIOUS_USER, APP_CACHE_VIEW.DEL_PRIORITY, APP_CACHE_VIEW.DEL_DURATION, APP_CACHE_VIEW.DEL_QUEUE_DURATION, APP_CACHE_VIEW.DEL_DELAY_DURATION, APP_CACHE_VIEW.DEL_STARTED, APP_CACHE_VIEW.DEL_FINISHED, APP_CACHE_VIEW.DEL_DELAYED, APP_CACHE_VIEW.APP_CREATE_DATE, APP_CACHE_VIEW.APP_FINISH_DATE, APP_CACHE_VIEW.APP_UPDATE_DATE, APP_CACHE_VIEW.APP_OVERDUE_PERCENTAGE, APP_CACHE_VIEW.DEL_INIT_DATE, APP_CACHE_VIEW.TAS_UID, APP_CACHE_VIEW.PRO_UID, CU.USR_UID AS USR_UID, CU.USR_FIRSTNAME AS USR_FIRSTNAME, CU.USR_LASTNAME AS USR_LASTNAME, CU.USR_USERNAME AS USR_USERNAME, (SELECT CON_VALUE FROM CONTENT WHERE CON_ID = APPDELCR.TAS_UID AND CON_LANG = 'en' AND CON_CATEGORY = 'TAS_TITLE') AS APPDELCR_APP_TAS_TITLE, USRCR.USR_UID AS USRCR_USR_UID, USRCR.USR_FIRSTNAME AS USRCR_USR_FIRSTNAME, USRCR.USR_LASTNAME AS USRCR_USR_LASTNAME, USRCR.USR_USERNAME AS USRCR_USR_USERNAME, PU.USR_FIRSTNAME AS PREVIOUS_USR_FIRSTNAME, PU.USR_LASTNAME AS PREVIOUS_USR_LASTNAME, PU.USR_USERNAME AS PREVIOUS_USR_USERNAME FROM APP_CACHE_VIEW LEFT JOIN TASK ON (APP_CACHE_VIEW.TAS_UID=TASK.TAS_UID) LEFT JOIN USERS CU ON (APP_CACHE_VIEW.USR_UID=CU.USR_UID) LEFT JOIN USERS PU ON (APP_CACHE_VIEW.PREVIOUS_USR_UID=PU.USR_UID) LEFT JOIN APP_DELEGATION APPDELCR ON (APP_CACHE_VIEW.APP_UID=APPDELCR.APP_UID AND APPDELCR.DEL_LAST_INDEX=1) LEFT JOIN USERS USRCR ON (APPDELCR.USR_UID=USRCR.USR_UID) WHERE APP_CACHE_VIEW.USR_UID='00000000000000000000000000000001' AND TASK.TAS_TYPE NOT IN ('WEBENTRYEVENT','END-MESSAGE-EVENT','START-MESSAGE-EVENT','INTERMEDIATE-THROW-MESSAGE-EVENT','INTERMEDIATE-CATCH-MESSAGE-EVENT') GROUP BY APP_CACHE_VIEW.APP_UID ORDER BY APP_CACHE_VIEW.APP_NUMBER DESC LIMIT 25]]

processmaker-glpi-error

file upload web control

Dear @tomolimo ,
file upload web control is not available in processmaker-server which is very important for my use case.
In processmaker 3.0 i have to use file web control for which i have to create input document which only allows me to upload only one document.
if I set step as input document in designer it is not attaching documents in GLPI.

I want have multiple file upload in dynaform and which can be seen in further tasks of process.

Error when creating a glpi request

Hi Tomolimo,
I tried to follow you tutorial 2 but whet I try to create the ticket, I have the following error

Erreur à la création du cas !
You tried to start a new case without send the USER UID or TASK UID! (100)

The ticket cannot be created
Have I done something wrong ?
Thanks

No access since User/Groups synchronisation with GLPI

Hello,

I'm just starting with PM as I need this with GLPI.
PM has been installed and setup... with the problem of expired admin account that I've found how solve.
Then the plugin has been configured.
Then I started to synchronize User/Groups from GLPI... following that, my admin account to access to PM became "invald".
I set it to "ACTIVE" through the database but it's not effective and I don't find any clue !

Hope you can help me.

Regards

error during installation

Hello thank you

after doing the instructions I have this message
image

IIS 8.5 windows 2012r2 / php 5.6.19 /

Error in participated folder

hello, I`m using processmaker 3.4.2, everything is working fine but there is a error when I open my participated folder
Capture

WHITE PAGE PROBLEM WITH ACTIVATION OF processmaker-5.0.3 ON GLPI 10

hi everyone please help me i just installed glpi 10 on my computer and i downloaded the processmaker-5.0.3 , i configure it to have access to my glpi interface , i manage to install it , after the installation if i activate it all my page becomes white , please help me. here are the captures
Arc 2024-05-23 12_53_02

when I activate the page, it goes blank here's the capture too
Arc 2024-05-23 12_55_42

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.