Announcement

Collapse
No announcement yet.

You are not authorized to execute SQL queries?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • You are not authorized to execute SQL queries?

    When I go to my AdminCP -> Import & Maintenance -> Execute SQL Query, I get this message:

    You are not authorized to execute SQL queries
    I am the creator & administrator of the site - why am I not authorized?

  • #2
    Running queries is potentially dangerous, if you want to enable this feature you need to add your userid to the following section 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.
    $canrunqueries = '';

    Comment


    • #3
      Oh ok, Thanks! I'll be careful.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X