test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • cashpot Friend
    #119014

    Hello; i have moved my site to different host and when I brought it back to life I got “division by 0 error in index.php line 40. I fixed that based on a thread in the Forum but am now getting the same error but for line 79. I have seen one post about it without solution.

    ideas? thanks

    ha le-viet Developer
    #215189

    Hi Cashpot,

    Can you post your 78, 79 and 80th line of your index.php?

    Regards,
    Ha Le-Viet.

    cashpot Friend
    #215194

    yes, but…. the index.php opens doublelined. (i actually fixed line 80 instead of 40 before) and line 79 thus should be line 158 but that one is empty. so i took few lines before and few after. sorry for the mess.

    $divtopwidth = ‘50%’;

    } else if ($topmodule == 1) {

    $divtopwidth = ‘100%’;

    }

    THIS IS WHERE LINE 158 IS

    $user8divstyle = “”;

    $user9divstyle = “”;

    $topdivstyle=” box-ended”;

    if( !mosCountModules(‘top’) ) {

    cashpot Friend
    #215198

    I digged out the original and this is line 78,79 and 80

    78 $divtopwidth = ‘100%’;
    79 }
    80

    cashpot Friend
    #215199

    hmm. i have uninstalled and reinstalled the template just for the fun of it.
    i got error 40 again which i fixed with your posted error fix and error 79 did not come back!

    talk about curious?
    thank you anyway

    ha le-viet Developer
    #215201

    Yeah, Congrats Cashpot.

    What do you think about 40*2 – 1 = 79 😉

    But whatever, the problem is gone now. Have a good day then.

    Regards,
    Ha Le-Viet.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  ha le-viet 17 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum