Error when uploading files

View: New views
3 Messages — Rating Filter:   Alert me  

Error when uploading files

by squid-proxy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

cheers,

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

Greetings Marco



Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!   
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071  


_______________________________________________
Webcollab-users mailing list
Webcollab-users@...
https://lists.sourceforge.net/lists/listinfo/webcollab-users

Re: Error when uploading files

by Andrew Simpson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 19 Jun 2006 16:22:52 +0200
squid-proxy@... 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    


_______________________________________________
Webcollab-users mailing list
Webcollab-users@...
https://lists.sourceforge.net/lists/listinfo/webcollab-users

Parent Message unknown Re: Error when uploading files

by squid-proxy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrew,


[...]
> 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.

that was the problem. the default temporary is /tmp and due to a malfunction script (has nothing to do with webcollab), the permissions for /tmp were set to 755.
A chmod 777 fixed the problem.

regards

Marco



_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071



_______________________________________________
Webcollab-users mailing list
Webcollab-users@...
https://lists.sourceforge.net/lists/listinfo/webcollab-users