![]() |
well, whenever the cache would be updated all queries of the subforumhack will be there again, but if the script reads out from the cache NO more quereis are added for the subforums :)
|
Quote:
Btw, a small note: the Latest XX topics Hack, sometimes disapears & appears again. Very strange... |
I see: the lates XX topics will appear everytime the cache is updated.
so you have to cut out the hack lines by Teck and put em after the } // if $cacheupdate line so it should work |
Great i will try right away! And it works!
Page generated in 1.36290896 seconds (40.29% PHP - 59.71% MySQL) with 20 queries. Now i notice that Latest XX Threads is just 1 querie, which isn't bad i guess... Thanks Xenon. Great stuff |
good to hear :)
|
Ok so any extra hacks we have installed which add lines which are db queries we need to put after the cache line?
|
Oops i got a database error, that looks like something to do with the cache forum home template...
Here's the beginning of the error message: Invalid SQL: INSERT INTO cache_forumhome (userid,lastpost,lastupdate,postcount,styleid, forumbits) VALUES (1251,1040492181,1040492253,5550,0,"</table> </td></tr></table><br> Here's the end: mysql error: Duplicate entry '1251' for key 1 mysql error number: 1062 Hmm, ok i attached the complete message as a txt file... Hope this helps :) I also checked in phpmyadmin the cache_forumhome table is about 1 mb large, and it grows. For your interest: i got a pretty busy board (almost 1000 visitors a day) |
I also checked in phpmyadmin the cache_forumhome table is about 1 mb large, and it grows. For your interest: i got a pretty busy board (almost 1000 visitors a day)
I think i understand: 1251 is a member on the board. Sorry for this, i am just starting to learn php/mysql a little bit. And i have the trouble of thinking out loud :) |
I recieved the same error message as Aaron1 above also, not sure what the problem is though but I'm guessing as well to do with the cache... :ermm:
|
hmm weird this should not happen and logically cant hapen, because all old caches are deleted before the new one is inserted......
maybe it's an mysql problem i try to solve it thanks for letting me know :) it seems it just appears when much users are online..... @mist: every hack which adds queries and is not saved in $forumbits must be below the cahcing if-clause :) |
All times are GMT. The time now is 02:53 PM. |
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:
|