0
Welcome Guest! Login
0 items Join Now

rt_modbusiness menu error

  • rt_modbusiness menu error

    Posted 17 years 5 months ago
    • hi,


      Long time ago i purchased a membership abnd one of them templates included was rt_modbusiness

      Seems that i have an error on that template now:
      Warning: Division by zero in /home/jouhanne/public_html/templates/rt_modbusiness/rt_splitmenu.php on line 63

      site: www.wellcareproducts.com

      do you guys have any idea what causes this error?

      ty in advance

      Roger
  • Re: rt_modbusiness menu error

    Posted 17 years 5 months ago
    • put this above the line that is causing the error:

      error_reporting(0);
    • James Spencer / Developer & Support / Hull, UK
    • Nickza's Avatar
    • Nickza
    • Sr. Rocketeer
    • Posts: 132
    • Thanks: 0

    Re: rt_modbusiness menu error

    Posted 17 years 3 months ago
    • Thanks. works 100%...

      Why did this happen?
  • Re: rt_modbusiness menu error

    Posted 17 years 3 months ago
    • I ran into the same problem with the same template. It took me a few minutes to find the offending line, but once isolated, I inserted the line (referenced below) per Muffin Man's instructions -bingo. . . back to normal! ;D I'm curious like Nickza -does anyone know why this happened? In my case I'm running this template on 1.5 RC3, but in legacy mode. Could that be the issue?

      error_reporting(0);
      if ($color_index && isset($tab_colors[($tab_index)%count($tab_colors)])) {
      $id .= $tab_colors[($tab_index)%count($tab_colors)];
      $tab_index++;
    • Last Edit: 17 years 3 months ago by teknowcat.
    • When I grow up, I want to be Outside!
  • Re: rt_modbusiness menu error

    Posted 17 years 3 months ago
    • I think its a PHP version issue but not really sure.
    • James Spencer / Developer & Support / Hull, UK

Time to create page: 0.066 seconds