Questions and discussion about using ProcessMaker: user interface, running cases & functionality
By xiaobai
#795942
When I clicked the download button of a dynaform in a task,it raised error:
403 Access denied
You don't have privileges to access with those credentials. You can contact your administrator,
go back to where you came from, or login with other credentials

What shall I do ?
User avatar
By amosbatto
#795961
xiaobai wrote:But a new issue had appeared,the default download file name was a messy code when my file name was Chinese(need Utf-8 code).
What shall I do?
If you are uploading a file from an NTFS file system in Windows, then your filename will be in the UCS-2 character set, but if that filename should be saved in the wf_{WORKSPACE}.CONTENT.CON_VALUE field in UTF-8 in MySQL. See: http://wiki.processmaker.com/3.0/File_c ... le_Storage

Please do this search in MySQL to see whether the filename is being stored correctly:
Code: Select all
SELECT * AS FILENAME FROM CONTENT WHERE CON_CATEGORY='APP_DOC_FILENAME';
If the filename is stored correctly, then the PM source code needs to be fixed.

Change line 1299 in the sendHeaders() function in processmaker/gulliver/system/g.php from:
Code: Select all
        header('Content-Type: ' . $contentType);
To:
Code: Select all
        header('Content-Type: ' . $contentType . '; charset=utf-8');
Does that fix the problem?

A 1xbet clone script is a pre-designed software so[…]

4rabet clone script is enabling entrepreneurs to e[…]

Parimatch clone script is enabling entrepreneurs t[…]

In the world of cryptocurrency, a wallet is an app[…]