These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for PHPMyAdmin new database error on the new forum.
Hi,
I've created a new database in virtualmin. Created a seperate user and in "other" gave access to the database. And my username is user@shortdomain (for example if the domain is example.com, user@examp)
When i login to the database, i see no database/tables. When i click database tab, i get all these error messages:
Warning in ./libraries/server_databases.lib.php#314
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#314: array_key_exists(
string 'DEFAULT_COLLATION_NAME',
boolean false,
)
./libraries/server_databases.lib.php#77: PMA_getHtmlForColumnOrderWithSort(
boolean false,
boolean false,
array,
string 'SCHEMA_NAME',
string 'asc',
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#314
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#314: array_key_exists(
string 'SCHEMA_TABLES',
boolean false,
)
./libraries/server_databases.lib.php#77: PMA_getHtmlForColumnOrderWithSort(
boolean false,
boolean false,
array,
string 'SCHEMA_NAME',
string 'asc',
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#314
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#314: array_key_exists(
string 'SCHEMA_TABLE_ROWS',
boolean false,
)
./libraries/server_databases.lib.php#77: PMA_getHtmlForColumnOrderWithSort(
boolean false,
boolean false,
array,
string 'SCHEMA_NAME',
string 'asc',
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#314
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#314: array_key_exists(
string 'SCHEMA_DATA_LENGTH',
boolean false,
)
./libraries/server_databases.lib.php#77: PMA_getHtmlForColumnOrderWithSort(
boolean false,
boolean false,
array,
string 'SCHEMA_NAME',
string 'asc',
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#314
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#314: array_key_exists(
string 'SCHEMA_INDEX_LENGTH',
boolean false,
)
./libraries/server_databases.lib.php#77: PMA_getHtmlForColumnOrderWithSort(
boolean false,
boolean false,
array,
string 'SCHEMA_NAME',
string 'asc',
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#314
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#314: array_key_exists(
string 'SCHEMA_LENGTH',
boolean false,
)
./libraries/server_databases.lib.php#77: PMA_getHtmlForColumnOrderWithSort(
boolean false,
boolean false,
array,
string 'SCHEMA_NAME',
string 'asc',
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#251
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#251: array_key_exists(
string 'DEFAULT_COLLATION_NAME',
boolean false,
)
./libraries/server_databases.lib.php#176: PMA_getHtmlForColumnOrder(
array,
boolean false,
)
./libraries/server_databases.lib.php#106: PMA_getHtmlForTableFooter(
boolean false,
boolean false,
integer 1,
array,
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#251
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#251: array_key_exists(
string 'SCHEMA_TABLES',
boolean false,
)
./libraries/server_databases.lib.php#176: PMA_getHtmlForColumnOrder(
array,
boolean false,
)
./libraries/server_databases.lib.php#106: PMA_getHtmlForTableFooter(
boolean false,
boolean false,
integer 1,
array,
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#251
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#251: array_key_exists(
string 'SCHEMA_TABLE_ROWS',
boolean false,
)
./libraries/server_databases.lib.php#176: PMA_getHtmlForColumnOrder(
array,
boolean false,
)
./libraries/server_databases.lib.php#106: PMA_getHtmlForTableFooter(
boolean false,
boolean false,
integer 1,
array,
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#251
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#251: array_key_exists(
string 'SCHEMA_DATA_LENGTH',
boolean false,
)
./libraries/server_databases.lib.php#176: PMA_getHtmlForColumnOrder(
array,
boolean false,
)
./libraries/server_databases.lib.php#106: PMA_getHtmlForTableFooter(
boolean false,
boolean false,
integer 1,
array,
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#251
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#251: array_key_exists(
string 'SCHEMA_INDEX_LENGTH',
boolean false,
)
./libraries/server_databases.lib.php#176: PMA_getHtmlForColumnOrder(
array,
boolean false,
)
./libraries/server_databases.lib.php#106: PMA_getHtmlForTableFooter(
boolean false,
boolean false,
integer 1,
array,
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Warning in ./libraries/server_databases.lib.php#251
array_key_exists() expects parameter 2 to be array, boolean given
Backtrace
./libraries/server_databases.lib.php#251: array_key_exists(
string 'SCHEMA_LENGTH',
boolean false,
)
./libraries/server_databases.lib.php#176: PMA_getHtmlForColumnOrder(
array,
boolean false,
)
./libraries/server_databases.lib.php#106: PMA_getHtmlForTableFooter(
boolean false,
boolean false,
integer 1,
array,
array,
boolean false,
)
./server_databases.php#110: PMA_getHtmlForDatabase(
array,
integer 1,
integer 0,
integer 0,
string 'SCHEMA_NAME',
string 'asc',
boolean false,
array,
array,
array,
string '?db=&token=29c855d3e1d3fbcf0aa41567e5666df9',
)
Same error
Hi,
Could anyone help?
Thanks, Anh