News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Forum Error Log help

Started by MilStories, November 08, 2007, 02:14:48 PM

Previous topic - Next topic

MilStories

Hello.  I hope someone here can help us with this.  I just checked our forum error log, and though our forum has only been open to our members for a few days, we have 170 pages of this message:

Quote8: Undefined index: topbottomEnable
File: /home/milstori/public_html/forum/Themes/7dana_smf/Display.template.php (eval?)
Line: 495


I opened the display.template.php and found the line in question (the one in bold):

Quote<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="margin-top: 1ex;">
   <tr>
      <td align="left" class="catbg" width="100%" height="30">
         <table cellpadding="3" cellspacing="0" width="100%">
            <tr>
               <td>
                  <a name="bot"></a><b>', $txt[139], ':</b> ', $context['page_index'], ($modSettings['topbottomEnable'] ? $context['menu_separator'] . '<a href="#top">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/go_up.gif" alt="' . $txt['topbottom4'] . '" border="0" align="top" />' : $txt['topbottom4']) . '</a>' : ''), '
               </td>
               <td align="right" style="font-size: smaller;">';


Help..?

greyknight17

Does this occur on the default theme as well? If not, you might want to post this in the 7dana theme's topic instead for more support.

MilStories

We changed the theme and haven't had the problem.  I'll post in teh 7dana topic as well, though.  Thank you!

SleePy

Change that line to this:
                  <a name="bot"></a><b>', $txt[139], ':</b> ', $context['page_index'], (!empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '<a href="#top">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/go_up.gif" alt="' . $txt['topbottom4'] . '" border="0" align="top" />' : $txt['topbottom4']) . '</a>' : ''), '
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: