The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Strange Problem
I seem to have a strange problem that has pop-up on my site from nowhere. For some strange reason now when I visit my portal page on my site it taking a while to load up, like a delayed effect as though it's hanging for a while then it loads fast. I've not added any extra queries or done anything that could have caused this that I'm aware off. But before the changing from forum page to portal page was really fast and no delay at all. Apart from just waiting for images to load.
Now it seems the forum loading is fast as just the same, but the portal page is really slow. Anybody got any ideas why this might have suddenly started happening. You can test what I mean by click my banner below and then visit the portal first and forum page to test what I mean by going back and forth to each page using the links in the nav bar. I'm just looking for ideas from you guys here as to what you think may have caused this, because I really don't have a clue. :surprised: |
#2
|
||||
|
||||
Quote:
And I like that clock? Care to share? |
#3
|
|||
|
|||
Quote:
How do you check the query load? Here is the clock code below. Code:
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="100%"> <tr> <td> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <thead> <tr> <td class="tcat" style="text-align: center"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('vbindex_customblock$box')"><img id="collapseimg_vbindex_customblock$box" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_vbindex_customblock.gif" alt="" border="0" /></a> <strong>Clock</strong> </td> </tr> </thead> <tbody id="collapseobj_vbindex_customblock$box" style="$collapseobj_vbindex_customblock"> <tr> <td class="alt1"> <div class="smallfont"><html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers function showMilitaryTime() { if (document.theForm.showMilitary[0].checked) { return true } return false } function showTheHours(theHour) { if (showMilitaryTime() || (theHour > 0 && theHour < 13)) { return (theHour) } if (theHour == 0) { return (12) } return (theHour-12) } function showZeroFilled(inValue) { if (inValue > 9) { return ":" + inValue } return ":0" + inValue } function showAmPm() { if (showMilitaryTime()) { return ("") } if (now.getHours() < 12) { return (" am") } return (" pm") } function showTheTime() { now = new Date document.theForm.showTime.value = showTheHours(now.getHours()) + showZeroFilled(now.getMinutes()) + showZeroFilled(now.getSeconds()) + showAmPm() setTimeout("showTheTime()",1000) } // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY BGCOLOR="WHITE" onLoad="showTheTime()"> <DIV ALIGN="CENTER"> <FORM NAME="theForm"> <INPUT TYPE="TEXT" NAME="showTime" SIZE="15"><BR><BR> Display Military Time <INPUT TYPE="RADIO" NAME="showMilitary" CHECKED>Yes <input type="radio" name="showMilitary">No </form> </div> </body> </html></div> </td> </tr> </tbody> </table> </td> </tr> </table> <br /> |
#4
|
||||
|
||||
Install the Microstats hack. And thanks for the clock code.
|
#5
|
|||
|
|||
Well I just removed a few blocks and just put some short text in them to test queries. I removed the Clock Block, The Image Block, and Add to Fav block. Mainly becuase two of them used Java to see if the page loaded OK. Same thing though!
The only thing I can think that I did before this started to happen was give the header on the portal page it's own banner logo different from the forums header. But I've already tried reverting that back again. Same problem though. Can I just ask, are you getting the same delayed effect on my portal page because I'm on 56k dial -up here. But even on that my portal page was loading fast before once cached. |
#6
|
||||
|
||||
Yea, your site is taking forever to load.
~Curt |
#7
|
|||
|
|||
Ok I have installed the Microstats Hack and here are the results from both the Portal page and the Forum Page after visiting both.
Forum: Page generated in 0.08181095 seconds (94.18% PHP - 5.82% MySQL) with 15 queries Portal: Page generated in 14.01297808 seconds (99.77% PHP - 0.23% MySQL) with 12 queries It seems my Portal page is always very near 100% all the time in the 99% range for PHP usage compared to my forum which stays around 90-94% all the time. I'm not sure what that means, but it could be the reason for the slow load times because the portal page is using less queries and MySQL usage than the forum. It just seems to be a PHP usage thing with the portal which is always extremly high. Any ideas anybody? What I can't understand is everything was perfectly fine and fast before. This problem with the portal page loading slow has just come from no-where yesterday. -------------------------- EDIT: I've sorted it now, found what the problem was! The problem was in the vBindex admin settings I had added an extra board ID to be displayed in the News center section on the portal, that I'd deleted yesterday but not removed the entry to grab posts from that board to the portal in the admin settings for the portal. Phew!!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|