![]() |
anyone suggestions for my prob?
https://vborg.vbsupport.ru/showthrea...244#post230244 |
Quote:
|
Quote:
Instead I often get a negative value on the forumhome page, with about 35 queries. Some hacks installed, but even with the original index.php and templates, the query time has often strange values. I asked my host people, but they said it's an 'application' issue cause they use a standard MySQL configuration... :rolleyes: Pragmatically, I would findout a simple way to re-scale strange values with a not-totally-random algorithm... :classic: I though to 'sql time % 100', but it's too empiric.... :p Do you have any better idea ? Thanks and welcome back. As you can see, Nakkid, your work became very popular... :squareeyed: Bye |
So what's a good stat to have?
Most of my pages are like this: Page generated in 0.5019860 seconds (91.89% PHP - 8.11% MySQL) with 22 queries. I guess it's good that MySQL isn't bogging down right? :) |
looks good to me.. your stats are solid. not to many queries (very important for your server - keep it under 40)
|
Quote:
the way your host twisted the answer made me laugh. application prob? hmmm well, with a plain board installed there is nothing thay can commnet on it. i guarantee you will get the same probs. let me know please how it went. :) |
Quote:
Wish me luck :D |
Hi...
I have examined the code a little bit deeper, and I got a solution for these negative value problems, I think. In my opinion it is a little bug in your hack. I figured out that my pagestarttime was always set to zero. This is caused in global.php: PHP Code:
I changed it to: PHP Code:
replace this: PHP Code:
PHP Code:
Greets JDD If this may be wrong, just inform me and I edit this (but I think it should solve the problem) |
PHP Code:
leave the rest unchanged, it should work fine, the starttime must be set to zero. |
Quote:
Quote:
So, just give my modifications a chance and try them out, you'll see they would work. I have no clue why it is working on vB.org, but I doubt they use your code in it's original form. This is btw. a really nice hack - I like it very much therefore I tried to make it work and excamined it a little bit more than usual. JDD |
All times are GMT. The time now is 11:46 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|