Help! Page won't load with Macintosh/Explorer?

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Hello!

I'm not sure where to start tracking this problem down. Here is a quote from an email I received:

"I tested the page, IE hangs while loading the page, Safari works fine
(I'm using the latest of everything - Mac OS X 10.3.2 with Java 1.42). "

Can anyone using a Macintosh confirm this? Any ideas of what causes it and how to work around it? I use Windows XP and Explorer or Mozilla and it comes up fine.

The website is very much under development: http://www.YourVancouver.com.

Thanks!

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Chroder's picture

He has: 91 posts

Joined: Mar 2004

It seems to validate just fine without any major errors (mostly the &'s in the URL's I presume). Maybe your server was down or something? It is a continuous problem?

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Yes, I've had reports from 2 different people on it. The second tried it on two different days with the same results.

Peter

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Nope, not loading. Actually, it's hanging. I had to Force Quit it.

The code's a mess. Validate, then come back if it's still happening. Check your JavaScript and other bits for validity as well.

Line 128, column 295:  cannot generate system identifier for general entity "Tapes"
Line 128, column 300:  reference not terminated by REFC delimiter
Line 129, column 85:  character "&" is the first character of a delimiter but occurred as data
Line 129, column 116:  cannot generate system identifier for general entity "Tickets"
Line 129, column 123:  reference not terminated by REFC delimiter
Line 141, column 106:  cannot generate system identifier for general entity "cat_id"
Line 141, column 112:  reference not terminated by REFC delimiter
Line 141, column 112:  reference to external entity in attribute value
Line 142, column 134:  cannot generate system identifier for general entity "toPage"
Line 142, column 140:  reference not terminated by REFC delimiter
Line 142, column 140:  reference to external entity in attribute value
Line 142, column 143:  cannot generate system identifier for general entity "fromPage"
Line 142, column 151:  reference not terminated by REFC delimiter
Line 142, column 151:  reference to external entity in attribute value
'

These seem to be very problematic errors.

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Thanks for the suggestion, Suzanne. I've replaced the ampersand with the HTML code, which caused nearly all of the errors you listed. There are quite a few errors remaining at the moment, mainly complaints about tags like . I will continue to clean up the code.

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Cascading errors are big problems for the validator as well as for some browser configurations -- that's why validating the code for errors (as opposed to purposeful changes that won't validate but also won't break things) is so valuable as a first step.

It takes a very long time to load in Safari, too (I'm on dsl and it takes more than a blip to arrive), but faster than yesterday.

It also *starts* to load in IE now, but then disappears and only the background image is there while it hangs. This is an improvement, I guess. The top row arrives header) but the JavaScript lines under that don't. And now it's totally hung and I have to force quit again. It would seem that the JavaScript or something near it is causing the problem.

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Thanks for checking again, Suzanne.

I've changed the doctype, corrected some errors. One issue that is still reported complaints about this bit of code:

89: document.write(" ");

Line 89, column 171: end tag for element "A" which is not open (explain...).

As far as I know, this code is valid. I could break out the into a separate document.write statement. document.write("....<"); document.write("/a> ..."); Any recommendations?

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

document.write('\\\<\/a>');

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Thanks!

The page now validates. Does it come up in Explorer running on a Macintosh now?

Peter

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Loads great, quick and no crashing or freezing or hanging.

Validation to the rescue, once again. Smiling

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Suzanne to the rescue!!!!! Smiling

Thank you, again!

Peter

Chroder's picture

He has: 91 posts

Joined: Mar 2004

OK, so what was the problem? lol Was it just the &'s? I thought they were just depreciated, didn't think they caused problems.

I think I'm lost =/

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

It was JavaScript errors predominantly. Validating your JavaScript is important, too. Smiling Test test test test.

Chroder's picture

He has: 91 posts

Joined: Mar 2004

Ahhhhhh. Must've skipped over that post Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.