6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/20/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3647] Problem with _checkQuotaWrite in VFS.php
*
Your Email Address
*
Spam protection
Enter the letters below:
.___. .. ..___.. . [__ \ /\ / _/ |\ | [___ \/ \/ ./__.| \|
Comment
> In VFS.php, there is a problem with the function _checkQuotaWrite: > > > > --- > > $filesize = @filesize($tmpFile); // No reference to > $tmpFile in function > > if ($filesize === false) { > > return PEAR::raiseError(_("Unable to read VFS > file (filesize() failed).")); // error raised here > > } > > --- > > > > The variable $tmpFile is not referenced at all in _checkQuotaWrite, > and as such the function will try to perform the @filesize on a file > it knows nothing about it. If that code is commented out, the upload > works fine (the file uploads) but you then get a "Unable to write VFS > file (file)" in Gollem. > > > > I have only noticed this problem with attempting to write to the FTP > VFS, not with SQL VFS.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers