View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005280 | mantisbt | installation | public | 2005-02-24 18:06 | 2005-07-23 02:26 |
Reporter | sdabel | Assigned To | thraxisp | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 0.19.2 | ||||
Summary | 0005280: file upload not working on windows installation | ||||
Description | I can't get the file upload to work in Manits. Whenever I try to upload a file I get: APPLICATION ERROR #15 File upload failed. PHP file #222288">uploads may be disabled. Please ask your admin to run the admin_check script to debug this problem. When I run check.php I get: File #222288">Uploads The following size settings are in effect. Maximum upload size will be whichever of these is SMALLEST. Mantis 0.19.2 on IIS 5.0 I have given my mantis account on MySQL full rights. When I use the DISK method of #222288">uploads I get the same error. I created an upload directory with write access. When the permissions are wrong matis gives the appropriate error so I beleive that it is attempting to write to the correct location. Other php applications on the same system (dotproject) are able to upload files. So php can upload, and my config settings seem correct. | ||||
Tags | No tags attached. | ||||
I have experienced the same problem. In testing it appears to be version 0.19.1+ under IIS 5.0+. 0.19.0 has worked for me on IIS 6.0, and 0.19.2 has worked for me under IIS 4.0. |
|
This is probably related to the uploaded file not being readable by the Mantis code. I seem to recall this being a problem with IIS. Can you make sure that the temp directory is readable and writable? |
|
When I added read permission for "Everyone" to the Windows temp directory, uploads started working. I still think this may be a bit of a bug because version 0.19.0 worked without making any permissions changes, and so did uploading in other PHP programs. Is that strange? What does 19.1+ do differently, and what are the benefits from the new way as opposed to the old way? (obviously more work required upon installation isn't a benefit.) |
|
Web server setup problem. IIS 5.0+ seems to be pickier about uploading files than previous versions. |
|