|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30750 When /var/tmp was deleted, File Uploads break with no error messages
Submitted: 2004-11-10 20:41 UTC Modified: 2004-11-11 01:40 UTC
From: gnarf at gnarf dot net Assigned:
Status: Closed Package: CGI/CLI related
PHP Version: 4.3.9 OS: FreeBSD 4.8
Private report: No CVE-ID:
 [2004-11-10 20:41 UTC] gnarf at gnarf dot net
/var/tmp was somehow deleted on my machine.  Which is 
the root of this problem, however file uploading got 
completely broken... _FILES had no data in it although 
the file was being uploaded just fine.  I wouldn't 
expect the file uploading to work when the tmp directory 
was missing, however, there were no error messages or 
anything to elude to what the problem was.

Reproduce code:
<form enctype="multipart/form-data" method=POST>
<input type=file name="file">

Expected result:
You would expect to see the files information...

Actual result:
$_FILES was empty...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-11 01:40 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Sat Nov 28 02:01:31 2015 UTC