Warning: Division by zero in pmsg.php? [message #36187] |
Wed, 07 March 2007 16:04 |
timdogg
Messages: 6 Registered: March 2007 Location: San Diego, CA
Karma: 0
|
Junior Member |
|
|
I have been using FUDforum for 4 years now and it has been absolutely fantastic so first let me thank the development team for an excellent product.
Last night I upgraded from 2.7.6rc1 to 2.7.7rc1 and the upgrade went smoothly but I just noticed a problem I certainly didn't have before. When I go to compose a private message I get:
Quote: | Your private message folders exceed the allowed storage size of 300000 bytes. They currently contain 37733 bytes worth of messages.
Remove some old messages to clear up space..
|
When I view my private messages I get a line at the top that says:
Quote: | Warning: Division by zero in <site edited out>/FUDforum2/theme/default/pmsg.php on line 934
|
I checked that line (934) in the PHP and nothing stuck out at me?
$percent_full = ceil($disk_usage / $ms * 100);
Thanks for any help you can offer.
|
|
|
|
|
|
|
|
|
|