View Issue Details

IDProjectCategoryView StatusLast Update
0009576mantisbtintegrationpublic2009-06-26 12:01
Reportergeget Assigned Tojreese  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionno change required 
OSWindows 
Product Version1.1.2 
Summary0009576: Problem in downloading file
Description

Hi,

I configure mantis with the parameter (by default) : $g_file_upload_method = DATABASE;
I can upload a file in the bug screen. It works OK.

But when i want to download the file (an url for example : http://nww-server-mantis/mantis/file_download.php?file_id=4&type=bug)
I've a message in ie6 : do you want to open or save this file.

Then if i choose save, it works
But if i choose open, it seems the file is downloaded then the application (for example excel for an excel file) is launched but it tells me that the file c:\documents ans settings\myname\local settings\temporary internet files\content.ie5\89UJGD6B\myfile.xls does not exist !!!!!

Have you an idea for that ??

Thanks to help me it's very important for me

Gaƫtan

TagsNo tags attached.
Attached Files
trace.xls (73 bytes)

Relationships

related to 0009323 closedjreese Browser caching broken since 1.1.2 
related to 0010629 new Add check against session.cache_limiter PHP variable 

Activities

jreese

jreese

2008-08-26 08:43

reporter   ~0019235

This is a problem with Internet Explorer, not Mantis. I don't personally know why you have the problem with opening directly, but you will need to contact Microsoft to determine how to fix it. For the mean time, I just suggest that you save files to your computer before opening them, until you can find out how to fix IE.

Alternately, you could try using Firefox or Opera; both are much more secure and robust web browsers. http://www.getfirefox.com OR http://www.opera.com

geget

geget

2008-08-26 08:45

reporter   ~0019236

I've attached an xls file in this issue and it works fine.
Are the file stored in database on maintis bugtracker ?

geget

geget

2008-08-26 08:49

reporter   ~0019237

I've attached an xls file in this issue and it works fine with the same ie6 !!
Are the file stored in database on maintis bugtracker ?

geget

geget

2008-08-26 10:15

reporter   ~0019239

Sorry for insisting, but i don't understand.
Why is it working on maintisbug tracker ?

Is it because this is a different version than mine ?

Thanks for advance

jreese

jreese

2008-08-26 10:38

reporter   ~0019240

I do believe the site is using attachments stored in the database (the default option). The version this site is using is newer, but it is still in development and not yet recommended for end users, and there were no changes to the file download pages between the two versions anyway. Either way, Mantis does not treat file downloads any differently between files stored in the database or the filesystem.

I really think the issue is with IE6. Perhaps the difference is between security zones (Internet versus Intranet, etc?), or some other weird behavior. You might also try upgrading to IE7.

Ultimately, as far as I'm concerned, this can't be a problem with Mantis, because the browser is obviously getting and downloading the file correctly because you can save the file to disk and open it correctly; this points to IE as being the source of your problems, an it's apparently deleting downloaded temporary files before they can be opened by your applications.

geget

geget

2008-08-26 10:46

reporter   ~0019241

I think your are true. Here is a link where it talks about.

http://www.webmasterworld.com/forum88/5891.htm

I'm not a specialist on php and i don't know how to make the evolution.
I don't know where the is the call on session_start.

Thanks

jreese

jreese

2008-08-26 11:26

reporter   ~0019243

Thanks for the link; that clears up where the root of the problem is. The caching issues with IE6 have already been fixed in preparation for the release of Mantis 1.1.3. Once 1.1.3 is released, upgrading should fix the problem.

geget

geget

2008-08-26 14:10

reporter   ~0019245

Have you an idea on the date of this release ?

jreese

jreese

2008-08-28 09:54

reporter   ~0019266

Unfortunately, no ETA for 1.1.3. I'm marking this issue as resolved; please track issue 0009323 for the issues with caching.

najina

najina

2008-12-19 14:18

reporter   ~0020433

Is there any work around to fix this in mantis 1.1.2?
Is there any code that can be modified in mantis?