Announcement

Collapse
No announcement yet.

SQL queries

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

  • SQL queries

    hello i edited the config.php file i change the can run queries to the admin user id i upload back to folder. i go to maintance run querie and i still comes up with you dont have permisson. please help

  • #2
    Make sure you did it correctly.

    Ensure you have permissions to execute/run SQL Queries by editing the */includes/config.php file and change X to your user ID.
    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 = '[b][COLOR=Red]X[/COLOR][/b]';
    When uploading the updated config file, ensure you are overwriting the one on the server.
    Regards,
    Nick

    Comment


    • #3
      thanx for the reply do i edit the config file in document root or in web root cause there are 2?

      Comment


      • #4
        Originally posted by husky1 View Post
        thanx for the reply do i edit the config file in document root or in web root cause there are 2?
        Eitherway, it doesn't matter. You can directly edit the config.php from your webserver by right clicking on the config.php file and click 'Edit'.

        Comment

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