Unresponsive script continual message and site down last night (Mon)

65 posts / 0 new
Last post
Mike Harman
Offline
Joined: 7-02-06
May 16 2007 17:49

might also be a conflict between menu.js and jquery.

If we can find a jquery version of:

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);

then that might help.

rata
Offline
Joined: 26-09-06
May 16 2007 18:15
Mike Harman wrote:
If others could post up if they get the error that'd be great.

Ideally please post the following:

operating system
processor
ram
browser (and version).
which thread(s) you get the error on with links.

Still geting it on various threads. Probabbly my trash computer could be to blame... But it didn't happen before!

XP
Duron 700 Mhz
512Mb
Firefox 1.5.0.11

Mike Harman
Offline
Joined: 7-02-06
May 16 2007 18:27

hmm, sounds like slow processor issue

Mike Harman
Offline
Joined: 7-02-06
May 16 2007 18:33

yep:
http://www.itchyhands.com/2006/01/07/fix-firefox-unresponsive-script-warnings

that article has simple steps to get rid of the error in firefox.

on our end will have to think.

Jacques Roux's picture
Jacques Roux
Offline
Joined: 17-07-06
May 16 2007 18:49

Aha good find.

In I.E. 6 the page renders faster than in FF, no errors.

But yeah its just to do with computer speed not being able to handle so much going on i guess.

edit// did that fix, so it just makes the browser wait longer before timing out. I still got the time out on the tat thread tho, after a longer wait.

Think if this many ppl are having problems we need to fix it our side rather than pushing it onto users tho.

Mike Harman
Offline
Joined: 7-02-06
May 16 2007 19:49

obvious thing is to take corners off comments I guess. would be a shame though. That page also suggests it's to do with ff memory bloat with multiple windows/tabs.

rata
Offline
Joined: 26-09-06
May 16 2007 19:55

And now for some reason, apart from everything being much slower which is iritating enough, I'm not able to read any threads if I'm not loged in. It just shows half of the initial post and nothing else.

Mike Harman
Offline
Joined: 7-02-06
May 16 2007 21:11

that's not nice.

Did you try the firefox fix I linked to above?

Did you just get this since Monday?

Mike Harman
Offline
Joined: 7-02-06
May 16 2007 21:21

not just us: http://www.daniweb.com/techtalkforums/thread77107-7.html

I'm going to switch off round corners on comments now for a bit, let me know if that fixes it.

rata
Offline
Joined: 26-09-06
May 16 2007 21:49
Mike Harman wrote:
Did you try the firefox fix I linked to above?

Did you just get this since Monday?

Yes and yes.

Jacques Roux's picture
Jacques Roux
Offline
Joined: 17-07-06
May 16 2007 22:23

Hmm... i just tried the logged out thing and yeah i could only see first post, no comments.

rata
Offline
Joined: 26-09-06
May 17 2007 13:42

No problems with "Unresponsive script" anymore, but thrads are not readable anymore if you are not logged in...

Mike Harman
Offline
Joined: 7-02-06
May 17 2007 18:44

just setup something which should help, but requires server restart.

site will be unavailable for about one minute, in about a minute.

Mike Harman
Offline
Joined: 7-02-06
May 17 2007 22:20

switching them back on. see how it runs today.

Might try to speed script up if I'm feeling brave.

Mike Harman
Offline
Joined: 7-02-06
May 17 2007 23:49

http://browsershots.org/screenshots/5921f739e7a00806c040480d44f1ddd7/

http://browsershots.org/screenshots/426d4b603b40be5be762bff0522c8612/

sad

Lone Wolf's picture
Lone Wolf
Offline
Joined: 1-03-06
May 18 2007 00:05

Word catch - prob. is still there - i don't think it is staying stuck for quite as long as Mon tho and i only get the script message on some threads.. [cold comfort..] persistent bugger isn't it? sad

Mike Harman
Offline
Joined: 7-02-06
May 18 2007 00:07

I put corners back on, but made them smaller on comments this time. dunno if that's made it any better - works perfectly for me all the time.

Jacques Roux's picture
Jacques Roux
Offline
Joined: 17-07-06
May 18 2007 10:59

On long threads like the tattoo thread im getting this issue again.

But its because of my computer spec. Really slow loading etc.

Mike Harman
Offline
Joined: 7-02-06
May 18 2007 12:28

Yeah it seems to only affect slow computers. Plus the corner background is black on Mac/Safari (but I think there's a way 'round that that's simple - just parent element needs a background fafafa).

The issue is whether we switch of nice corners for comments to stop the error, or leave it, and have that error on slow PCs.

Apparently there's also a way to run js in chunks, which'd probably make it a touch slower overall - but stop the error because it'd be two shorter runtimes instead of one long one. Not sure if/how that can be down with this script though.

Might try to find a way to file issue with t he author since the drupal module's just a wrapper.

jef costello's picture
jef costello
Online
Joined: 9-02-06
May 19 2007 08:57

Well until you have the text only version of the site you might want to streamline it a bit to make the site as accessible as possible.

Mike Harman
Offline
Joined: 7-02-06
May 22 2007 23:13

using this long thread to test something else.

Mike Harman
Offline
Joined: 7-02-06
May 22 2007 23:16

test

Mike Harman
Offline
Joined: 7-02-06
May 22 2007 23:18

test

Mike Harman
Offline
Joined: 7-02-06
May 22 2007 23:23

test

Mike Harman
Offline
Joined: 7-02-06
May 22 2007 23:36

test

Mike Harman
Offline
Joined: 7-02-06
May 22 2007 23:36

test

Mike Harman
Offline
Joined: 7-02-06
May 22 2007 23:39

and once more...

Mike Harman
Offline
Joined: 7-02-06
May 22 2007 23:39

and once more...

Mike Harman
Offline
Joined: 7-02-06
May 22 2007 23:40

ooooh baby.

Mike Harman
Offline
Joined: 7-02-06
May 22 2007 23:40

ooooh baby.