Of course, I'd ditch Internet Explorer for Firefox anyday. But alas, any sane web-developer must test for all browsers and make sure things render correctly. So much to my display, when I fired up Internet Explorer one day, everything broke on Localhost. It's kinda hard to explain, but it involves external objects.
Certain imported things like pictures and stylesheets simply are not being imported in localhost. For instance, I'll have:
index.php loading:
*style.css (works)
*dynamic/thumbnails/trishabakshi/bridges.jpg (doesn't work)
*new.gif (doesn't work)
*logo.gif (works)
or
s.php loading:
*story.css (doesn't work)
*authordata/trishabakshi/one/bridges.jpg (works)
*logo.gif (works)
*Google Ad (works)
*book/captcha.php?sid=PHPSESSID&rand=0.91084200 1116638373 (works)
I have no clue what's going on, and I have no clue whether or not there's a pattern, and I have no clue how to fix this. As I said earlier, everything works perfectly on Firefox, and when you upload it to a webserver, everything works in IE too. But not in localhost. Has anyone ever run into this problem before?
[SOLVED] IE Problems in Localhost
Moderator: General Moderators
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
[SOLVED] IE Problems in Localhost
Last edited by Ambush Commander on Sat May 21, 2005 5:26 pm, edited 1 time in total.
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
I've taken a longer look and this might be a problem with Apache too (stupid me!) But I don't know what. Here is the access log for two requests from IE:
What one should note is that the final field, the filesize, is marked as "-" when IE recieves the file. ex) background.jpg reported the filesize, so IE didn't recieve it; but megatokyo_thumb.jpg reports a "-", and it was recieved. This, however, doesn't apply to the css page, but note how the style.css calls are all jumbled around. Is IE prefetching content? Hmph.
According to http://httpd.apache.org/docs-2.0/logs.html on access logs, Apache claims that "-" is output when there was no content returned to the client. Now ain't that funny?
Firefox, of course, handles it perfectly, and in HTTP 1.1 to boot:
But the last field is still "-". Did I misinterpret this:
Any other suggestions?
Code: Select all
127.0.0.1 - - ї20/May/2005:21:35:04 -0400] "e;GET / HTTP/1.0"e; 200 146422
127.0.0.1 - - ї20/May/2005:21:35:05 -0400] "e;GET /index/img/menubar.jpg HTTP/1.0"e; 206 2256
127.0.0.1 - - ї20/May/2005:21:35:05 -0400] "e;GET /index/img/megatokyo_thumb.jpg HTTP/1.0"e; 304 -
127.0.0.1 - - ї20/May/2005:21:35:05 -0400] "e;GET /index/img/logo.jpg HTTP/1.0"e; 304 -
127.0.0.1 - - ї20/May/2005:21:35:05 -0400] "e;GET /index/img/background.jpg HTTP/1.0"e; 206 2158
127.0.0.1 - - ї20/May/2005:21:35:39 -0400] "e;GET /index/style.css HTTP/1.0"e; 304 -
127.0.0.1 - - ї20/May/2005:21:35:38 -0400] "e;GET / HTTP/1.0"e; 200 146422
127.0.0.1 - - ї20/May/2005:21:35:39 -0400] "e;GET /index/img/megatokyo_thumb.jpg HTTP/1.0"e; 304 -
127.0.0.1 - - ї20/May/2005:21:35:39 -0400] "e;GET /index/img/menubar.jpg HTTP/1.0"e; 206 2256
127.0.0.1 - - ї20/May/2005:21:35:39 -0400] "e;GET /index/img/logo.jpg HTTP/1.0"e; 304 -
127.0.0.1 - - ї20/May/2005:21:35:39 -0400] "e;GET /index/img/background.jpg HTTP/1.0"e; 200 2158
127.0.0.1 - - ї20/May/2005:21:39:50 -0400] "e;GET / HTTP/1.0"e; 200 146422
127.0.0.1 - - ї20/May/2005:21:39:50 -0400] "e;GET /index/style.css HTTP/1.0"e; 304 -
127.0.0.1 - - ї20/May/2005:21:39:51 -0400] "e;GET /index/img/megatokyo_thumb.jpg HTTP/1.0"e; 304 -
127.0.0.1 - - ї20/May/2005:21:39:51 -0400] "e;GET /index/img/logo.jpg HTTP/1.0"e; 304 -
127.0.0.1 - - ї20/May/2005:21:39:50 -0400] "e;GET /index/img/background.jpg HTTP/1.0"e; 206 2158
127.0.0.1 - - ї20/May/2005:21:39:51 -0400] "e;GET /index/img/menubar.jpg HTTP/1.0"e; 206 2256According to http://httpd.apache.org/docs-2.0/logs.html on access logs, Apache claims that "-" is output when there was no content returned to the client. Now ain't that funny?
Firefox, of course, handles it perfectly, and in HTTP 1.1 to boot:
Code: Select all
127.0.0.1 - - ї20/May/2005:21:42:43 -0400] "e;GET / HTTP/1.1"e; 200 146215
127.0.0.1 - - ї20/May/2005:21:42:44 -0400] "e;GET /index/style.css HTTP/1.1"e; 304 -
127.0.0.1 - - ї20/May/2005:21:42:44 -0400] "e;GET /index/img/menubar.jpg HTTP/1.1"e; 304 -
127.0.0.1 - - ї20/May/2005:21:42:44 -0400] "e;GET /index/img/background.jpg HTTP/1.1"e; 304 -
127.0.0.1 - - ї20/May/2005:21:42:45 -0400] "e;GET /index/img/logo.jpg HTTP/1.1"e; 304 -
127.0.0.1 - - ї20/May/2005:21:42:45 -0400] "e;GET /index/img/megatokyo_thumb.jpg HTTP/1.1"e; 304 -Of course, this could possibly not be the problem at all. Maybe it's the error codes? Some of the files are throwing 206, or Partial Content warnings. That's not very homologous either.2326 (%b)
The last entry indicates the size of the object returned to the client, not including the response headers. If no content was returned to the client, this value will be "-". To log "0" for no content, use %B instead.
Any other suggestions?
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US