Products to Install: 1 Files to Upload: 1 Template Edits: 0 Files to Edit: 1
What It Does:
Allows enabling/disabling of Debug Mode in the AdminCP.
Allows Debug Mode activation using Usergroup Permissions.
Query Explain works!
What makes it different from other similar mods that turn on Debug Mode in the ACP?
This one does require you to edit config.php (ONCE), but let me repeat the above... Query Explain works, and like the debug info, it uses the Usergroup Permissions. As of the new version, no queries are added.
Known Issues:
none at this time
*** Changelog ***
As of Version 1.1.0:
- updated: reduced file edits
- updated: increased code efficiency
* This mod is offered for free here. Please donate if you like this mod *
After you make the file edit, Debug Mode is on all the time. Once set, the permissions and options will modify this on the fly.
I mean in my Admin CP. It's stays on all the time in my Admin CP, whether it's on or off. It works correctly in the forum area, but the ACP doesn't change. Is that normal?
I've been using this mod for awhile but never tried explain (never needed) now I need to keep an eye on something on my board and noticed that explain doesn't work.
Everything works fine, permissions are set up correctly as well as config.php but when I click explain all I can get is a blank screen.
A blank screen usually points to an error that has occurred, but your server is configured not to print the error message to the end user. Please check your server logs for any details.
Side note: I believe that explain doesn't work if vBSEO is installed. In its efforts to achieve link consensus, vBSEO 3.3.0 prevents some query strings from working correctly.
Yes, you're correct. I'm running with vBSEO 3.3.0. I susppected about this but you know, it's hard to confirm.
I was searching about this at vBSEO forums and strange is they have tons of users and I couldn't find any thread from someone complaining about this issue. Somebody should report this issue already.
Can someone here running together with vBSEO confirm this issue ?
I used to have similar problems with vBSEO, but since then I have made file edits to fix these issues, so I can't confirm as my memory can't recall the original issue I was having.
Try using the sorting functions in forum display and you will see another variation on this issue.
I've just opened a thread about this at vBSEO.com as I couldn't find any report about this over there. Let's see what they say.
If I come up with something new I will let people know about it here.
I am getting this to work in the ACP, but not in the forum.
vb 3.8.6
Here an excerpt of my config.php:
PHP Code:
/*-------------------------------------------------------*\ | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** | +---------------------------------------------------------+ | If you get any errors while attempting to connect to | | MySQL, you will need to email your webhost because we | | cannot tell you the correct values for the variables | | in this file. | \*-------------------------------------------------------*/
$config['Misc']['debug'] = true; // buffer db explain until permission fetch if ($_REQUEST['explain']) { ob_start(); } // ****** DATABASE TYPE ****** // This is the type of the database server on which your vBulletin database will be located. // Valid options are mysql and mysqli, for slave support add _slave. Try to use mysqli if you are using PHP 5 and MySQL 4.1+ // for slave options just append _slave to your preferred database type. $config['Database']['dbtype'] = 'mysql';