see this post for details on troubleshooting the headers already sent error:
http://www.webassist.com/forums/posts.php?id=19285
on this page, the problem is the last one mentioned in that thread:
2) The Unicode Signature (BOM) PHP bug. the forth screen shot shows the Title / Encoding category of the Page Properties screen (Modify - > Page Properties). Checking the Include Signature (BOM) option can cause the headers already sent error 


