Fixing that CuteNews Error

Have you just installed CuteNews on your site? Everything's working fine, but then you get to the comments, and, BOOM. You see this...

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

...repeating about 7 times down the page. Irritating, right? But guess what? It's really easy to fix! Here's how.

Find a file called functions.inc.php in your CuteNews folder. You can follow the address in the warning if you have to. Then, replace the code on line 469 with if($break_location and $i%$break_location == 0). And that will take care of the problem! Your only mission is to find line 469... xDD;;

You might hear another method of solving this problem, and that involves switching a code to show no error reports. Though it may seem easier, it's actually not fixing the problem at all; it's only hiding the error report. Doing it this way will also hide any other error reports that may occur, so if there's a problem, chances are you might not know about it.

Hope this guide helps! *shot for horrible conclusion*

Disclaimer and Credits

Pokémon is (c) Nintendo. I do not own and did not create it. All content, images, and layouts on this site are copyright Shadow AKA Sandstone-Shadow AKA Qyuarkrien unless otherwise stated. Pokémon images in Holiday Birds style are from Arkeis. Pokéball bullets on some styles are by Jenviousity. Fonts and brushes on some images are from Dafont and Hawksmont Universe respectively. Please do not ask to become a staff member unless I state you may. This is simply a fan site.

Styleswitcher
Navigation
Website
Webmistress

Mainstream Games
General Gaming
Spinoff Games
Sprite Resource

Interactive
Stories
Artwork

Webmasters
Freebies
Affiliates

Hosted By
Layout Template By

Topsites
Hit Counters
Users Online
Spam Poison