Quote:
Originally Posted by kh99
If that's a "not authorized to do queries" specific message, the the only time that should happen is if the userid is not listed in $config['SpecialUsers']['canrunqueries']. We use APC for caching and I know we need to clear the cache before changes to php files will work, do you have something like that?
|
Thanks for the reply, much appreciated.
Yes, the error is "Not authorized to execute SQL queries".
My userid is in $vbbinstallroot/includes/config.php like so, 5201 being my userid on this forum:
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.
$config['SpecialUsers']['canrunqueries'] = '5201';
The error message appears at the following location:
hxxp://forums.domain.com/admincp/queries.php?do=modify
I've tried an APC cache clearing script, server doesn't seem to be running APC.
Is there anything else it could be?
Edit: config file encoding seems ok, ANSI and it's obviously getting parsed correctly or VBB just wouldn't run, right?