Le jeudi 19 juin 2008 à 12:34 +0200, Riccardo Ricci a écrit :
> In Error.log:
> PHP Warning:  File upload error - unable to create a temporary file in
> Unknown on line 0, 
> 

Le jeudi 19 juin 2008 à 12:25 +0200, Riccardo Ricci a écrit :
> No messages in error.log
> No datas/files in /var/lib/phpgroupware/uploads/
> 
> Kernel 2.6.25.6
> Debian Lenny/Sid (Unstable)
> 
> I obtain (after patch):
> Errore:       Missing a temporary folder.*
> 

Thanks for these details.

Holly crap ! ... looks like the setting of "upload_tmp_dir" isn't taken
into account :(

If you check, logged-in as phpgroupware admin user in "Admin / phpinfo",
you'll probably see that "upload_tmp_dir" (in "php core") is set to
null.

Looks like /etc/phpgroupware/apache.conf should have :

  php_admin_value upload_tmp_dir /var/lib/phpgroupware/uploaded

instead of (currently) :
  php_value upload_tmp_dir /var/lib/phpgroupware/uploaded

Can you try and change it, restart apache and confirm if this solves the
issue ?

I'm sorry about the wrong fix... looks like I made a mistake in testing
it locally. Dunno how I could go wrong on that one :(

Thanks in advance.
-- 
Olivier BERGER <[EMAIL PROTECTED]>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 1024D/6B829EEC
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to