1 (edited by lie2815 2007-04-13 04:37)

Topic: [SOLVED] < in footer

I am sure somebody has already asked that, but...
Every time I edit the page footer, a < appears in front of the footer box. This time I didn't even do it myself, but used the pm mod, and it still does it. Why?

FluxBB - v1.4.8

2

Re: [SOLVED] < in footer

you have left a < in the code where you should have removed it or you have it twice, search for << in your files.

Re: [SOLVED] < in footer

I did, but there is nothing. And I did it very carefully, and it only happens when I enter new stuff in the footer

FluxBB - v1.4.8

Re: [SOLVED] < in footer

I'm confused, what are you editing?

Re: [SOLVED] < in footer

I am not deleting anything, just adding my copyright ... kind of marking my area wink

FluxBB - v1.4.8

Re: [SOLVED] < in footer

Nobody said deleting, I meant what file are you editing? wink

Re: [SOLVED] < in footer

footer.php sorry about that

FluxBB - v1.4.8

Re: [SOLVED] < in footer

Here is the beginning of my footer.php file:

<?php
/***********************************************************************

  Copyright (C) 2002-2005  Rickard Andersson (rickard@punbb.org)

  This file is part of PunBB.

  PunBB is free software; you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published
  by the Free Software Foundation; either version 2 of the License,
  or (at your option) any later version.

  PunBB is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  MA  02111-1307  USA

************************************************************************/


// Make sure no one attempts to run this script "directly"
if (!defined('PUN'))
    exit;

$tpl_temp = trim(ob_get_contents());
$tpl_main = str_replace('<pun_main>', $tpl_temp, $tpl_main);
ob_end_clean();
// END SUBST - <pun_main>


// START SUBST - <pun_footer>
ob_start();

?>
<div id="brdfooter" class="block">

When I look at the XHTML code from my browser, in the last line, it is:

<<div id="brdfooter" class="block">

Now, in footer.php, it looks like that comes from another file. Does anybody have an idea?

FluxBB - v1.4.8

Re: [SOLVED] < in footer

Never mind, got it working now. I knew I had seen a topic like this before somewhere:
http://punbb.org/forums/viewtopic.php?id=8332

FluxBB - v1.4.8