View Issue Details

IDProjectCategoryView StatusLast Update
0005346mantisbtbugtrackerpublic2005-04-18 10:39
Reporterbuescher Assigned Tothraxisp  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.2 
Fixed in Version1.0.0a1 
Summary0005346: misleading error message and inconsistent user interface
Description

When I attempted to attach a file to a bug via view.php by clicking "upload file", it took me to an error page (bug_file_add.php) that read:


APPLICATION ERROR #15

File upload failed. PHP file uploads may be disabled. Please ask your admin to run the admin_check script to debug this problem.

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.


I proceeded to spend about an hour and a half rechecking my php.ini, config_inc.php, and mysql.ini to make sure I'd dealt with all of the issues listed in your documentation. Nothing helped.

The problem was, of course, that I was clicking "Upload File" instead of "Browse...". There should be only one button, and it should go through logic like IF FILENAME_IS_BOGUS THEN ALERT_AND_BROWSE. Apparently that this is how the page I am currently using to report this bug works! (see http://bugs.mantisbt.org/bug_report_page.php).

Furthermore, if you give mantis a bad file name, it should give you a meaningful error message.

TagsNo tags attached.

Activities

buescher

buescher

2005-03-17 18:18

reporter   ~0009577

Oh, yeah, I've added a link to this issue on the manual page for file uploading.

http://manual.mantisbt.org/manual.configuration.file.upload.php

buescher

buescher

2005-03-17 18:54

reporter   ~0009578

I've browsed through a bit more of the database (full-text search didn't find these) and found the following related bug reports:

http://bugs.mantisbt.org/view.php?id=4595 (probable duplicate)
http://bugs.mantisbt.org/view.php?id=5282 (duplicate on misleading error issue)

thraxisp

thraxisp

2005-04-05 12:39

reporter   ~0009724

Fixed in CVS by differentiating the upload error messages.

proj_doc_add.php -> 1.27
proj_doc_update ->1.49
core/constant_inc.php -> 1.45
core/file_api.php -> 1.66
lang_strings_english.txt -> 1.250