See this thread for details on troubleshooting the headers already sent error:
http://www.webassist.com/forums/posts.php?id=19285
if you need further assistance finding the problem, I'll need to troubleshoot directly, see the private message section.