The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Why am I not authorised?
In the AdminCP there is an item under Maintenance to execute an SQL query. However, if I try to do that I'm told I'm not authorised.
Why is this? |
#2
|
|||
|
|||
In your config.php file, there's a $config['SpecialUsers']['canrunqueries'] setting. You have to add your userid to that to be able to run queries.
|
#3
|
||||
|
||||
You need to set your userid in the includes/config.php file.
Code:
// ****** USERS WITH QUERY RUNNING PERMISSIONS ****** // The users specified here will be allowed to run queries from the control panel. // See the above entries for more information on the format. // Please note that the ability to run queries is quite powerful. You may wish // to remove all user IDs from this list for security reasons. $config['SpecialUsers']['canrunqueries'] = '1'; |
#4
|
|||
|
|||
Ahh.. now I understand, thank you.
|
#5
|
||||
|
||||
Not a problem.
|
#6
|
||||
|
||||
When you're done with your query, de-permission yourself from making queries. I suggest that because it is a security feature - if some cracker gets in your account you don't want him/her having query powers.
|
#7
|
|||
|
|||
Quote:
It isn't difficult to get around, but it will keep the kiddies at bay. As an option, if you are on a fixed IP then you can use a PHP conditional/construct in the config.php file to check for your IP. |
#8
|
||||
|
||||
Quote:
If it's a more skilled attacker, he doesn't need to crack passwords and your config settings won't matter a whole heckuva lot. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|