MantisBT

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014353mantisbtattachmentspublic2012-06-05 08:332012-06-19 12:54
ReporterNagendra Surya 
Assigned Toatrol 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0014353: 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
ÿØÿàJFIF``ÿáZExifMM*JQQÄQĆ ±ÿÛC      ÿÛC  ÿÀeA"ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?ýü¢¾}ñ‡íêk^6×¼?ðŸá—ˆ¾+]xVðéÚΡmk¥éWkþ²Õnny³GÆõX! Šn—û}GàÉ ‡âÏÃß|&óʨԯãQѳm ×¶ÅÒ2Iÿ–¡½sKJ?²ïgo¿oÄóVm…æk™Ùu´¹{|våßM÷ÐúŠ«¡ë¶>&Ò-µ 6ò×P°¼ŒKÍ´«,3¡ ¬¤†w­WBg¢õAESQEW=ñ/âdž¾xjMcÅ:ޝ¡iÑñç]ÌÌlgj®Ç²¨$úW–þÑ_µìþ ñ´?þé1øÓ⎡ñ`š$Dö‹×lPN̆`ËÊïMÙ¿ ÿ`«Çã‹Z£|OñÔ€÷è—¦sŸ*ÚÛ
Additional Informationwe get junk values when attachments are opened
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0011728resolveddhx Attachments error when downloading or viewing 

-  Notes
User avatar (0032019)
atrol (developer)
2012-06-05 09:44

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
User avatar (0032039)
Nagendra Surya (reporter)
2012-06-07 08:14

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.
User avatar (0032041)
atrol (developer)
2012-06-07 14:14
edited on: 2012-06-07 14:14

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.

User avatar (0032044)
Nagendra Surya (reporter)
2012-06-08 04:45

Thank you for the support. The actual issue was with mantis folder, we replaced it and it pointed it to database and it worked

- Issue History
Date Modified Username Field Change
2012-06-05 08:33 Nagendra Surya New Issue
2012-06-05 09:44 atrol Note Added: 0032019
2012-06-05 09:44 atrol Status new => feedback
2012-06-07 08:14 Nagendra Surya Note Added: 0032039
2012-06-07 08:14 Nagendra Surya Status feedback => new
2012-06-07 14:14 atrol Note Added: 0032041
2012-06-07 14:14 atrol Relationship added duplicate of 0011728
2012-06-07 14:14 atrol Status new => resolved
2012-06-07 14:14 atrol Resolution open => duplicate
2012-06-07 14:14 atrol Assigned To => atrol
2012-06-07 14:14 atrol Note Edited: 0032041 View Revisions
2012-06-08 04:45 Nagendra Surya Note Added: 0032044
2012-06-19 12:54 atrol Status resolved => closed


MantisBT 1.2.16dev master-1.2.x-8c2bd07 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.0965 seconds.
memory usage: 2,796 KB
Powered by Mantis Bugtracker