The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
"You are not authorized to execute SQL queries"
When I click AdminCP > Maintenance > Execute SQL Query, I can't get in, and I receive the following pop-up message:
Quote:
|
#2
|
|||
|
|||
In your config.php file is this line:
Code:
$config['SpecialUsers']['canrunqueries'] = ''; you need to add your userid there. |
#3
|
|||
|
|||
Where can I find the config.php file?
|
#4
|
|||
|
|||
sorry - that's in the includes subdirectory.
|
#5
|
|||
|
|||
Not sure exactly where the includes subdirectory is.....
Can you please help me by letting me know exactly where I can find it? For example, AdminCP > _______ > __________ I really appreciate it. |
#6
|
|||
|
|||
No problem. But it's not a setting in the adminCP, you need to edit the includes/config.php file. Download your current config.php file via ftp, edit it to make the change (use a programming editor or notepad), then upload it, overwriting the current file. This is the same file that has your database connection information that was set up when the forum was installed.
If you're unsure about doing this, you might want to edit a copy of the file (or save it to a different place after editing). That way if something goes wrong you can upload the original file again and you should be back where you were. |
#7
|
|||
|
|||
I honestly have no idea how to do this. I have ftp, but how would I download the current config.php file?
|
#8
|
|||
|
|||
Start your FTP program. Then (assuming your forums are in a "forums" folder) open the forums folder, then open the includes folder, then download the file config.php
--------------- Added [DATE]1346653882[/DATE] at [TIME]1346653882[/TIME] --------------- If you do not know what your userid is, go to your ACP and then click on users then click on search for users, enter your name and at the very top you will see your userid (above the drop down box above your name). |
#9
|
||||
|
||||
Quote:
Alternatively you can do that through the file manager section in your cpanel, provided it has it. |
#10
|
|||
|
|||
I'm very nervous about messing with the config.php file from the ftp. I right-clicked and chose "View/Edit", and it opened it automatically in WordPad. I found the part of the code you were talking about, and I see that my userid is not there.
Regarding what my userid is, I did what you said, John Lester, in AdminCP, and above my name it says: "User: El Luchador Rubio (id: 1)". Does this mean I would enter "1" in the config.php? I am very nervous about messing with the config.php file through ftp. Borbole, you say that I could access it through the file manager section in my cpanel? Can you please tell me where I can find that? For example, AdminCP > _______ > __________ ? I looked all through it and I can't see anything that says "File Manager"..... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|