KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Frugalware-Art.org Artwork for Frugalware Linux 
 Arch-Stuff.org Artwork and Stuff for Arch Linux 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
- New questions .- Answered question .- Not answered question .- My questions .- Post your question here . 
Go back to the overview page to see other entries
Back to overview

click to vote up

can't upload anything disk_free_space() ?

ownCloud - Apr 12 2012
Question:I just installed Owncloud, but now I can't upload anything once I'm logged in. PHP is giving me this warning:

Warning: disk_free_space() [function.disk-free-space]: Value too large for defined data type in /cloud/lib/filestorage/local.php on line 256

The upload dialog just tells me this: "The files you are trying to upload exceed the maximum size for file uploads on this server."

I'm on PHP 5.3.10. I have the upload, post and memory limits at 256M in php.ini. The upload values are also at 256M in the .htaccess file. Am I missing something here?



Answer:I have the same problem.
Warning: disk_free_space() [function.disk-free-space]: Value too large for defined data type in /homez.151/courtade/www/mycloud/lib/filestorage/local.php on line 165

absolutely the same for me - for me it looks as if the whole freespace of my provider is visible to the script, might be tera bytes, so maybe the messgae is right


Want to bump this issue in case someone has a solution...I'm having the same problem with a 8T data store mounted over NFS.

PHP Warning: disk_free_space(): Value too large for defined data type

This appears to be an issue with the disk_free_space() function call in PHP. I put together a test PHP program that checks my NFS mounted data store and returns nothing (no error or any value at all). If I use a local, smaller partition like /var or /tmp, it works.

Edit answer

Back to overview

Add comment

Do you have a question?
Post your question here


Copyright 2010-2016 Linux42.org Team  Legal Notice
All rights reserved. Linux42.org is not liable for any content or goods on this site.
You can find our FAQ here.
All contributors are responsible for the lawfulness of their uploads.
Please send us a notice if you spot an ABUSE of the website.
Information about advertising in Linux42.org.
Developers can use our public webservice interface. More information here: public api
For further information or comments on this site, please send us a message