Problem with Attachments

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
veronez
Posts: 3
Joined: 28 Aug 2017, 15:41

Problem with Attachments

Post by veronez »

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: 28 Aug 2017, 15:41

Re: Problem with Attachments

Post by veronez »

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
Post Reply