What do you see when you check the source code? Maybe your path or site title contains characters that start a html comment or otherwise illegal characters. If that is the case you can try to use the wash() operator on your variables - maybe that helps.