Many thanks! That worked great!
The only other probelm I have is that the messenger will not auto-launch when a user logs on (and they have selected the option in prefs) ... you have to launch it manually. Is there anything I could be doing wrong?
I have checked page_header.php and everything looks ok.
Yeah, that's where the problem is. I've rewritten a fair bit of that portion for the next version, but if you want a temporary fix, you could replace both instances of the word 'profile' with 'profile.php'.