Click to See Complete Forum and Search --> : Firefox displays code


axesteves
12-28-2007, 03:18 PM
I've been working a website for a while and all the code validates, except for the ads that my hosting company, GoDaddy puts on. They close a bunch of unopen tags and then run a JavaScript.
Well, in Firefox, (not Safari or IE even), sometimes the page will show the code instead of the actual layout. The content type is specified as text/html, and either way, it only happens sometimes, and on every page. There's no connection at all to why it'll display code one time, then display the page another. Also, the load time is unbearable. In Safari and IE, the pages loads right up. All of the images are optimized and stuff, it just seems like Firefox has a really hard time loading the pages. Does anyone know why this is?
Any feedback is really appreciated. Thanks.

drhowarddrfine
12-28-2007, 05:42 PM
If any browser displays the markup instead of the page then it means it is being served a text/plain. This is a server issue, or perhaps a coding issue if you are using a server side program, and not a Firefox issue.

axesteves
12-28-2007, 11:22 PM
Well, like I said, the content type is specified as text/html. And as for a server-side program, all I use are very basic server-side includes for navigation lists. Also, the pages don't always show code.

ray326
12-29-2007, 03:35 PM
Validate the broken pages and see if that turns something up.

axesteves
12-29-2007, 04:40 PM
I've been working a website for a while and all the code validates..........it only happens sometimes, and on every page.......

Yes.

drhowarddrfine
12-30-2007, 07:26 PM
Well, like I said, the content type is specified as text/html. And as for a server-side program, all I use are very basic server-side includes for navigation lists. Also, the pages don't always show code.
The only way you can help is give us a link. You say it's specified as text/html but is it really being sent that way? Do you know how to view the actual header sent? We can do that for you.

axesteves
12-30-2007, 08:00 PM
Yeah, sure, probably should have done that sooner:
http://misanthrophile.com/firefox_forum.html

It's starting to seem like a cache problem or something now, if there even is such a thing because the page can't be reloaded, yet it has been fine on first load after I clear cache.

drhowarddrfine
12-31-2007, 09:30 AM
Perhaps. It works fine in FF for me.