View Full Version : Cutenews error.
[Oli]
25-06-2007, 03:43 PM
hey, i use to have this prob on my portfolio but i forgot how to fix it:
Warning: Division by zero in /home/planonet/public_html/cutenews/inc/functions.inc.php on line 469
this is the line
if($i%$break_location == "0" and $break_location)
[Oli]
25-06-2007, 06:31 PM
Sorted, please close ;]
PinkFM
26-06-2007, 07:35 PM
May I ask how you fixed this as I always get this error on mine.
Heinous
27-06-2007, 09:00 AM
May I ask how you fixed this as I always get this error on mine.
You don't divide by zero.
[Oli]
01-07-2007, 10:23 PM
May I ask how you fixed this as I always get this error on mine.
Sorry for the late reply, didn't think anyone would post in anymore.
but here's what you do:
Open functions.inc.php
Find: (Line: 469)
if($i%$break_location == "0" and $break_location)
Replace with:
if($break_location and $i%$break_location == 0)
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.