Topic: Error in the admin section.
Well i have updated from 1.2Beta and i followed the "guide" When i go to the administartion section i get the following error.
Notice: Undefined index: QUERY_STRING in /home/m/myransancom/forummyran/forum.myran-san.com/header.php on line 172
if (basename($_SERVER['PHP_SELF']) == 'index.php')
$tpl_temp .= '</p>'."\n\t\t\t".'<p class="conr"><a href="search.php?action=show_new">'.$lang_common['Show new posts'].'</a><br /><a href="misc.php?action=markread">'.$lang_common['Mark all as read'].'</a></p>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
else if ($_SERVER['QUERY_STRING'] == 'action=show_new')
$tpl_temp .= '</p>'."\n\t\t\t".'<p class="conr"><a href="misc.php?action=markread">'.$lang_common['Mark all as read'].'</a></p>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
else
$tpl_temp .= '</p>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
}
Does anyone know what to do?
Edit: Its not just in the admin part its in userlist to.... It also make the text larger in that section then the rest of the forum...