View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014353 | mantisbt | attachments | public | 2012-06-05 08:33 | 2012-06-19 12:54 |
Reporter | Nagendra Surya | Assigned To | atrol | ||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Summary | 0014353: error during viewing attachment | ||||
Description | SYSTEM WARNING: 'finfo::finfo() [finfo.finfo]: Failed to load magic database at '/usr/share/misc/magic'.' in '/var/www/html/mantisBT/core/utility_api.php' line 273 SYSTEM WARNING: 'finfo::buffer() [finfo.buffer]: The invalid fileinfo object.' in '/var/www/html/mantisBT/file_download.php' line 197 SYSTEM WARNING: 'Cannot modify header information - headers already sent by (output started at /var/www/html/mantisBT/core/error_api.php:202)' in '/var/www/html/mantisBT/file_download.php' line 208 | ||||
Additional Information | we get junk values when attachments are opened | ||||
Tags | No tags attached. | ||||
You'll need to change $g_fileinfo_magic_db_file within config_inc.php to point to a valid magic.db file. It seems your system/environment has the Fileinfo extension available but the magic.db file is not in the standard /usr/share/misc/magic.db location that the Fileinfo extension tries to use by default |
|
to test on the same environment i pointed my old mantis ver 1.1.6 to same database, I am able to view/download attachments. |
|
Nagendra Surya, 1.1.6 uses another way to get the document type of a file. Follow my (dhx's in duplicate issue) instruction to get this solved in 1.2.x. |
|
Thank you for the support. The actual issue was with mantis folder, we replaced it and it pointed it to database and it worked |
|