New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many messages shown on database privilege page. #13784

Closed
ibennetch opened this Issue Oct 29, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@ibennetch
Member

ibennetch commented Oct 29, 2017

Log in as any user who has all privileges except GRANT.

From any database, click on the Privileges tab. This error is shown below the normal expected output:

Notice in ./libraries/classes/Server/Privileges.php#2755
Undefined variable: specific_db

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox',
string '127.%',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2757
Undefined variable: specific_table

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox',
string '127.%',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2755
Undefined variable: specific_db

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox',
string 'localhost',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2757
Undefined variable: specific_table

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox',
string 'localhost',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2755
Undefined variable: specific_db

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox_ro',
string '127.%',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2757
Undefined variable: specific_table

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox_ro',
string '127.%',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2755
Undefined variable: specific_db

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox_ro',
string 'localhost',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2757
Undefined variable: specific_table

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox_ro',
string 'localhost',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2755
Undefined variable: specific_db

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox_rw',
string '127.%',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2757
Undefined variable: specific_table

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox_rw',
string '127.%',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2755
Undefined variable: specific_db

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox_rw',
string 'localhost',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2757
Undefined variable: specific_table

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'msandbox_rw',
string 'localhost',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2755
Undefined variable: specific_db

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'root',
string 'localhost',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')
Notice in ./libraries/classes/Server/Privileges.php#2757
Undefined variable: specific_table

Backtrace

./libraries/classes/Server/Privileges.php#2639: PhpMyAdmin\Server\Privileges::getHtmlListOfPrivs(
string 'me',
array,
string 'root',
string 'localhost',
)
./libraries/classes/Server/Privileges.php#2374: PhpMyAdmin\Server\Privileges::getHtmlTableBodyForSpecificDbOrTablePrivs(
array,
string 'me',
)
./server_privileges.php#415: PhpMyAdmin\Server\Privileges::getHtmlForSpecificDbPrivileges(string 'me')

Using current master.

@nijel nijel self-assigned this Oct 30, 2017

@nijel nijel added the bug label Oct 30, 2017

@nijel nijel added this to the 4.8.0 milestone Oct 30, 2017

@nijel nijel closed this in aa9da56 Oct 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment