![]() |
I have too many queries! (apparently)
Hi, here's how many queries I have:
On my biggest forumdisplay: Page generated in 0.0892940 (-1,617.22% PHP - 1,717.22% MySQL) seconds with 61 queries. PHP version 4.1.2 (Debug mode) with GZIP compression library disabled. On a large thread with an attachment in every post: Page generated in 0.3617310 (-1,224.86% PHP - 1,324.86% MySQL) seconds with 111 queries. PHP version 4.1.2 (Debug mode) with GZIP compression library disabled. The forum mainpage (index): Page generated in 0.3371010 (-1,501.54% PHP - 1,601.54% MySQL) seconds with 114 queries. PHP version 4.1.2 (Debug mode) with GZIP compression library disabled. Where do I start looking to fix this stuff? I am a PHP novice :) |
hmm ur the 2nd guy who gets negative signs on my hack... did you follow exacly all the instructions? after all, if you installed wrong the hack, the queries might be displayed wrong also, not only the PHP usage.
make sure you install version 1.3 and clear all your cookies before you download the attachment. regards, nakkid. |
I don't get negative all the time, it's actually quite a coincidence to see that many in a row...
|
Code:
Page generated in 0.3719050 (-1,254.32% PHP - 1,354.32% MySQL) seconds with 43 queries. btw, i never get a negative. |
lol *realisation of dumbness* I guess you're right :)
|
Stick &explain= to the end of the URL, then look at the bottom. The REAL number is there. I hope for you it's not too large!
|
It is, VERY large...
So here's what I'm gonna do (I've done this with my test board and it was 'ok' I guess... Simply delete manually all the php files - as nothing is stored in them which affects the boards content. Then install 2.2.4 fresh (minus of course any template or edited php files), then install my old hacks (which I can find in my profile here) one by one, having checked mysql queries after each to see which one is the problem. I've already backed up my important templates which I'll need to bring back. Everything else is already backed up in the database. |
This is going really well. :)
The board FLIES now. :) |
All times are GMT. The time now is 11:47 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:
|