Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By Vysakh
#827275
Hi,

I can not view the uploaded files with extension .docx, .png etc. Could you please tell me how to fix this urgent.
Capture.PNG
Capture.PNG (17.47 KiB) Viewed 3089 times
By dan123dan
#827278
Hello,

You need to make a configuration on the env.ini file

This file is located at /opt/processmaker/workflow/engine/config

By default, this line is like this disable_download_documents_session_validation = 0 change it like this disable_download_documents_session_validation = 1

To more information about this, please check the following links:

https://wiki.processmaker.com/3.2/Confi ... le_env.ini

https://wiki.processmaker.com/3.2/Confi ... estriction

Please, let me know if you have any doubts.

Thanks.
By LinaS15
#828931
Hello,

I have been detected a ramdom issue trying to updoad/download some .pdf files with the multiplefile option. The functional user upload a .pdf file and the screen doesn't indicates any errors. When we search for the uploaded documents of the case it appears, but it can not be dowloaded.
It appears in the DB, with APP_DOC_STATUS = 'ACTIVE'
SELECT *
FROM CONTENT C, APP_DOCUMENT AD
WHERE C.CON_VALUE = 'DOCUMENTO XX.pdf'
AND AD.APP_DOC_UID = C.CON_ID
AND AD.APP_UID = '13796469860194c63227cd6061832385' -- CASE ID
AND C.CON_LANG = 'es-ES';
When we search in the Processmaker server, we can not find the file
example: /app/processmaker/shared/sites/workflow/files/705/133/642/5f7f291dd6d465034750629

Can you please help me with this issue, like I said it before it happens with some .pdf files not all of them. :?

Thanks in advance
By LinaS15
#829140
ppk0807 wrote: Tue May 04, 2021 3:58 pm When I try to upload the file, it says not found. Can someone help to solve this issue? Thanks!
Did you check the max file size?
I think this link can help you. https://wiki.processmaker.com/3.2/File_control#Size
By ppk0807
#829141
LinaS15 wrote: Tue May 04, 2021 7:26 pm
ppk0807 wrote: Tue May 04, 2021 3:58 pm When I try to upload the file, it says not found. Can someone help to solve this issue? Thanks!
Did you check the max file size?
I think this link can help you. https://wiki.processmaker.com/3.2/File_control#Size
max file size looks good. I'm able to upload the file successfully but once it gets uploaded, it changes from green to red fastly with an error message: "Not Found".

Usually, once the file gets uploaded, a user should be able to download or delete it.

In my case, I only see a delete button with a "Not Found" message and no download button. For some reason, it couldn’t able to find the uploaded file. I'm having this error for all file formats.
saml authentication?

Hi, We use LDAP and Active Directory for SSO authe[…]

Trước sự phát triển nhanh của thị trường hi[…]

I found the solution, I used a simple SQL query to[…]

Hello guys, Is it possible to set a background ima[…]