Facebook is most definitely loading some sort of HTML. Since you've said that even when your page is almost entirely blank you still get these errors, have you confirmed that your Facebook app is, in fact, pointing to the correct URL?
I'm also assuming that you tried to access the PHP script from your own browser, too, to ensure that your script is printing what you think it is.
Matchu
2009-12-29 16:58:43