Warning: Division by zero in /home/XXX/public_html/ . . . - Joomla! Forum - community, help and support
i have rockettheme template on 1.5 rc3 install -it worked great 3 weeks. i'm getting following error @ top of each page.
warning: division 0 in /home/xxx/public_html/templates/rt_modbusiness/rt_splitmenu.php on line 63.
very new joomla, registered forum today, spent couple of hours reading , thought if edited php.ini in joomla root folder , set register_globals = off, might solve problem. no joy.
can't find reference division issue in rt_splitmenu.php file. however, i'm not sure if i'm looking @ right line "63." code in area is:
---------------------------------------------------------------------------------------------------------------------------
63. }
64.
65. if ($color_index && isset($tab_colors[($tab_index)%count($tab_colors)])) {
66. $id .= $tab_colors[($tab_index)%count($tab_colors)];
67. $tab_index++;
68.
69. }
---------------------------------------------------------------------------------------------------------------------------
any insight or guidance appreciated.
t
warning: division 0 in /home/xxx/public_html/templates/rt_modbusiness/rt_splitmenu.php on line 63.
very new joomla, registered forum today, spent couple of hours reading , thought if edited php.ini in joomla root folder , set register_globals = off, might solve problem. no joy.

---------------------------------------------------------------------------------------------------------------------------
63. }
64.
65. if ($color_index && isset($tab_colors[($tab_index)%count($tab_colors)])) {
66. $id .= $tab_colors[($tab_index)%count($tab_colors)];
67. $tab_index++;
68.
69. }
---------------------------------------------------------------------------------------------------------------------------
any insight or guidance appreciated.

t
the code looks fine try contact rockettheme not right section topic.
Comments
Post a Comment