Current time: 12-22-2024, 09:12 PM Hello There, Guest! (LoginRegister)


Post Reply 
Domain Disk and Traffic Usage Report
Author Message
Mazga Offline
Junior Member
*

Posts: 16
Joined: Mar 2010
Reputation: 0
Post: #21
RE: Domain Disk and Traffic Usage Report
I´ve some error too,

Warning: Division by zero in /var/www/ispcp/engine/tools/usage_reports.php on line 164

Warning: Division by zero in /var/www/ispcp/engine/tools/usage_reports.php on line 164

Warning: Division by zero in /var/www/ispcp/engine/tools/usage_reports.php on line 164

Warning: Division by zero in /var/www/ispcp/engine/tools/usage_reports.php on line 164

ispCP 1.0.5 debian lenny

regards Martin
04-11-2010 02:45 AM
Find all posts by this user Quote this message in a reply
crafter Offline
Junior Member
*

Posts: 10
Joined: Sep 2009
Reputation: 0
Post: #22
RE: Domain Disk and Traffic Usage Report
(04-11-2010 02:45 AM)Mazga Wrote:  I´ve some error too,
regards Martin

Martin

The division by zero is due to domains with no limits. I will fix this in my next version, but it probably needs an if () statement to detect this to get rid of the error. The script works correctly despite the error.

I have a new thread, so as not to hijack FeG's thread. Please refer here for the PHP version:[url= http://www.isp-control.net/forum/thread-10381.html] http://www.isp-control.net/forum/thread-10381.html[/url]
(This post was last modified: 04-13-2010 06:46 AM by crafter.)
04-13-2010 06:43 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)