Division by zero in /home

[17-Jan-2014 00:23:17 Europe/Madrid] PHP Warning:  Division by zero in /home/xxxxx/public_html/inc/classes/BxDolPaginate.php on line 203


[17-Jan-2014 00:23:17 Europe/Madrid] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/inc/classes/BxDolPaginate.php:203) in /home/xxxxx/public_html/inc/design.inc.php on line 101


[17-Jan-2014 00:23:17 Europe/Madrid] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/inc/classes/BxDolPaginate.php:203) in /home/xxxxx/public_html/inc/classes/BxDolTemplate.php on line 191


[17-Jan-2014 00:23:17 Europe/Madrid] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/inc/classes/BxDolPaginate.php:203)


this is a problem cron  I think
as I fix it?

Thanks

Quote · 18 Jan 2014

Division by zero error has been reported and I think a ticket has been created; not sure of the ticket or the status.

Someone coded a division statement without checking for the possibility that the denominator could be zero; oops, someone has egg on their face for a seasoned programmer LOL.

You probably have something set somewhere to zero that is the number of items to show in a block.  However, the programmer should not just have assumed that the denominator would never be zero; there was a bit of a discussion that this is not a bug that one should not set a field to zero; however, the programmer should have coded for the possibility; a simple check.

Geeks, making the world a better place
Quote · 18 Jan 2014

I get this error after putting new line in cron from cpanel.
cron is a conflict on the one hand
when I remove the new row from cron bug also disappears
I need to get right without removing said linia
thanks for your answer

Quote · 18 Jan 2014

 

I get this error after putting new line in cron from cpanel.
cron is a conflict on the one hand
when I remove the new row from cron bug also disappears
I need to get right without removing said linia
thanks for your answer

If you can, post the cron or PM the cron you added.  This sounds strange to me.

Geeks, making the world a better place
Quote · 18 Jan 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.