Hi,
habe gerade mal von 0.7.1 ein Update gemacht, was eigentlich auch
problemlos geklappt hat.
Klickt man im Admin-Interface auf Statistiken kommt es
u.a. bei durchschnittlichen Trackbacks und Zeichen zu einer
"division by zero" in plugins/serendipity_event_statistics/serendipity_event_statistics.php
Zeilen: 427, 431, 453.
Bin mir nicht sicher, ob das am Updaten und der schon beschriebenen Datenbank liegt
oder daran, dass noch nichts eingetragen wurde...
ist auf jeden Fall unschön so ne Nullerdivision zu haben.
Aber funktionieren tut trotzdem alles.
Gruß,
zERo
s9y_200501161337.tar.gz - Division by zero in statistics
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: s9y_200501161337.tar.gz - Division by zero in statistics
Hm, those divisions by zero should only happen if you have no entries published. Is that possible? Of course statistics only make sense if you have written entries?!
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
You are right, we should add a check just to make sure that users won't stumble there.
Thanks,
Garvin
Thanks,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/