Perfectly valid website crashing IE

R

Richard

Could anyone using IE 6 please test this site for me, and let me know if
it generates an error?

http://www.masterpiece.co.nz/index.php

I have just installed the site onto the client's webserver. They are
running IIS. The HTML and CSS both validate.

When I try to access the site from any of the computers on their network
IE 6 crashes with this:

Microsoft Visual C++ Runtime Library
Runtime Error!
Program C:\Program Files\Internet Explorer\IEXPLORE.EXE

R 6025
- pure virtual function call

This happens on both XP and 2K. It only happens with this page on this
site. It happens about 75% of the time. Doesn't happen with any other
sites to my knowledge, though I only tried 20 or 30. Needless to say it
doesn't happen with other browsers.

Here's the really weird bit:

None of the other pages on the site generate the error, only index.php and
whatsNew.php, which is the same thing -- index.php is just include(
"whatsNew.php" );.

If I take the output from index.php, and paste it into a new document and
put it on the server, that page doesn't crash IE:
http://www.masterpiece.co.nz/test3.html

If I embed index.php in an object element inside index.html, and load
index.html, it doesn't crash:
http://www.masterpiece.co.nz/index.html

If I navigate to the page from another page, it never crashes. Only if I
type/paste the url it into the address bar, or click refresh on one of the
occasions when it hasn't crashed it.

WTF???

I can't get it to crash under IE 6 on any of the machines in my office,
only on machines on their network. Wide range of hardware.

I wouldn't even have a clue how to start tracking this down, any ideas?

Is it likely to be anything to do with IIS?

Google has been less than helpful. The only other thing I can find to do
with IE is that streaming audio/video in IE 6 can cause this error, and I
have neither of these.

Does anyone know of any other newsgroups that might be more suitable for
asking this in? Of course, if I then follow that up I will be guilty of
multiposting (sigh).

Please excuse my including alt.html in my crossposting, but I am desperate
and I know a lot of very smart people lurk there.

--
"Come to think of it, there are already a million monkeys on a million
typewriters, and the Usenet is NOTHING like Shakespeare!" - Blair Houghton
-=-=-=-=-=-=-=-=-=-=-=-
http://www.nrkn.com/
-=-=-=-=-=-=-=-=-=-=-=-


Why do you have this crap?
<div class="baseW">
<div class="baseE">
<div class="buttonWrap">
<div class="buttonNW">
<div class="buttonNE">
<div class="buttonN">
<img src="./layoutImages/spacer.gif" class="spacer" alt="">
</div>
</div>
</div>

Not only once, but for each button.
All of that for a spacer gif?
To seperate the buttons, use margin. margin-right:20px;


All you need to do is define the layout for each <li> item.

<ul class="navigation">

<li class="current">Home</li>
<li><a href="aboutUs.php">About Us</a></li>
<li><a href="contactUs.php">Contact Us</a></li>
<li><a href="products.php">Products</a></li>
<li><a href="news.php">News</a></li>
<li><a href="links.php">Links</a></li>
</ul>

ul {......}
ul li {......}

BTW, there is no need to "float:left" images as they do it naturally.


www.somestuff.batcave.net

My menu uses css to define each level of ul li.
Which is how I can do the color change so easily.
But what I do is add in a division rather than defining the li item itself.
<ul><li><div class="x">text</div></li></ul>

Rewrite the coding for the menu and begin with a simple ul li arrangement.
 
O

Oli Filth

Richard said:
Why do you have this crap?
<div class="baseW">
<div class="baseE">
<div class="buttonWrap">
<div class="buttonNW">
<div class="buttonNE">
<div class="buttonN">
<img src="./layoutImages/spacer.gif" class="spacer" alt="">
</div>
</div>
</div>

Not only once, but for each button.
All of that for a spacer gif?

I suspect it's to achieve the rounded corners of the borders.
All you need to do is define the layout for each <li> item.

<ul class="navigation">

<li class="current">Home</li>
<li><a href="aboutUs.php">About Us</a></li>
<li><a href="contactUs.php">Contact Us</a></li>
<li><a href="products.php">Products</a></li>
<li><a href="news.php">News</a></li>
<li><a href="links.php">Links</a></li>
</ul>

Not if he wants the rounded corner look. It's a hack (cos CSS 2.1
doesn't support rounded corners natively), but it works.
www.somestuff.batcave.net

But what I do is add in a division rather than defining the li item itself.
<ul><li><div class="x">text</div></li></ul>

Why? What's the point?
 
S

Steve Pugh

Richard said:
Why do you have this crap?
<div class="baseW">
<div class="baseE">
<div class="buttonWrap">
<div class="buttonNW">
<div class="buttonNE">
<div class="buttonN">
<img src="./layoutImages/spacer.gif" class="spacer" alt="">
</div>
</div>
</div>


Until CSS supports multiple background images the only way to create a
box with a fancy border that is flexible both horizontally and
vertically is to use at least four elements in order to set at least
four background images. Nik's chosen to use eight instead of four,
probably to keep the file size of the background images smaller.
Not only once, but for each button.

No, not for each button. For each group of buttons
All of that for a spacer gif?

It's possible that the spacer could be elminated.
To seperate the buttons, use margin. margin-right:20px;

You mean like this:

..navigation li
{
margin-right: 1em;
}

Right there in the CSS that you're slagging off in your ignorant
fashion.
All you need to do is define the layout for each <li> item.

<ul class="navigation">

<li class="current">Home</li>
<li><a href="aboutUs.php">About Us</a></li>
<li><a href="contactUs.php">Contact Us</a></li>
<li><a href="products.php">Products</a></li>
<li><a href="news.php">News</a></li>
<li><a href="links.php">Links</a></li>
</ul>

ul {......}
ul li {......}

You're telling him to do something that he's already doing. Look at
the styles for .navigation and its children.

How would you draw the the box with the curved corners and drop shadow
around the navigation? It must adjust to varying horizontal and
vertical dimensions beacuse the window width and font size are under
the user's control. Come on.
BTW, there is no need to "float:left" images as they do it naturally.
Wrong.

www.somestuff.batcave.net

My menu uses css to define each level of ul li.

So does Nik's.
Which is how I can do the color change so easily.

What colour change? I've tried mousing over and clicking the "links"
and nothing changes colour? Or are you really boasting about being
able to set different colours for the different levels of nested
lists?
But what I do is add in a division rather than defining the li item itself.
<ul><li><div class="x">text</div></li></ul>
Why?

Rewrite the coding for the menu and begin with a simple ul li arrangement.

Nik's menu code is simpler than yours (no extraneous divs) and
produces a more pleasing visual effect. As ever all you're doing is
showing your ignorance.

Steve
 
B

BruceB

Nik Coughin said:
Could anyone using IE 6 please test this site for me, and let me know if
it generates an error?

http://www.masterpiece.co.nz/index.php

I have just installed the site onto the client's webserver. They are
running IIS. The HTML and CSS both validate.

Works OK for me, although it smells a little like Frontpage..

I use XP Home SR2 with current patches/updates...

You must have some local problem. If it validates, it should be fine on
IE6.

Maybe I'm naive..
 
N

n|ck

Richard said:
<ul><li><div class="x">text</div></li></ul>

Isn't that invalid? I didn't think you could put a <div> inside a <li>...
Why don't you just use a <span> instead?
 
G

GreyWyvern

And lo, n|ck didst speak in
alt.html,alt.www.webmaster,microsoft.public.internetexplorer:
Isn't that invalid? I didn't think you could put a <div> inside a <li>...
Why don't you just use a <span> instead?

<div>'s inside <li> tags are perfectly valid. However, in this case the
use of <div> as a container for everything within the <li> is totally
superfluous.

The above snippet should be simplified by removing the <div> entirely and
applying the class to the <li>.

Grey
 
N

nojunk

Nik Coughin said:
Could anyone using IE 6 please test this site for me, and let me know if it
generates an error?

http://www.masterpiece.co.nz/index.php

I have just installed the site onto the client's webserver. They are
running IIS. The HTML and CSS both validate.

I see several instances of "<br />", which iCab flags as a problem.
Could it be those? there are several of them, down in the "about us"
section near line #90.
 
N

Nik Coughin

Mike Pearson said:
I see several instances of "<br />", which iCab flags as a problem.
Could it be those? there are several of them, down in the "about us"
section near line #90.

Ah yes, they are being inserted by php's nl2br function. It's a simple
enough function, I'll write my own function to use <br> instead and see if
that makes any difference. My personal opinion is that it should make no
difference whatsoever (it validates) but you could be right, IE is indeed a
fickle beast. Thanks.
 
N

Nik Coughin

BruceB said:
Works OK for me, although it smells a little like Frontpage..

Hand coded all the way, some of it being output by php.
I use XP Home SR2 with current patches/updates...

You must have some local problem. If it validates, it should be fine
on IE6.

That's my thoughts on it as well, but it seems some other people get the
same thing unfortunately.
 
N

Nik Coughin

Richard said:
Why do you have this crap?

8 said:
Rewrite the coding for the menu and begin with a simple ul li
arrangement.

I have yet to see you ever admit that you are wrong Richard. This layout is
obviously over your head given your well-demonstrated inability to properly
comprehend even basic HTML and CSS concepts.
 
A

Alfred Molon

Could anyone using IE 6 please test this site for me, and let me know if it
generates an error?

http://www.masterpiece.co.nz/index.php

I have just installed the site onto the client's webserver. They are
running IIS. The HTML and CSS both validate.

When I try to access the site from any of the computers on their network IE
6 crashes with this:

Microsoft Visual C++ Runtime Library
Runtime Error!
Program C:\Program Files\Internet Explorer\IEXPLORE.EXE

R 6025
- pure virtual function call

This happens on both XP and 2K. It only happens with this page on this
site. It happens about 75% of the time. Doesn't happen with any other
sites to my knowledge, though I only tried 20 or 30. Needless to say it
doesn't happen with other browsers.

Here's the really weird bit:

None of the other pages on the site generate the error, only index.php and
whatsNew.php, which is the same thing -- index.php is just include(
"whatsNew.php" );.

If I take the output from index.php, and paste it into a new document and
put it on the server, that page doesn't crash IE:
http://www.masterpiece.co.nz/test3.html

If I embed index.php in an object element inside index.html, and load
index.html, it doesn't crash:
http://www.masterpiece.co.nz/index.html

If I navigate to the page from another page, it never crashes. Only if I
type/paste the url it into the address bar, or click refresh on one of the
occasions when it hasn't crashed it.

WTF???

I can't get it to crash under IE 6 on any of the machines in my office, only
on machines on their network. Wide range of hardware.

I wouldn't even have a clue how to start tracking this down, any ideas?

Is it likely to be anything to do with IIS?

Google has been less than helpful. The only other thing I can find to do
with IE is that streaming audio/video in IE 6 can cause this error, and I
have neither of these.

Does anyone know of any other newsgroups that might be more suitable for
asking this in? Of course, if I then follow that up I will be guilty of
multiposting (sigh).

Please excuse my including alt.html in my crossposting, but I am desperate
and I know a lot of very smart people lurk there.

It just crashed my Firefox browser... (version 1.0 preview release)
--

Alfred Molon

http://www.molon.de/Galleries.htm - Photos from China, Myanmar, Brunei,
Malaysia, Thailand, Laos, Cambodia, Nepal, Egypt, Germany, Austria,
Prague, Budapest, Singapore and Portugal
 
A

Andy Dingley

It was somewhere outside Barstow when "Nik Coughin"
Could anyone using IE 6 please test this site for me, and let me know if it
generates an error?

Works fine for me (under 2K though).

I'm quite taken with the way you've achieved the rounded border effect
in such a neat and simple way for the HTML coding (and Richard is
truly a moron)
 
T

Toby Inkster

Nik said:
That's the bizarre thing (or one of them anyway) -- the output from the php,
which the browser *should* treat exactly the same way, doesn't cause the
crash.

Is there a difference in the HTTP headers?
 
A

Andy Dingley

It was somewhere outside Barstow when "Nik Coughin"
That's the bizarre thing (or one of them anyway) -- the output from the php,
which the browser *should* treat exactly the same way,

It will do - computers are deterministic, even when you could swear
blind they're not.

So are you sending different HTTP headers from the PHP and the static
versions ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,744
Latest member
CortneyMcK

Latest Threads

Top