Page 1 of 1

Can't upload files - permissions problem?

Posted: 17 Jan 2007, 12:49
by rowan.bradley
When I try to up-load files I get
APPLICATION ERROR #15
File upload failed. File is not readable by Mantis. Please check the project settings.

What do I have to do to enable users to upload files?

What does "check the project settings" mean? The project I was using has its Upload File Path set to upload\. I intend this to mean the directory \\myserver\c\Inetpub\wwwroot\mantis\upload, which does exist and is writeable by the Internet Guest Account. Have I got this right?

Is this a problem that Mantis can't access the files on my local PC? If so, under what username is it trying to do so? How do I enable it to read the file?

Or is this a permissions problem on the server that's running Mantis? If so what do I have to do to the server configuration or the Mantis config to allow file upload?

Thanks for your ideas - Rowan

Posted: 17 Jan 2007, 16:42
by rowan.bradley
I seem to have fixed my own problem. My php.ini file didn't have an entry for "upload_tmp_dir =". The comment in the file says "will use system default if not specified" - goodness knows where it was storing these files. On adding "upload_tmp_dir = c:\php\upload", and creating this directory, everything started working as it should.

Thanks - Rowan