Log in

View Full Version : Urgent Help Needed - Strange Lag when viewing forums on IE


jl255
09-03-2008, 05:25 PM
Really hope that someone can help me urgently as i'm losing members cause of this.

if you goto the forum: www.sgclub.com with IE, you will find that the page loads halfway, then seems to stop for awhile. Then the rest of the page will appear. When you view threads or posts, it's the same problem and its highly irritating.

When on FF, there is no such problems.

This is a new problem that came up a few days ago. I've tried disabling any plugins I implemented over past few days, but nothing seems to work. There are also 3 errors reported by IE, to do with 'fcontent' being undefined and ';' is expected. Think all to do with this file called scroller.js that i believe comes default with vbulletin. Not sure if this lag has anythign to do with these errors.

Can someone pls help urgently? Tks!

SEOvB
09-03-2008, 05:29 PM
site loads pretty slow for me in FF3 too.

Its probably the amount of images/page size that takes so long.

you may try this: https://vborg.vbsupport.ru/showthread.php?threadid=121315

jl255
09-03-2008, 06:44 PM
tks but i'm not referring to the overall speed of the forum. it's just that with IE, there is this long pause in between loading the pages. and the status shows 'stopped' even though the page is still half-empty. then you wait awhile more and the page shows completely....

arggg

--------------- Added 1220498350 at 1220498350 ---------------

can some guru pls help? wld greatly appreciate if you can take a look at the problem. have tried everything i can think of.

Marco van Herwaarden
09-04-2008, 07:59 AM
I don't see any really slow loading with IE. What you are noticing is probably the difference between IE and FF:

- IE will only show a frame after all elements have been loaded and rendered.
- FF will start showing content when it has the first elements of the frame.

The total loading time for the entire page will be (almost) the same with IE & FF, but FF will show some elements earlier making it look faster.

jl255
09-04-2008, 08:49 AM
tks for that explanation. i understand better now.

however, previously, it was not like this. do you notice the halt half-way? on the bottom of the IE page, it shows 'done' but only the header is loaded. then it looks like nothing is happening. but if you wait awhile more, then the whole page loads.

what happens during the termporary halt is that most members will think that the page hanged and keep pressing refresh. and thus they get very irritated that the forum always seem to not load properly. :(

also, do you notice there are 'errors on page'? the notice on bottom left of IE? error: Expected ';'.

--------------- Added 1220521881 at 1220521881 ---------------

and i own another vb forum and this lag behaviour is not observed.

Opserty
09-04-2008, 09:24 AM
I get a couple of Javascript errors when visiting the site...


Error: missing ; before statement
Source File: http://www.sgclub.com/
Line: 159, Column: 12
Source Code:
fcontent[0]="Copyright © 2004-2008 SGClub.com. All rights reserved. <br />Ad Management by <a onclick="urchinTracker ('/outgoing/http_redtyger_co_uk_');" href="http://redtyger.co.uk/" title="RedTyger website design, hosting and domains." target="_blank">



Error: document.getElementById(tabinterfaceid) is null
Source File: http://www.sgclub.com/ajaxtabs/ajaxtabs.js
Line: 13



Error: fcontent is not defined
Source File: http://www.sgclub.com/scroller.js
Line: 15
May be after you get those fixed the slow loading might go away? (Have you tried loading the page in Internet Explorer with Javascript Disabled? Does it go any faster then?)

jl255
09-04-2008, 01:38 PM
yes! those are the errors i'm trying to fix but i don't know how. not sure if they are reason for the lag. do you get the lag too?

and what exactly does scroller.js do?? it seems it is all in the same file.....

Opserty
09-04-2008, 01:42 PM
These aren't default vBulletin files, as such, you need to consult the author of the files for a fix.

jl255
09-04-2008, 02:07 PM
oh, scroller.js is not default?
hmm... ok, i will need to find out which plugin it belongs then

Opserty
09-04-2008, 02:13 PM
Why don't you look at the file itself? ;)

http://www.sgclub.com/scroller.js

Note: All default vBulletin Javascript files are located in the /clientscript/ directory.

jl255
09-10-2008, 07:10 PM
solved all problems but still lag exists.

think i've isolated it down to the adsense ad below the navbar. when i remove it, at least it continues to show the loading indicator. but with the adsense, it goes immediately to 'done' even though it is still loading.

do u guys see what i'm saying?

Lynne
09-10-2008, 08:59 PM
When you load the page in IE, take note of where it 'stops' on the page. Then, look in the source code around that spot. You will probably spot some javascript or such. That is probably the problem.

jl255
09-11-2008, 02:07 PM
tks lynne. it 'stops' after loading the adsense below the navbar. cld u advice what script on vbulletin comes after loading of the navbar?

ok, after looking at source code, here is what comes immediately after the adsense. i don't see any javascript code unfortunately. what i notice also is that, for IE, it waits until all the forum or posts are loaded before displaying the page while for FF, it displays as it loads. cld this be a hint?

<table align="center" class="page" cellspacing="0" cellpadding="0" width="100%"> <tr valign="top"> <td valign="top"> <table class="tborder" cellpadding="6" cellspacing="" border="0" width="100%" align="center"> <thead> <tr valign="top"> <td class="tcat" colspan="2"><a name="cyb_stats" style="float:right" href="#top" onclick="return toggle_collapse('cyb_fh_stats')"><img id="collapseimg_cyb_fh_stats" src="http://www.sgclub.com/images/lime/buttons/collapse_tcat.gif" alt="" border="0" /></a> <span id="cybstatsoptions">Top 10 Stats <span class="smallfont">(* - in last 1 days)</span><script language="Javascript" type="text/javascript"> vbmenu_register("cybstatsoptions"); </script></span> <span class="vbmenu_popup" id="cybstatsoptions_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr valign="top"> <td class="thead">Options</td> </tr> <tr valign="top"> <td class="vbmenu_option" title="View more results"><a href="http://www.sgclub.com/misc.php?do=cybstats" rel="nofollow">View more results</a></td> </tr> <tr valign="top"> <td class="vbmenu_option" title="Turn off Top Stats"><a href="http://www.sgclub.com/misc.php?do=disablestats" rel="nofollow">Turn off Top Stats</a></td> </tr> </table> </span> </td> </tr> </thead> <tbody id="collapseobj_cyb_fh_stats" style=""> <tr style="height:1%;vertical-align:top"> <td class="alt1" rowspan="2" style="width:1px;height:140px;max-height:140px;display:none;"></td> <td class="thead" align="left" nowrap="nowrap">Latest Posts</td> </tr> <tr style="vertical-align:top;height:140px;max-height:140px;"> <td class="alt1" style="height:140px;max-height:140px;"> <table width="100%" cellpadding="0" cellspacing="0" border="0" style="height:100%" id="cybnp"> <tr style="height:14px;vertical-align:top"> <td align="left" nowrap="nowrap" class="smallfont">Thread</td> <td>&nbsp;</td> <td align="left" nowrap="nowrap" class="smallfont">&nbsp;Date, Time</td> <td align="left" nowrap="nowrap" class="smallfont">&nbsp;Posted By</td>

note also, that if i removed the adsense banner below the navbar, at least it shows that the page is loading and does not go into 'done'. why is that happening?

Lynne
09-11-2008, 03:05 PM
As already noted in this thread, IE and ff render the page in a different way. There is nothing you can do about it.

That code you posted is for some Top Stats which is a modification, no? Try turning it off and see if the page loads faster.