broken forums?
Author
Discussion

feef

Original Poster:

5,209 posts

212 months

Tuesday 17th February 2009
quotequote all
Anyone else seeing cut down and truncated HTML rather than the page rendering properly?

I've been getting pages such as this all day (I've only cut and paste the top part). notice it looks like the HTML is missing the headers and stuff to tell the browser how to render it...




s=""><!--
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
--></script><div id="menu" xmlns="">
<ul id="nav">
<li><a href="#">My Info</a><ul>
<li><a href="mytopics.asp?h=0&amp;tab=3&amp;mid=150189">Bookmarks</a></li>
<li><a href="mytopics.asp?h=0&amp;mid=150189">Contributions</a></li>
<li><a href="/members/mates.asp">Mates</a></li>
<li><a href="/members/editprofile.asp">Profile</a></li>
<li><a href="prefs.asp?h=0&amp;mid=150189">Preferences</a></li>
</ul>
</li>
<li><a href="#">This Forum</a><ul>
<li><a href="forum.asp?h=0&amp;f=24&amp;faq=true&amp;mid=150189">Show FAQs</a></li>
<li><a href="forum.asp?h=0&amp;f=24&amp;wiki=true&amp;mid=150189">Show Wikis</a></li>
</ul>
</li>
<li><a href="#">Members</a><ul>
<li><a href="/members/directory.asp">Directory</a></li>
<li><a href="/members/fleet.asp">Fleet</a></li>
<li><a href="/calendar/">Calendar</a></li>
<li><a href="/reviews/">Reviews</a></li>
</ul>
</li>
<li><a href="#">Links</a><ul>
<li><a href="/members/login.asp">Log in</a></li>
<li><a href="/members/logout.asp">Log out</a></li>
<li><a href="/shop/">Shop</a></li>
<li><a href="/sales/">Classifieds</a></li>
<li><a href="http://www.pistonheads.tv">PH.TV</a></li>
<li><a href="/news/">News</a></li>
<li><a href="/lotus/">Lotus</a></li>
<li><a href="/porsche/">Porsche</a></li>
<li><a href="/tvr/">TVR</a></li>
<li><a href="/trackdays/">Track Days</a></li>
<li><a href="/roadtests/">Road Tests</a></li>
</ul>



feef

Original Poster:

5,209 posts

212 months

Friday 20th February 2009
quotequote all
Anyone?

Still geting the same problem.

using Firefox 3.0.6 on Ubuntu 8.10

Screenshot attached.

Looks like the server is serving content, but it's chopping off the headers and top part before sending the html code. Without the doctype and HTML headers being sent, the browser doesn't know how to render it.

This doesn't happen on Any other sites I visit.

a


Xenocide

4,286 posts

237 months

Friday 20th February 2009
quotequote all
I've not had the problem!

jon-

16,534 posts

245 months

Friday 20th February 2009
quotequote all
Nope

feef

Original Poster:

5,209 posts

212 months

Friday 20th February 2009
quotequote all
Been doing some digging, and capturing the HTTP live headers. It looks like, possibly, that I might have found a bug in Greasemonkey, and it's trying to DO something with the javascript in the page, before allowing the page to render. Of course, by rendering the content that only appears after the javascript, Firefox doesn't know what doctype it is, so renders it as text.

I'm going to do some more investigation here, as it Does only affect PH, and there are millions of sites that use javascript in their page that doesn't do this with.

a

Mr Will

13,719 posts

235 months

Friday 20th February 2009
quotequote all
Cool, it's certainly puzzling me, so let me know if you figure it out!

feef

Original Poster:

5,209 posts

212 months

Friday 20th February 2009
quotequote all
I think I've tracked it down, not to Greasemonkey, but another plugin called Feedly. It's the only plugin I've not enabled, and it Seems to have stopped doing it.

That being said, the frequency of the strange output can vary from once an hour, to every page reload for several minutes, so until I've gone a while longer without it happening,. I'm not going to commit smile

a

feef

Original Poster:

5,209 posts

212 months

Monday 2nd March 2009
quotequote all
Definitely Feedly that's the problem.

Can't find out why it only seems to affect PH tho.

I'll keep digging.

a