I have to add that I went round and round with this too. It is very confusing at first.
Nevermind, I feel quite silly now after re-reading (a few times) a similar problem on the forums. My problem was improperly formed loop in the page header. Once I removed it things were fine.