Find out more about the “Show Off Your Avatar Campaign
RocketTheme  |  General  |  General Discussion  |  Topic: rt_modbusiness menu error « previous next »
Pages: [1] Go Down Print
Author Topic: rt_modbusiness menu error  (Read 1595 times)
Roger Van Uden
Newbie
*
Offline Offline

Posts: 3

rt_modbusiness menu error
« on: November 26, 2007, 10:47:49 PM »

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:

Quote
Warning: Division by zero in /home/jouhanne/public_html/templates/rt_modbusiness/rt_splitmenu.php on line 63

site: http://www.wellcareproducts.com

do you guys have any idea what causes this error?

ty in advance

Roger
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 34707


Firebug...Firebug...Firebug!

WWW
Re: rt_modbusiness menu error
« Reply #1 on: November 27, 2007, 10:59:24 AM »

Quote
put this above the line that is causing the error:

error_reporting(0);
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Nickza
Sr. Rocketeer
****
Offline Offline

Posts: 116

Re: rt_modbusiness menu error
« Reply #2 on: January 21, 2008, 12:26:49 AM »

Thanks. works 100%...

Why did this happen?
Logged
teknowcat
Newbie
*
Offline Offline

Posts: 2


WOW this really hurts!

Re: rt_modbusiness menu error
« Reply #3 on: January 25, 2008, 05:21:06 AM »

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!  Grin  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: January 25, 2008, 05:27:06 AM by Teknowcat » Logged

When I grow up, I want to be Outside!
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 34707


Firebug...Firebug...Firebug!

WWW
Re: rt_modbusiness menu error
« Reply #4 on: January 25, 2008, 10:37:04 AM »

I think its a PHP version issue but not really sure.
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Pages: [1] Go Up Print 
RocketTheme  |  General  |  General Discussion  |  Topic: rt_modbusiness menu error « previous next »
Jump to: