looking at the code you pasted, it looks file to me too, but that's not what the error is saying.
my guess is a blank space at the end of line 4:
"?> "
but i cant say without seeing the actual code.
I would need you to send a copy of the page in a zip archive to examine the code.