View Issue Details

IDProjectCategoryView StatusLast Update
0020165mantisbtattachmentspublic2015-10-18 10:11
Reporterzenithtekla Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0020165: Issue: uploading gif image for File attachment fails!!
Description

uploading gif for File attachment fails!!
I look at the config_defaults_inc file and I could see that Mantis system does support gif image but attaching gif file while creating an issue or single issue fails.

TagsNo tags attached.

Activities

zenithtekla

zenithtekla

2015-10-02 11:25

reporter   ~0051567

Note: on the fresh installation of Mantis 2.1.19, gif attachment does not work by default or there is a setting to turn it on?

zenithtekla

zenithtekla

2015-10-02 11:28

reporter   ~0051568

[block][quote][code]APPLICATION ERROR 0000401
Database query failed. Error received from database was 0002006: MySQL server has gone away for the query: INSERT INTO mantis_bug_file_table
( bug_id, title, description, diskfile, filename, folder, filesize, file_type, date_added, content, user_id )
VALUES
( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ).[/code][/quote][/block]

Is there any CkEditor or syntax highlighter that I can turn on and use it accompanied with the Mantis?

atrol

atrol

2015-10-02 12:49

developer   ~0051577

The error message was:

MySQL server has gone away

Probably a MySQL and not a MantisBT issue.

Check your database error logs to find out what is happening.

zenithtekla

zenithtekla

2015-10-02 14:33

reporter   ~0051578

Actually, attaching other image file type is okay but not the GIF. ?

atrol

atrol

2015-10-02 15:09

developer   ~0051580

Does the problem only occur with large files?
If so, check/increase database setting max_allowed_packet in my.cnf