ispCP - Board - Support
Domain Disk and Traffic Usage Report - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Enhancements (/forum-43.html)
+--- Thread: Domain Disk and Traffic Usage Report (/thread-4624.html)

Pages: 1 2 3


RE: Domain Disk and Traffic Usage Report - Mazga - 04-11-2010 02:45 AM

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


RE: Domain Disk and Traffic Usage Report - crafter - 04-13-2010 06:43 AM

(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]