+1  A: 

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
You are right, I had the correct URL in the settings for the app but there is a seperate URL needed for the profile tab for your app so I got it loading my app sort of, now it shows a different error: "Errors while loading page from applicationRuntime errors:fb:redirect: redirect forbidden by flavor TabFBMLFlavor" but that was a huge step in the right direction, thanks
jasondavis