Log in

View Full Version : Display which queries are being run?


Reeve of shinra
09-06-2004, 08:21 PM
I just recently noticed that the queries on my postbit have jumped up to a rather high level (30 in some cases) but is there an easy way to find out where the queries are comming from?

Zachery
09-06-2004, 08:36 PM
I just recently noticed that the queries on my postbit have jumped up to a rather high level (30 in some cases) but is there an easy way to find out where the queries are comming from?
are you using is_moderator() in the postbit?

rake
09-06-2004, 08:41 PM
Turn debug mode on (init.php file, find unset($vblocalurl, $vblocalopen, $debug); add $debug=1; below), and use explain=1 to view all the queries on the page.

Dean C
09-06-2004, 09:12 PM
Moved to General vBulletin Questions :)

Zachery
09-06-2004, 09:36 PM
Turn debug mode on (init.php file, find unset($vblocalurl, $vblocalopen, $debug); add $debug=1; below), and use explain=1 to view all the queries on the page.
Or just add $debug = '1'; in config.php :D