View Issue Details

IDProjectCategoryView StatusLast Update
0002359mantisbtbugtrackerpublic2003-12-13 04:52
ReporterreporterAssigned Tojfitzell  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Platformx86OSWindows 2000 
Product Version0.17.4 
Summary0002359: File restrictions and attachment limited
Description

OK. Using 17.4a, PHP is configured for 5meg uploads however using the attach file option i seem restricted to 1meg or less. The file is set to store in mysql. When loading file greater than 1 meg the bug_file_add.php cannot be found

This means there is 1 or 2 possible problems.
1: Because of system restrictions the file is too big to be uploaded. this means bad error handling.
2: mysql cannot handle files larger than 1 meg??? Still bad error handling
3: although everything says mantis can accept upto the configured setting, infact it can't and can only accept 1 meg. Doco would need to be changed. Still bad error handling

When i say bad errro handling i mean the fact that when the file exceed a pre-determined limit a page not found msg appears rather than a nice msg saying file to large to be accepted

TagsNo tags attached.

Activities

jfitzell

jfitzell

2002-08-21 17:08

reporter   ~0003139

Fixed in CVS... at least mostly.

I added a better error message when an error message indicating that the file is likely too big.

Ideally the user should be told the correct maximum upload if the system level is too low. Or maybe we should set the default to be the same as the PHP default so these problems don't show up unless you actually go change the value (and we can put a note there to change the PHP variable). I'll file another issue about this so it doesn't get lost.

Related Changesets

MantisBT: master c78f2401

2002-08-21 20:02

Julian Fitzell


Details Diff
try to at least partially address issue 2359 (mantisbt.sourceforge.net/mantis/view_bug_advanced_page.php?f_id=0002359)

This adds a better error message when an error is flagged in the upload array. I've indicated that it likely means the file is too big but I don't know for sure what else might cause the error to appear so the error string may not be entirely accurate.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1286 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0002359
mod - bug_file_add.php Diff File
mod - constant_inc.php Diff File
mod - lang/strings_english.txt Diff File