I've seen this where the specified file does not exist (like clicking a link to FUBAR.PHP when you only have FOO.PHP defined).
If the file name is correct, make sure that you're header() calls are correct. They can mess things up if you're not careful.
Worst case, simply back up your original file and keep stripping out stuff until you figure out where the offending line is.
Dave
===========================================
http://badblue.com
Small footprint P2P web server for Windows,
File-sharing, PHP, wireless apps & more