You Are Not Authorized to Execute SQL Queries in vBulletin Maintenance Você não está autorizado a executar consultas SQL em manutenção vBulletin
After login to vBulletin Admin Control Panel, and click on “Execute SQL Query” link under the Maintenance section, the administrator may always been denied and rejected with an error message saying “You are not authorized to execute SQL queries”. Após o login para vBulletin Admin Painel de Controle, e clique em "Executar consulta SQL" ligação ao abrigo da secção Manutenção, o administrador pode sempre foi negado e rejeitado com uma mensagem de erro dizendo "Você não está autorizado a executar consultas SQL". This is the case even if you’re super administrator who authorized to do everything on the forums. É o caso, mesmo se você estiver super administrador que autorizou a fazer tudo sobre os fóruns. However, a simple trick will grant the user who needs this Execute SQL Query function with the required permission and right. No entanto, um simples truque irá conceder o usuário precisa que esta consulta SQL Executa a função com a necessária autorização e de direito.
To grant an user permission and right to run Execute SQL Query from Control Panel, simply login to your web server which is running vBulletin forum. Para conceder um usuário permissão para executar e direita Executar consulta SQL Painel de Controle, basta acessar o servidor web que está executando vBulletin fórum. Then edit the /includes/config.php file. Então edite o / includes / config.php arquivo.
Find the following line: Encontre a linha a seguir:
// ****** USERS WITH QUERY RUNNING PERMISSIONS ****** / / ****** USUÁRIOS no segmento da consulta Funcionamento permissões ******
After a few lines, you should see the following setting: Depois de algumas linhas, você deve ver a seguinte configuração:
$canrunqueries = ”; canrunqueries $ = ";
Add in the user IDs of the forum members, moderators or administrators that you want to enable their ability to be able to run SQL queries in between the quotes (’). Adicionar em que o usuário IDs de membros do fórum, moderadores e administradores que pretende permitir a sua capacidade de ser capaz de executar consultas SQL no entre as aspas ( "). Note that it’s user ID and not user name. Note-se que é ID de usuário e não o nome do usuário. User ID is the number assigned to the user account automatically and sequentially. ID do usuário é o número atribuído a conta do usuário automaticamente e sequencialmente. For example, if you want to add the right to administrator, who is usually the first person created on the board, and thus has the user ID number 1, change the line to: Por exemplo, se você quiser adicionar-se o direito de administrador, que normalmente é a primeira pessoa criada no conselho de administração, e, portanto, tem o ID do usuário número 1, mude a linha para:
$canrunqueries = ‘1′; canrunqueries $ ='1 ';
To add more users, simply seperate them with comma (,). Para acrescentar mais usuários, basta separá-los com vírgula (,).
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Esta é uma página traduzida máquina que é fornecida "como está" sem garantia. Machine translation may be difficult to understand. A tradução automática pode ser difícil de compreender. Please refer to Por favor, consulte a original English article Inglês original article whenever possible. sempre que possível.
Share and contribute or get technical support and help at Compartilhe e contribuir ou obter suporte técnico e ajudar a My Digital Life Forums Minha vida digital Fóruns .
Related Articles Artigos relacionados
- Change or Set MySQL Long Query Time Value for log-slow-queries Alterar ou definir o MySQL Query Long Time Valor para log-slow-queries
- Enable Logging of Slow Queries (Slow Query Log) in MySQL Database Ativar registro de Consultas Lento (Slow Query Log) no MySQL Database
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 não basta valores erro
- How to Disable and Turn Off vBulletin Plugin and Product System Como desabilitar e desligar vBulletin Plugin e Sistema de Produtos
- Hack to Add Forum Sponsors to vBulletin Categories and Forums Hack para Adicionar ao Fórum Patrocinadores vBulletin Categorias e Fóruns
- Oracle Database Link Oracle Database Link
- Check Oracle Version Check Oracle versão
- Change or Increase vBulletin Maximum Number of Total Allowed Private Messages (PM) Mudar ou aumentar vBulletin Número máximo de mensagens particulares admitidos Total (PM)
- How to Change the Logo of vBulletin Forum to Custom One Como modificar o logotipo do Fórum vBulletin a Custom One
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 Ver tabela ou não existe erro Oracle

































October 13th, 2007 02:24 Dia 13 de Outubro, 2007 02:24
Hello, Olá,
Great forum! Grandes fórum!
I found a lot of interesting information here. Eu encontrei uma grande quantidade de informação interessante aqui.
Does this forum helpful for you also? Será que este fórum útil para você também?
November 5th, 2007 03:57 5 de novembro de 2007 03:57
i’m eric. Estou Eric. joining a couple boards and looking aderir a um jovem conselhos de administração e olhando
forward to participating. para a frente para participar. hehe unless i get hehe menos que eu recebo
too distracted! Também distraídos!
eric Eric
June 15th, 2008 02:58 15 de junho de 2008 02:58
thanks, got the sql problem solved in vbulleting. graças, começou o problema resolvido no sql vbulleting.