Page 1 of 1

File Upload Error

Posted: 18 Jan 2007, 23:43
by tpfrankl
I recently moved our mantis server over to IIS6 from apache 2 and everything seems to be running ok except file uploads. When users go to upload files they get the following:

SYSTEM WARNING: filesize() [function.filesize]: stat failed for C:\WINDOWS\TEMP\php231.tmp

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

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.

At first I thought users were trying to upload files that are too big but this occurs on files of all sizes. The system is setup to store the files in the DB. Any input would be greatly appreciated.

Mantis v1.0.5
IIS 6
PHP v5.1.6
MySQL v4.1.21-community-nt

Thanks

Fixed

Posted: 18 Jan 2007, 23:58
by tpfrankl
Just needed to give the IIS guest user account access to c:\windows\temp and all was good.

Posted: 30 Jan 2007, 01:55
by caramel
You are a god and i love you.

been searching for the answer forever

Posted: 21 Feb 2007, 20:12
by rkay
Hello
I am trying to host mantis in a shared hosting server. I am not able to upload the files because of the permission issue. Ho would i set folder permission/temp directory as we are given access to only the web root folder? Site is hosted in Win2K3 server with sql server db.

Re: File Upload Error

Posted: 07 Sep 2009, 05:57
by windrago
rkay - Did you ever find the answer to that question?
I am facing the same issue.

Re: File Upload Error

Posted: 07 Sep 2009, 06:06
by windrago
did you find the answer to your question?