vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Strange Problem (https://vborg.vbsupport.ru/showthread.php?t=93908)

MRGTB 08-09-2005 02:30 AM

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:

Boofo 08-09-2005 08:26 AM

Quote:

Originally Posted by Gary Bolton
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:

What is the current query load for your portal?

And I like that clock? Care to share? ;)

MRGTB 08-09-2005 12:07 PM

Quote:

Originally Posted by Boofo
What is the current query load for your portal?

And I like that clock? Care to share? ;)


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 &nbsp;&nbsp;
                <input type="radio" name="showMilitary">No
        </form>
</div>
</body>
</html></div>
                                        </td>
                                </tr>
                                </tbody>
                        </table>
                </td>
        </tr>
</table>
<br />


Boofo 08-09-2005 12:45 PM

Install the Microstats hack. ;)And thanks for the clock code. ;)

MRGTB 08-09-2005 01:01 PM

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.

bigcurt 08-09-2005 01:42 PM

Yea, your site is taking forever to load.

~Curt

MRGTB 08-09-2005 01:52 PM

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! http://www.garybolton.pwp.blueyonder...temp/dance.gif

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!!!


All times are GMT. The time now is 07:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02079 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete