Does any one know what this error means

Started by loudog, March 12, 2006, 02:46:38 PM

Previous topic - Next topic

loudog

SMF Version: SMF 1.0.6
And what I would need to do to fix it?

8: Undefined index: view_num_guests
File: /........................./Themes/open2/MessageIndex.template.php (eval?)
Line: 18

8: Undefined variable: board
File: /......................../Themes/open2/MessageIndex.template.php (eval?)
Line: 119

Line 18
echo '
<td class="smalltext" align="right" valign="middle">';

echo empty($context['view_members_list']) ? '0 ' . $txt[19] : implode(', ', $context['view_members_list']) . (empty($context['view_num_hidden']) || $context['can_moderate_forum'] ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')');
echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_board'], '</td>';
echo '
</tr>
</table>';


line 119
echo '
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="right" valign="bottom" width="50"><img src="' . $settings['images_url'] . '/top_left.gif" alt="" border="0" height="28" width="50"></td><td align="center" background="' . $settings['images_url'] . '/top_center.gif" valign="middle" width="100%"><span class="cattitle">', $board['name'], '</span></td><td align="left" valign="bottom" width="50"><img src="' . $settings['images_url'] . '/top_right.gif" alt="" border="0" height="28" width="50"></td></tr></tbody></table>
<table class="forumline" border="0" cellpadding="4" cellspacing="1" width="100%">';


Thanks in advance.

Oldiesmann

Do you have any mods installed that change MessageIndex.php or MessageIndex.template.php?
Michael Eshom
Christian Metal Fans

loudog

The only mod I have is shoutbox, and any updates. Although I did install this template recently after some updates. I use a different template for each topic, so this is not my main index template.

Advertisement: