View Issue Details

IDProjectCategoryView StatusLast Update
0005533mantisbtinstallationpublic2019-08-11 17:47
Reporterdipendra Assigned Tothraxisp  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.2 
Fixed in Version1.0.0a3 
Summary0005533: Problem Downloading The Uploaded Documents
Description

When any uploaded document is downloaded it does not show any open or save dialog box to open an associated application. So download works only for text files.

Additional Information

using Windows2003 as server & windows2000 at terminals.

TagsNo tags attached.

Activities

thraxisp

thraxisp

2005-04-28 10:25

reporter   ~0009951

Are you using https: ? There is a known issue with IE6, https: and caching in 0.19.2. (I can't find the number because of a server problem). I believe that it is fixed in the current version.

dipendra

dipendra

2005-05-02 00:57

reporter   ~0009992

NO. I think there is problem with IIS 6.0 which comes with windows 2003 server which is prohibiting the download of documents. Even we have tried to debug the code by commenting line by line and found that the following code segment is not executed properly by IIS 6.0. I think there is the problem that IIs 6.0 is not able to send proper header information to client browser. Please resolve this issue as soon as possible as we are stuck with this problem for which we are not able to use this product. There is one doubt in my mind that whether mantis is supported on Windows 2003 server using IIS 6.0?

code segment

header( 'Pragma: public' );

header( 'Content-type: ' . $v_file_type );
header( 'Content-Length: ' . $v_filesize );

# Added Quotes (") around file name.
header( 'Content-Disposition: filename="' . file_get_display_name( $v_filename ) . '"' );
header( 'Content-Description: Download Data' );
# prevent file caching @@@ (thraxisp) we may want to suppress this for small files
header( 'Pragma: no-cache' );
header( 'Expires: 0' );
thraxisp

thraxisp

2005-05-02 07:55

reporter   ~0009995

Last edited: 2005-05-02 07:57

The problem I was referring to is described here http://support.microsoft.com/default.aspx?scid=kb;en-us;316431 .

Does removing the last two lines help?
header( 'Pragma: no-cache' );
header( 'Expires: 0' );

Are you seeing a specific error message or is the file not being downloaded?

I don't have access to a Windows 2003 Server installation to debug this.

dipendra

dipendra

2005-05-03 07:41

reporter   ~0010012

Thanks for your solution. it worked

thraxisp

thraxisp

2005-05-18 20:29

reporter   ~0010169

Fix submitted to CVS to allow file cacheing through the $g_allow_file_cache variable.

bug_report_advanced_page.php -> 1.49
bug_report_page.php -> 1.52
config_defaults_inc.php -> 1.264
core.php -> 1.42
file_download.php -> 1.36
meta_inc.php -> 1.18

Related Changesets

MantisBT: master 8f220341

2005-05-18 20:25

thraxisp


Details Diff
fix for 0005533: Problem Downloading The Uploaded Documents
fix for 0003729: When using the browser's back button, the form is cleared out
- allowed page and file caching through configuration parameters
($g_allow_browser_cache and $g_allow_file_cache)

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@3539 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003729, 0005533
mod - doc/ChangeLog Diff File
mod - bug_report_advanced_page.php Diff File
mod - meta_inc.php Diff File
mod - config_defaults_inc.php Diff File
mod - core.php Diff File
mod - bug_report_page.php Diff File
mod - file_download.php Diff File