FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Divide by zero error in pmsg.php, V2.7.7
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Divide by zero error in pmsg.php, V2.7.7 [message #37056] Mon, 30 April 2007 20:22
Astoria is currently offline  Astoria   United States
Messages: 225
Registered: April 2004
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Got the following message on my beta installation when I clicked on Private Messaging:

Warning: Division by zero in (path)/test/theme/default/pmsg.php on line 952


Statement in question is:

$percent_full = ceil($disk_usage / $ms * 100);



People probably won't run into this often; it would only happen if there are no PMs. Also, it still brings up the page correctly; the warning message is just displayed at the top.

Edit: I think this might have been a problem with my Globals file -- nevermind

[Updated on: Mon, 30 April 2007 22:26]

Report message to a moderator

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: PHP Notice in Group(s) Manager
Next Topic: undefined function u() in mnav.php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Oct 23 02:39:09 EDT 2014

Total time taken to generate the page: 0.00703 seconds