Results 1 to 5 of 5

Thread: Cutenews error.

  1. #1
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default Cutenews error.

    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)

  2. #2
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    Sorted, please close ;]

  3. #3
    Join Date
    Jul 2006
    Location
    England
    Posts
    610
    Tokens
    0

    Default

    May I ask how you fixed this as I always get this error on mine.


  4. #4
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Quote Originally Posted by PinkFM View Post
    May I ask how you fixed this as I always get this error on mine.
    You don't divide by zero.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  5. #5
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    Quote Originally Posted by PinkFM View Post
    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)
    PHP Code:
    if($i%$break_location == "0" and $break_location
    Replace with:
    PHP Code:
    if($break_location and $i%$break_location == 0
    Last edited by [Oli]; 01-07-2007 at 10:24 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •