Problem with Attachments

Get help from other users here.

Moderators: Contributor, Developer

Problem with Attachments

Postby veronez » Aug 31, 2017 9:41 am

When I try to download the attached files, I only got the hexadecimal content of them.

I'm using Mantis 2.5.0 and Postgresql 9.4.8 and already try to change bytea like:
ALTER USER mantis SET bytea_output = 'escape';
ALTER DATABASE mantis SET bytea_output = 'escape';

but I have no success in get the files with correct format.

It's possible to convert the hex content to text after download what makes me think that the file content on database is correct. The problem is some conversion made in the process.

Any help will be appreciated.
Thanks in advance.
Mantis: 2.5.0
PHP: 5.4.16
SQL: Postgresql 9.4.8
OS: CentOS Linux 7.3.1611
veronez
 
Posts: 3
Joined: Aug 28, 2017 10:41 am

Re: Problem with Attachments

Postby veronez » Nov 08, 2017 9:39 am

No solution yet.
Changed my file $g_file_upload_method to DISK.
Mantis: 2.5.0
PHP: 5.4.16
SQL: Postgresql 9.4.8
OS: CentOS Linux 7.3.1611
veronez
 
Posts: 3
Joined: Aug 28, 2017 10:41 am


Return to Help

Who is online

Users browsing this forum: No registered users and 13 guests