![]() |
new posts doubling page queries?
Alright,
After I installed the store hack and such, I noticed that every time there is a post added in a thread, the queries jump drastically. Example: http://www.echohype.com/forums/showt...=&threadid=307 My partner thought it may be a problem inside showthread, and he thinks that the postbit/posts are being told to do double. Attached is the current showthread.php Any help is greatly appreciated! |
holy crap, 282 queries!
it looks like you have a block of code repeated at line 271, besides that i dunno but, i dont think your allowed to post full php files |
oh......hmm.........sorry about that, I will remove it and look at the repeated block!
thanks EDIT: couldn't seem to find that duplicate block your talking about? |
@line 271 there's some code, and below that it looks like it repeats...maybe it doesn't, but it sure looked close
|
hmm, after checking the instructions of the store hack, that block is supposed to be like that.
......hmm |
is there any queries inside a while loop?
|
how do you mean?
here's what is from the instructions of the store hack Code:
if ($noshutdownfunc) { |
This will kill your server.
Page generated in 0.73848796 seconds (49.96% PHP - 50.04% MySQL) with 282 queries. There is something wrong with how you've installed the Store Hack I'm sure. Uninstall it out of showthreads, and reinstall it and see if that fixes it. |
ugh,
I reverted them, uploaded, was still there. then reinstalled the changes and still there........ :( |
All times are GMT. The time now is 08:59 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:
|