On Mon, 19 Jun 2006 16:22:52 +0200
squ...@we... wrote:
> we upgraded to version 2.01. Accessing already uploaded files works fine but uploading new files produces the following error:
>
> MISSING A TEMPORARY FOLDER.
>
> drwxrwx--- 2 www-data www-data 12288 2006-06-19 16:11 files
>
>
> www-data is the apache-user an files the file-directory.
>
> The permission seems to be okay.
>
> Any ideas?
>
> System: Apache 2.0.55 / Linux 2.6
>
Hi there,
Firstly, I'm guessing that your error message (MISSING A TEMPORARY FOLDER) did come from WebCollab (and not from Apache or whatever).
Secondly, there is no change in the file upload code from 2.00 to 2.01 (I've just checked the CVS commit logs to be sure), so I think it's not really a WebCollab problem.
What I do think it is: When a file is uploaded it's placed in a temporary directory by Apache (most likely /tmp in Linux). The WebCollab code then examines the temporary file, does security checks, then physically moves the file into the specified WebCollab file upload directory (and deletes the temporary file). If anything goes wrong WebCollab just deletes the temporary file and notes an error.
In your case it appears that WebCollab can't read and/or access the temporary directory. I think the temporary directory location is set in php.ini and the apache config files. I'd suggest checking these first.
Andrew
|