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 :: Polls :: Message Navigator
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] Tue, 01 May 2007 00:22
Astoria is currently offline  Astoria   United States
Messages: 227
Registered: April 2004
Karma: 0
Senior Member
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: Tue, 01 May 2007 02:26]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sun May 19 03:08:32 GMT 2024

Total time taken to generate the page: 0.03129 seconds