vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Execute SQL Query (In admincp) (https://vborg.vbsupport.ru/showthread.php?t=64244)

JaNa 04-22-2004 03:11 PM

Execute SQL Query (In admincp)
 
Hullo,

Not quite sure if this is right forum, but it's sorta a SQL problem.

I'm trying to "Execute SQL Query" to install a mod I just downloaded. The only problem is, when I click on it, it says "You are not authorized to execute SQL queries"

How would I change it so I could run it? :tired:

Boofo 04-22-2004 03:16 PM

You need to set that setting in the config.php file. ;)

JaNa 04-22-2004 11:31 PM

Well I already have....*uh oh*

Zachery 04-22-2004 11:33 PM

Are you running vB3 or vB2?

JaNa 04-23-2004 12:35 AM

Oh, sorry. VB3

JaNa 04-23-2004 05:22 PM

ugh come on, what's wrong with it?

This is what i've put...

// ****** SUPER ADMINISTRATORS ******
// The users specified below will have permission to access the administrator permissions
// page, which controls the permissions of other administrators
$superadministrators = '1,jana';

Zachery 04-23-2004 05:46 PM

USERID NOT USERNAME

USERID is a NUMBER
USERNAME is a TEXT

You just need to enter your USERID

JaNa 04-23-2004 05:53 PM

My USERID was already there, I just put my USERNAME to test...

Zachery 04-23-2004 05:58 PM

If your userid was there you should have permission to execute the Query

Zachery 04-23-2004 07:07 PM

To run a query


PHP 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.
$canrunqueries '1'



All times are GMT. The time now is 10:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01282 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete