tags 486221 - moreinfo
thanks
On Sat, Jun 14, 2008 at 02:04:08PM +0200, Riccardo Ricci wrote:
>
> The file uploaded was created with zero size, and it's impossible to
> retrieve it.
>
>
I've tried and reproduce the issue, and indeed, there's a problem, for all
uploaded files, due to the new restriction on open_basedir introduced since
1:0.9.16.012+dfsg-2.
As uploaded files are first copied to /tmp, and it's not in the open_basedir
patch, uploads cannot successfully complete.
Unfortunately, phpGroupware's filemanager won't test the uploaded files
parameter sent to the form for errors (probably ancient code before PHP 4.2.0
:( ).
I'll try to provide a patch ASAP.
In between, I suggest that you change /etc/phpgroupware/apache.conf in order to
add /tmp to the open_basedir settings like :
php_admin_value open_basedir
"/usr/share/phpgroupware/:/var/lib/phpgroupware/files/:/var/lib/phpgroupware/sessions/:/etc/phpgroupware/:/tmp"
instead of :
php_admin_value open_basedir
"/usr/share/phpgroupware/:/var/lib/phpgroupware/files/:/var/lib/phpgroupware/sessions/:/etc/phpgroupware/"
Hope this helps.
Best regards,
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]