![]() |
For a quick solution to this problem while I find a way to make microstats work, I have simply replaced the *edited* db_mysql.php with the *original* one, and the board seems to work now. [Although the stats at the bottom of the page are mostly incorrect, of course].
|
can you post here what they look like the stats?
i will help you with your prob. thanks. i also need to know what php version you run (important). |
Quote:
Also, I am running PHP version 4.2.1 Thx for helping :cool: |
Quote:
Any solution nakkid ?? :) |
attach in a pm your original db_mysql.php file, i will modify it for you.
|
Quote:
|
thx nakkid !! the edited files seem to have fixed it :D
|
glad you got it working... :)
|
Quote:
|
Hello Nakkid!!
In my /forum/global.php i can?t find the segment in the first step to change. Heres my code, please check it out. ;) |
@Minifreunde: Have you ever edited the file for another hack? What version of vB are you using? etc etc.. :p
|
@ Blak n Wite, version is 2.2.5. Have so many hacks, but ive looked on the orginal global.php and it looks the same to me. Can“t find the lines to edit.... can i use this global-version with a modification?? Or some idea??
|
@ all! I?m stupid! It was my falt. Problem fixed, works perfect!!
Thanks Nakkid!!! P.S. I click installed! ;) |
Quote:
link: https://vborg.vbsupport.ru/showthrea...233#post268233 |
@Nakkid, stupid from me! Sorry, code is delete! ;)
|
Quote:
|
@ B n W, thanx!! :)
|
http://www.2watch4.net/fehler.jpg Hi nakkid, awesome hack .. i like and i need it to optimize my queries... but problems :tired:
- alway server load = 00.00, i have the options *nix=0, but i set the option >0 then i get the follow message: Screenshot error it's reqiered that i have access to loadavg ? - second point is, that my debug always off. i have turned on the option, that templatenames include in the page... that's the debug option isn't? THX :cheeky: |
Wildthinks:
1. contact your host for server issues. also let me know if you see the stats in the admin panel. 2. no. run a file with ?debug=1 |
Thanks for this hack nakkid. I installed it yesterday and it worked perfectly, however, today I installe the xmenu hack (adding a java menu to the header) and now microstats reads....
Quote:
Any ideas? |
check your db_mysql.php file. there is your prob.. the microtime.
|
OK, looking can't see the prob...
PHP Code:
What's the prob? |
Fixed...
Quote:
I hacked the wrong global.php file. Doof! :D Thanks. |
Quote:
Glad you got it working :D |
Quote:
|
Hi Guys!!
How can i reduce my Querys?? Ive got on index 38-39.... Please help! ;) |
Quote:
Quote:
|
I just tried and got this:
Code:
This page was brought to you in 0.14173198 seconds (84.24% PHP & 15.76% MySQL), with 30 queries! |
You mean you turned your portal leftcolumn off, and still get 30 queries on your forum/index.php?
|
Quote:
Code:
This page was brought to you in 0.14055097 seconds (84.13% PHP & 15.87% MySQL), with 30 queries! |
a standard forumhome index.php page gets 17queries. that means you have inserted certain hack code that added 12 extra queries. that will affect your board performance and also it will flame down your server if you have a busy board.
i know that the new vb3 will have 12queries on forumhome. less queries you have, better it is. the easiest way is to eliminate the double queries you might have. for example if you have a query in global.php that checks the new pm's is useless to add that query also in index.php since you perform it globaly. check for guides like that and try to reduce it to a decent number. i personally think from talking to firefly that a decent number of queries should be 25. i will keep on my board the no. of queries under 20 always. |
I'm receiving extremely high numbers for the time the page loads. Stuff like 1,025,995,166.26833999 seconds. Though everything else works correctly. Any suggestions?
|
check your hacked code. you edited the wrong global.php file.
|
I followed the instructions. :confused:
|
I had this error, like Nakkid says, you hacked the wrong global.php file. There are two of them in different directories, you either hacked the wrong one, or uploaded to the wrong directory or something like that.
Check it out. |
Nice Hack Dude!
|
Spekkie, thanks.
-Sidekick-, did you get it working? |
thanks for the hack :)
I got these values: Code:
Site generated in 1.14954901 seconds (17.90% PHP - 82.10% MySQL) with 25 queries. and why don't I see the server load ? thanks, Schorsch |
they look good to me, the values. for details related to your server load, please read the first post of this thread and contact your host.
let me know if you solve it. :) |
Just installed this, and now my vbPortals front page stops loading halfway through the last block on the left-hand side.
Help!!! EDIT: Never mind, got it! |
All times are GMT. The time now is 03:11 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:
|