File Upload Error

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
tpfrankl
Posts: 2
Joined: 18 Jan 2007, 23:39

File Upload Error

Post 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
tpfrankl
Posts: 2
Joined: 18 Jan 2007, 23:39

Fixed

Post by tpfrankl »

Just needed to give the IIS guest user account access to c:\windows\temp and all was good.
caramel
Posts: 1
Joined: 30 Jan 2007, 01:54

Post by caramel »

You are a god and i love you.

been searching for the answer forever
rkay
Posts: 1
Joined: 21 Feb 2007, 20:05

Post 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.
windrago
Posts: 4
Joined: 07 Sep 2009, 05:48

Re: File Upload Error

Post by windrago »

rkay - Did you ever find the answer to that question?
I am facing the same issue.
windrago
Posts: 4
Joined: 07 Sep 2009, 05:48

Re: File Upload Error

Post by windrago »

did you find the answer to your question?
Post Reply