Summary | Add Quota Display Page to Gollem |
Queue | Gollem |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | slusarz (at) horde (dot) org |
Created | 09/27/2005 (7218 days ago) |
Due | |
Updated | 10/26/2005 (7189 days ago) |
Assigned | |
Resolved | 10/26/2005 (7189 days ago) |
Milestone | |
Patch | No |
Sorry about that.
The quota graph looks great BTW.
I get this on the screen
Array ( [usage] => 17757126 [limit] => 20 )
And i still get
PHP Warning: Division by zero in
/usr/local/lib/php/Horde/Graph/Chart/pie.php on line 74
in my logs
Let me know what to do next.
Thanks.
print_r($quota_info);
and post the output.
But, now when I click on the Check Quota link, I get a page that says
Quota Usage on the top, but otherwise is blank.
Here is an error that comes up.
PHP Warning: Division by zero in
/usr/local/lib/php/Horde/Graph/Chart/pie.php on line 74
Any ideas on this one? I did update all of the framework packages,
not just VFS.
trying to login to. I touched no code that would have affected this
so there is something up on your end.
Invalid argument supplied for foreach() in
/usr/local/websites/webmail/docs/gollem/templates/login/login.inc on
line 116
I updated my backends.php file from the new .dist
Any ideas?
Here is the setting in backends.php:
'quota' => "20 MB",
It does calculate the amount of disk space all of the files use though.
Anything I need to check?
Thanks.
Assigned to Michael Slusarz
State ⇒ Feedback
truthfully, this won't take too much time to code - i just haven't got
to it yet (other stuff is higher priority right now).
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Add Quota Display Page to Gollem
Queue ⇒ Gollem
State ⇒ Accepted
Bug #162:I hesitate to do this because determining the current size of all
files in a VFS backend can be a very time-consuming process (e.g. a
ftp account with hundreds of folders). The code as it stands right
now only calculates the size when a write process is performed. This
will not happen on the majority of page loads. If you are asking to
recalculate the filesize on every page load with some kind of status
bar, this will be a terrible performance issue at this time.
Other options to consider:
1.) Caching filesize - this will only work if we can be sure that the
Horde VFS object in the current session is the only method that can be
used to update the filesystem. This might be doable if we add an
'exclusivevfsupdate' parameter that indicates this is the case. In
the default case, however, we can't cache.
2.) Have a separate page in gollem that can be accessed that will show
the VFS quota information - a better option.