Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

blank error message (just a space) occurs before header (fixed, not a bug)

edited September 2006 in Vanilla 1.0 Help
i get a &nsbp; before the header occurs on my site. I assume that its an error that is supposed to be returned, but i can't figure out what could have caused it. I checked the error log, and the most recent was from a month ago (way before this showed up). Vanilla uses its own MySQL database on my server, so its not a conflict from that. I first noticed it when I was editing the vanilla.css, and header.php. I cant seem to figure out anything that would have caused it from either of those files. I'm at a loss on where it could be from, so I need some suggestions on where to look or other possible causes. Solutions would be nice too, but i think i can figure it out. You can view this at www.neomenlo.org/forum/

Comments

  • you edited header.php? make sure there's no whitespace in that file before the <? or after the ?>
    especially the file is unicode/utf-8. sometimes there's an invisible byte order marker at the beginning of unicode textfiles.
  • oh, it's actually "&nbsp;"
    it must be printed by a function somewhere before the page is rendered. weird...
  • When i said before the header, i meant that it is the very first thing sent. its line 1 col 1. It is before even the doctype. So I'm fairly sure that its a .php error message that has no text to it.
  • After hours of searching i finally found it. It was in fact entirely my fault. I was looking in the wrong place. I always looked down, at the content. It somehow appeared above the comments, like this:   <?php /* * Copyright 2003 Mark O'Sullivan * This file is part of Vanilla. Sorry about that.
  • so it was in header.php?
This discussion has been closed.