Thank You Like - Recount very slow - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Support (https://community.mybb.com/forum-72.html) +---- Thread: Thank You Like - Recount very slow (/thread-239004.html) |
RE: Thank You Like - Recount very slow - lost puppy - 2023-08-22 (2023-08-22, 12:42 PM)Laird Wrote:(2023-08-22, 12:36 PM)lost puppy Wrote: No, that works fine and returns a count of zero << if it is meant to do that?? That ran fine as well This is what it came back with (image cut short to hide my prefix .... but I am thinking that it may just be easier to show it all and change the prefix later) RE: Thank You Like - Recount very slow - Laird - 2023-08-22 "Curiouser and curiouser!" cried Alice. What about if you run the sixth query immediately after that one (again, replacing the table prefix)?
RE: Thank You Like - Recount very slow - lost puppy - 2023-08-22 (2023-08-22, 12:58 PM)Laird Wrote: "Curiouser and curiouser!" cried Alice. Both ran fine RE: Thank You Like - Recount very slow - Laird - 2023-08-22 OK, now repeat those two queries after first dropping the column we'd added:
RE: Thank You Like - Recount very slow - lost puppy - 2023-08-22 (2023-08-22, 01:08 PM)Laird Wrote: OK, now repeat those two queries after first dropping the column we'd added: Dropped the column .... all good column gone. Ran both .... all good but the column is not there! RE: Thank You Like - Recount very slow - Laird - 2023-08-22 We really are in Wonderland... What happens now when you run the full set of queries again? RE: Thank You Like - Recount very slow - lost puppy - 2023-08-22 (2023-08-22, 01:51 PM)Laird Wrote: We really are in Wonderland... Well there is still the last part of that query which we didn't add back
So I just added it and ran it >> and that got the "Access Denied" error! RE: Thank You Like - Recount very slow - Laird - 2023-08-22 So, it was the PREPARE query generating the error all along. But why? What does this show if you run it just before the PREPARE query?
RE: Thank You Like - Recount very slow - lost puppy - 2023-08-22 (2023-08-22, 02:28 PM)Laird Wrote: So, it was the PREPARE query generating the error all along. But why? I get the same "Access Denied" error. So the full 5th query is:
and the first 2 parts run no problem .... just the last 3 lines create the "Access Denied" Could it be something to do with the server security I have set? Fact is Laird ... your code did the job and did it VERY quickly even on 3.5 million likes Maybe I just should do the TYL update and then run the first set of queries you created? Or I am happy to continue trying whatever you wish to sort it out? Either way mate .... You Are A STAR RE: Thank You Like - Recount very slow - Laird - 2023-08-22 (2023-08-22, 02:41 PM)lost puppy Wrote: Or I am happy to continue trying whatever you wish to sort it out? If you have the patience to continue, I'd appreciate it, but let's take it private from here on to avoid clogging up the public forums with an extended debugging conversation. I'll PM you with a fuller response. (2023-08-22, 02:41 PM)lost puppy Wrote: Either way mate .... You Are A STAR Aw, thanks. |