View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007352 | mantisbt | feature | public | 2006-08-10 14:02 | 2010-09-19 03:13 |
Reporter | Chaotik | Assigned To | dhx | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Product Version | 1.0.5 | ||||
Summary | 0007352: APPLICATION ERROR #504 | ||||
Description | When uploading a file, I get : APPLICATION ERROR #504 Previous non-fatal errors occurred. Page contents follow. SYSTEM WARNING: filesize() [function.filesize]: stat failed for C:\WINDOWS\TEMP\php1A.tmp | ||||
Additional Information | I used to have everything working fine but the machine crashed and I am not trying to reinstall Mantis on a new machine. I was not successful for file uploads since switching to the new machine... Please help... Here are the specs : | ||||
Tags | No tags attached. | ||||
FYI... I managed to resolve this by giving the Internet Guest User account write privileges on C:\WINDOWS\TEMP\ It seems that IIS writes the uploaded file there temporarily and there was no sufficient privileges. |
|
It looks like Chaotik's suggestion should work. Mine case is even worse, Also, Developers could upload files sucessfully, while reporters can not. Reporters get the same error as you did "504" with error msg on the top of the page saying "SYSTEM WARNING: filesize() [function.filesize]: stat failed for C:\WINDOWS\TEMP\php3E9F.tmp" I used "Basic" authentication, Some of our users "Developers" could login without input any password, others "reporters" have to. |
|
http://uk3.php.net/features.file-upload Suggests setting the temp directory for uploads to something sensible - if you are logging users in, you'll need to include the group that the users are in, or 'everyone' as far as I'm aware, as I believe it's the case that the file will be created with the rights of one of the users. Paul |
|
REgarding the second point about logging in, could you raise a bug about exactly what's happening or what needs to happen to produce that behaviour? |
|