Warning: Division by zero in /usr/export/www/vhosts/funnetwork/hosting/ugur33asyhell/admin/admin_ip_tracking.php on line 436
Warning: Division by zero in /usr/export/www/vhosts/funnetwork/hosting/ugur33asyhell/admin/admin_ip_tracking.php on line 437
Warning: Division by zero in /usr/export/www/vhosts/funnetwork/hosting/ugur33asyhell/admin/admin_ip_tracking.php on line 438
Warning: Division by zero in /usr/export/www/vhosts/funnetwork/hosting/ugur33asyhell/admin/admin_ip_tracking.php on line 439
Warning: Division by zero in /usr/export/www/vhosts/funnetwork/hosting/ugur33asyhell/admin/admin_ip_tracking.php on line 440
Fehler bei IP Tracking
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.0, 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.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Fehler bei IP Tracking
Ich habe gerade das IP Tracking Mod installiert und es zeigte folgende Fehlermeldung:
Fehler bei IP Tracking 2.
Servus,
bei mir zeigt er das in den Zeilen 438 bis 442 an!
Das sind die ZeilenAber nur, wenn ich die Konfiguration auf "Null" setze!
Ist das normal?
bei mir zeigt er das in den Zeilen 438 bis 442 an!
Das sind die Zeilen
Code: Alles auswählen
$total_percent = round ( $total_ips / $total_ips * 100, 1);
$users_percent = round ($total_users / $total_ips * 100, 1);
$guests_percent = round ($total_guests / $total_ips * 100, 1);
$bots_percent = round ($total_bots / $total_ips * 100, 1);
$admins_percent = round ($total_admins / $total_ips * 100, 1);
Ist das normal?
Viele Grüße Carlo
Dieses Posting wurde aus 100% biologisch abbaubaren und freilaufenden Elektronen erzeugt.
Dieses Posting wurde aus 100% biologisch abbaubaren und freilaufenden Elektronen erzeugt.
Das könnte helfen -->
admin_ip_tracking.php öffnen / suchen
ersetzen durch
Feedback wär ok / easy
admin_ip_tracking.php öffnen / suchen
Code: Alles auswählen
$total_percent = round ( $total_ips / $total_ips * 100, 1);
$users_percent = round ($total_users / $total_ips * 100, 1);
$guests_percent = round ($total_guests / $total_ips * 100, 1);
$bots_percent = round ($total_bots / $total_ips * 100, 1);
$admins_percent = round ($total_admins / $total_ips * 100, 1);
Code: Alles auswählen
$ipx = ( $total_ips <= 0 ) ? '1' : $total_ips;
$total_percent = round ( $total_ips / $ipx * 100, 1);
$users_percent = round ($total_users / $ipx * 100, 1);
$guests_percent = round ($total_guests / $ipx * 100, 1);
$bots_percent = round ($total_bots / $ipx * 100, 1);
$admins_percent = round ($total_admins / $ipx * 100, 1);
- andreasOymann
- Ehemaliges Teammitglied
- Beiträge: 2392
- Registriert: 10.06.2003 16:29
- Wohnort: Hamminkeln
- Kontaktdaten:
noch besser:
Das erspart die zusätzliche Variable und gibt " - " aus, wenn nichts geloggt ist.
A.
Code: Alles auswählen
$total_percent = $total_ips == 0 ? '-' : round ( $total_ips / $total_ips * 100, 1);
$users_percent = $total_ips == 0 ? '-' : round ($total_users / $total_ips * 100, 1);
$guests_percent = $total_ips == 0 ? '-' : round ($total_guests / $total_ips * 100, 1);
$bots_percent = $total_ips == 0 ? '-' : round ($total_bots / $total_ips * 100, 1);
$admins_percent = $total_ips == 0 ? '-' : round ($total_admins / $total_ips * 100, 1);
A.
Kein Support per PN / Mail / ICQ / MSN ! Dafür gibt´s dieses Forum...