Hi Leute!
Ich könnte mal wieder eure Hilfe gebrauchen.
Hab alles durchforstet hier und das Problem "Datenbankgröße: Nicht verfügbar" so schon lösen können.
Was ich allerdings nicht gefunden habe ist die Lösung für das Problem "Größe des Avatarordners: Nicht verfügbar".
Kurze info...ich will in den nächsten Tagen mit meinem Forum auf einen neuen Server umziehen.
Deshalb hab ich schon mal Testweise den Umzug gemacht um zu schauen ob alles klappt ohne das Forum auf dem alten server zu löschen...das ist also noch aktiv.
Ich hab...soweit ich das erkannt habe...alles richtig gemacht...es klappt alles...nur in den Statistiken das ACP steht unter "Größe des Avatarordners: Nicht verfügbar".
Woran kann das liegen und wie kann ich den fehler beheben.
Die ganzen Avatare im Forum werden angezeigt...es fehlt keins...wieso ist dann die "Größe des Avatarordners: Nicht verfügbar"
Ich weiss echt nicht weiter und hoffe auf euch...ihr habt mir schon sehr oft super geholfen hier!
Wenn noch infos benötigt werden...einfach fragen!!!
Größe des Avatarordners: Nicht verfügbar
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Re: Größe des Avatarordners: Nicht verfügbar
Keiner da der mir bei der Sache helfen kann?
- Dungeonwatcher
- Mitglied
- Beiträge: 635
- Registriert: 11.07.2004 10:04
- Wohnort: Berlin
Re: Größe des Avatarordners: Nicht verfügbar
Moin! 
Dieser Fix von bce sollte da helfen:
Bye

Dieser Fix von bce sollte da helfen:
Code: Alles auswählen
################################################################################
## Snippet Title: Richtige Größe des Avatarordners
##
## Author: Marcus < info@bcerlbach.de > http://www.bcerlbach.de/
##
## Description: nicht nur bei mir wurde die größe des avatar-ordners nicht
## so ganz angezeigt.
## es wurde dabei nur die größe des avatar-root-ordners ermittelt.
## die unterordner wurden nicht berücksichtigt.
##
## mit folgenden codeõnderungen wird die gesamtgröße
## (inkl. unterverzeichnisse) des avatars-ordner ermittelt
## und an entsprechender stelle ausgegeben.
##
## in meinem forum wird an 3 stellen die Größe ausgeben:
## - einmal im normalen acp (immer vorhanden),
## - dann im Advanced ACP (advanced acp-mod von cback muss eingespielt sein)
## - und im statistik mod. (statistik-mod muss eingespielt sein)
##
##
## Installation Level: Easy
## Installation Time: 1-5 Minuten
##
## Files To Edit: (1) \admin\index.php (für alle user)
##
## (2) \forum\admin\admin_advanced.php
## (für user mit dem advanced acp-mod von cback)
##
## (3) \forum\modules\admin_statistics\module.php
## (für user mit dem statistik-mod)
##
################################################################################
##
## Authors Notes:
##
## This MOD is released under the GPL License.
##
## - Vorsichtshalber kann ein Backup der 3 Dateien angefertigt werden.
##
## - Wer immer über Updates informiert werden will, der sollte sich im Forum registrieren. Denn dann hat man die Möglichkeit einen Download zu abonieren. D.h. wenn etwas daran geõndert wurde, so wird umgehend eine E-Mail verschickt.
##
################################################################################
#
#-----[ OPEN ]------------------------------------------------------------------
#
\admin\index.php
#
#-----[ FIND (ca. line 172) ]---------------------------------------------------
#
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
while( $file = @readdir($avatar_dir) )
{
if( $file != "." && $file != ".." )
{
$avatar_dir_size += @filesize($phpbb_root_path . $board_config['avatar_path'] . "/" . $file);
}
}
@closedir($avatar_dir);
#
#-----[ REPLACE WITH ]----------------------------------------------------------
#
/*
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
while( $file = @readdir($avatar_dir) )
{
if( $file != "." && $file != ".." )
{
$avatar_dir_size += @filesize($phpbb_root_path . $board_config['avatar_path'] . "/" . $file);
}
}
@closedir($avatar_dir);
*/
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
function show_all_files($ordner, $links = 0, $sub = FALSE) {
$handle = opendir($ordner);
while ($file = readdir ($handle)) {
if($file != "." && $file != "..") {
if(is_dir($ordner."/".$file)) {
$gesamt += show_all_files($ordner."/".$file, $links+30, TRUE);
} else {
$groesse = filesize($ordner."/".$file);
$gesamt+=$groesse;
}
}
}
closedir($handle);
return $gesamt;
}//function
$dir= $phpbb_root_path.$board_config['avatar_path'];
$gesamt = show_all_files($dir);
$avatar_dir_size = $gesamt;
@closedir($avatar_dir);
#
#-----[ OPEN ]------------------------------------------------------------------
> diese datei nur ÷ffnen, wenn der advanced acp-mod von cback eingespielt ist! <
#
\forum\admin\admin_advanced.php
#
#-----[ FIND (ca. line 430) ]---------------------------------------------------
#
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
while( $file = @readdir($avatar_dir) )
{
if( $file != "." && $file != ".." )
{
$avatar_dir_size += @filesize($phpbb_root_path . $board_config['avatar_path'] . "/" . $file);
}
}
@closedir($avatar_dir);
#
#-----[ REPLACE WITH ]----------------------------------------------------------
#
/*
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
while( $file = @readdir($avatar_dir) )
{
if( $file != "." && $file != ".." )
{
$avatar_dir_size += @filesize($phpbb_root_path . $board_config['avatar_path'] . "/" . $file);
}
}
@closedir($avatar_dir);
*/
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
function show_all_files($ordner, $links = 0, $sub = FALSE) {
$handle = opendir($ordner);
while ($file = readdir ($handle)) {
if($file != "." && $file != "..") {
if(is_dir($ordner."/".$file)) {
$gesamt += show_all_files($ordner."/".$file, $links+30, TRUE);
} else {
$groesse = filesize($ordner."/".$file);
$gesamt+=$groesse;
}
}
}
closedir($handle);
return $gesamt;
}//function
$dir= $phpbb_root_path.$board_config['avatar_path'];
$gesamt = show_all_files($dir);
$avatar_dir_size = $gesamt;
@closedir($avatar_dir);
#
#-----[ OPEN ]------------------------------------------------------------------
> diese datei nur ÷ffnen, wenn der statistik-mod eingespielt ist! <
#
\forum\modules\admin_statistics\module.php
#
#-----[ FIND (ca. line 69) ]----------------------------------------------------
#
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
while( $file = @readdir($avatar_dir) )
{
if( $file != "." && $file != ".." )
{
$avatar_dir_size += @filesize($phpbb_root_path . $board_config['avatar_path'] . "/" . $file);
}
}
@closedir($avatar_dir);
#
#-----[ REPLACE WITH ]----------------------------------------------------------
#
/*
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
while( $file = @readdir($avatar_dir) )
{
if( $file != "." && $file != ".." )
{
$avatar_dir_size += @filesize($phpbb_root_path . $board_config['avatar_path'] . "/" . $file);
}
}
@closedir($avatar_dir);
*/
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
function show_all_files($ordner, $links = 0, $sub = FALSE) {
$handle = opendir($ordner);
while ($file = readdir ($handle)) {
if($file != "." && $file != "..") {
if(is_dir($ordner."/".$file)) {
$gesamt += show_all_files($ordner."/".$file, $links+30, TRUE);
} else {
$groesse = filesize($ordner."/".$file);
$gesamt+=$groesse;
}
}
}
closedir($handle);
return $gesamt;
}//function
$dir= $phpbb_root_path.$board_config['avatar_path'];
$gesamt = show_all_files($dir);
$avatar_dir_size = $gesamt;
@closedir($avatar_dir);
# >> www.bcerlbach.de mal besuchen ;) <<
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------------------------
#
# EoM