rt_modbusiness menu error
5 posts • Page 1 of 1
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:
site: http://www.wellcareproducts.com
do you guys have any idea what causes this error?
ty in advance
Roger
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: http://www.wellcareproducts.com
do you guys have any idea what causes this error?
ty in advance
Roger
- Roger Van Uden
- Newbie

- Posts: 3
put this above the line that is causing the error:
error_reporting(0);
-

James S! - Team RocketTheme

- Posts: 43691
- Location: UK
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++;
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 edited by teknowcat on Fri Jan 25, 2008 5:27 am, edited 1 time in total.
When I grow up, I want to be Outside!
-

teknowcat - Newbie

- Posts: 2
- Location: Arizona, Estados Unidos de América
I think its a PHP version issue but not really sure.
-

James S! - Team RocketTheme

- Posts: 43691
- Location: UK
5 posts • Page 1 of 1
Who is online
Users browsing this forum: Google [Bot], Kadinho and 2 guests

