Statistics - incorrect numbers [message #31264] |
Thu, 13 April 2006 14:43 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
When I run forum stats on my forums where the "data dir" is a sub directory of "web dir", I see that "Web Dir" reports the total amount of disk space for the entire forums, including forum data. Let us say this number is 50Mb. "Data Dir" reports only the space in the non-browseable forum data. Let us make this 40MB. Now looking at the "Total Disk Usage" you see those two numbers added together, which is a false representation of disk space used by the forums. There should be a check if "Data Dir" is located under "Web Dir", and if so, it should subtract the amount in "Data Dir" from "Web Dir". The other alternative is to check for this and then set the "Total" to the same number as "Web Dir".
[Updated on: Fri, 14 April 2006 02:10] Report message to a moderator
|
|
|
Re: Statistics - incorrect numbers [message #31287 is a reply to message #31264] |
Fri, 14 April 2006 20:54 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The check is already there ($DATA_DIR != $WWW_ROOT_DISK) do those values differ for you inside your GLOBALS.php?
FUDforum Core Developer
|
|
|
|
|
|
|