Home »
FUDforum Development »
Bug Reports »
Divide by zero error in pmsg.php, V2.7.7
Divide by zero error in pmsg.php, V2.7.7 [message #37056] |
Tue, 01 May 2007 00:22 |
|
Astoria
Messages: 227 Registered: April 2004
Karma:
|
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
|
|
|
Goto Forum:
Current Time: Sat Nov 30 23:09:38 GMT 2024
Total time taken to generate the page: 0.04148 seconds