View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004595 | mantisbt | administration | public | 2004-09-22 09:53 | 2005-04-18 10:39 |
Reporter | rne | Assigned To | thraxisp | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.0.0a1 | ||||
Summary | 0004595: file upload in error report doesnt work | ||||
Description | I have updated to 0.19.0. After that, i can't attach a file to an error report. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
The error implies that the file size is zero, or that the upload is not properly configured. I can't seem to reproduce this. Would it be possible to set the parameter '$g_show_detailed_errors = ON;', reproduce the problem and post the traceback information that is provided. |
|
okay, here it is: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. Full path: c:\inetpub\wwwroot\mantis\core\file_api.php |
|
The error is saying that the intermediate file uploaded (C:\WINNT\TEMP\php3A7D.tmp, in this case) is not accessible to Mantis or non-existent. I think that this may be a server misconfiguration, but I'm not a windows expert... |
|
But why does the upload works in other places, e.g. "documentation" |
|
The code in both places is the same (that is why this is confusing). I have seen related issues where files in /tmp are uploaded (or written) and were not accessible to the original httpd process. |
|
Fixed in CVS by differentiating the upload error messages. proj_doc_add.php -> 1.27 |
|