That all came from navbar_link in the navbar and bread crumbs template.
EDIT:I got it, thanks anyway. Here was the problem:
HTML Code:
<td> </td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome] .php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
Should have been:
HTML Code:
<a href="$vboptions[forumhome]index.php$session[sessionurl_q]"
Thanks anyway.