View Issue Details

IDProjectCategoryView StatusLast Update
0007352mantisbtfeaturepublic2010-09-19 03:13
ReporterChaotik Assigned Todhx  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version1.0.5 
Summary0007352: APPLICATION ERROR #504
Description

When uploading a file, I get :

APPLICATION ERROR #504
No file was uploaded. Please go back and Choose a file before pressing Upload

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 :
Mantis 1.0.5
Windows 2003 Server
IIS 6
PHP 5.1.4
MySQL 5.0.24

TagsNo tags attached.

Relationships

Activities

Chaotik

Chaotik

2006-08-15 11:12

reporter   ~0013275

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.

edwardgao

edwardgao

2007-05-08 14:40

reporter   ~0014446

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.

grangeway

grangeway

2007-05-08 17:19

reporter   ~0014450

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

grangeway

grangeway

2007-05-08 17:20

reporter   ~0014451

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?