misterunscripted.com
Chris - Shellz - Jem - Jack - Zahin - Ben - Christine - Jordan - Olivia - Jay
Home Cory Website Tutorials Webmaster Resources Interaction MySpace Graphics RSS
CuteNews Division By Zero Fix
A division by zero error is one that occurs within CuteNews due to the coding needing a change. It occurs on line 469, and is very simple to fix, but is sometimes missed, as it is seen only when comments are displayed.

Warning: Division by zero in /home/username/public_html/cutenews/inc/functions.inc.php on line 469
Warning: Division by zero in /home/username/public_html/cutenews/inc/functions.inc.php on line 469
Warning: Division by zero in /home/username/public_html/cutenews/inc/functions.inc.php on line 469
Warning: Division by zero in /home/username/public_html/cutenews/inc/functions.inc.php on line 469
Warning: Division by zero in /home/username/public_html/cutenews/inc/functions.inc.php on line 469
Warning: Division by zero in /home/username/public_html/cutenews/inc/functions.inc.php on line 469
Warning: Division by zero in /home/username/public_html/cutenews/inc/functions.inc.php on line 469
Warning: Division by zero in /home/username/public_html/cutenews/inc/functions.inc.php on line 469

To fix this error, you will need to recode that line, and this will help you to do so simply.

Step 1
To begin, you will need to open your FTP, and login.

Step 2
Once logged in, go to your PUBLIC_HTML » CUTENEWS » INC folder.

Step 3
Once in this folder, open FUNCTIONS.INC.PHP, and use CTRL + F to find the following code.
If you can not find this within the file, simply go to line 469; CTRL + G, then type 469 in the dialog box, and it will bring you to the proper line. Then, replace that code with this following code.

Step 4
Finally, SAVE, and CLOSE the file; if prompted, agree to overwrite the existing file.

Completion!
Congratulations! You have fixed your division by zero error within CuteNews, and you will no longer get error reports!