Hello,
I am Cindy from Cameroon and I wish to participate in GSoC 2016 with
Phpmyadmin to work on the mobile responsive version of the app.
I have forked and cloned the github repo and I am
trying some operations and one caught my attention.
When I select a Database and type DESC <database.table_name> in the
Console, I always get this error which says :
*Fatal error*: Call to a member function getClauses() on null in
*/Users/osiris/Desktop/phpmyadmin/libraries/sql-parser/src/Utils/Query.php* on
line *549.*
*This appears after I ignore a dialog box that overplayed some other
errors.*
*Here is an example error on the statement: DESC information_schema.FILES;*
*Output:*
)
./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(
object,
array,
string 'information_schema',
string '',
NULL,
NULL,
object,
string './themes/pmahomme/img/',
integer 38,
integer 38,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
)
./import.php#795: PMA_executeQueryAndGetQueryResponse(
array,
boolean false,
string 'information_schema',
string '',
NULL,
string 'DESC FILES',
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
NULL,
)
*Notice* in ./libraries/sql.lib.php#1669
Undefined index: is_explain
*Backtrace*
./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(
object,
string './themes/pmahomme/img/',
NULL,
array,
boolean false,
integer 38,
integer 38,
NULL,
object,
array,
)
./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(
object,
array,
string 'information_schema',
string '',
NULL,
NULL,
object,
string './themes/pmahomme/img/',
integer 38,
integer 38,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
)
./import.php#795: PMA_executeQueryAndGetQueryResponse(
array,
boolean false,
string 'information_schema',
string '',
NULL,
string 'DESC FILES',
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
NULL,
)
*Notice* in ./libraries/sql.lib.php#1670
Undefined index: is_show
*Backtrace*
./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(
object,
string './themes/pmahomme/img/',
NULL,
array,
boolean false,
integer 38,
integer 38,
NULL,
object,
array,
)
./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(
object,
array,
string 'information_schema',
string '',
NULL,
NULL,
object,
string './themes/pmahomme/img/',
integer 38,
integer 38,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
)
./import.php#795: PMA_executeQueryAndGetQueryResponse(
array,
boolean false,
string 'information_schema',
string '',
NULL,
string 'DESC FILES',
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
NULL,
)
*Notice* in ./libraries/DisplayResults.php#4234
Undefined index: statement
*Backtrace*
./libraries/sql.lib.php#1683: PMA\libraries\DisplayResults->getTable(
object,
array,
array,
boolean false,
)
./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(
object,
string './themes/pmahomme/img/',
NULL,
array,
boolean false,
integer 38,
integer 38,
NULL,
object,
array,
)
./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(
object,
array,
string 'information_schema',
string '',
NULL,
NULL,
object,
string './themes/pmahomme/img/',
integer 38,
integer 38,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
)
./import.php#795: PMA_executeQueryAndGetQueryResponse(
array,
boolean false,
string 'information_schema',
string '',
NULL,
string 'DESC FILES',
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
NULL,
)
*Notice* in ./libraries/DisplayResults.php#4341
Undefined index: querytype
*Backtrace*
./libraries/sql.lib.php#1683: PMA\libraries\DisplayResults->getTable(
object,
array,
array,
boolean false,
)
./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(
object,
string './themes/pmahomme/img/',
NULL,
array,
boolean false,
integer 38,
integer 38,
NULL,
object,
array,
)
./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(
object,
array,
string 'information_schema',
string '',
NULL,
NULL,
object,
string './themes/pmahomme/img/',
integer 38,
integer 38,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
)
./import.php#795: PMA_executeQueryAndGetQueryResponse(
array,
boolean false,
string 'information_schema',
string '',
NULL,
string 'DESC FILES',
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
NULL,
)
*Notice* in ./libraries/DisplayResults.php#1375
Undefined index: statement
*Backtrace*
./libraries/DisplayResults.php#4362:
PMA\libraries\DisplayResults->_getUnsortedSqlAndSortByKeyDropDown(
array,
string '',
)
./libraries/sql.lib.php#1683: PMA\libraries\DisplayResults->getTable(
object,
array,
array,
boolean false,
)
./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(
object,
string './themes/pmahomme/img/',
NULL,
array,
boolean false,
integer 38,
integer 38,
NULL,
object,
array,
)
./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(
object,
array,
string 'information_schema',
string '',
NULL,
NULL,
object,
string './themes/pmahomme/img/',
integer 38,
integer 38,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
)
./import.php#795: PMA_executeQueryAndGetQueryResponse(
array,
boolean false,
string 'information_schema',
string '',
NULL,
string 'DESC FILES',
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
NULL,
)
*Notice* in ./libraries/DisplayResults.php#1376
Undefined index: parser
*Backtrace*
./libraries/DisplayResults.php#4362:
PMA\libraries\DisplayResults->_getUnsortedSqlAndSortByKeyDropDown(
array,
string '',
)
./libraries/sql.lib.php#1683: PMA\libraries\DisplayResults->getTable(
object,
array,
array,
boolean false,
)
./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(
object,
string './themes/pmahomme/img/',
NULL,
array,
boolean false,
integer 38,
integer 38,
NULL,
object,
array,
)
./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(
object,
array,
string 'information_schema',
string '',
NULL,
NULL,
object,
string './themes/pmahomme/img/',
integer 38,
integer 38,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
)
./import.php#795: PMA_executeQueryAndGetQueryResponse(
array,
boolean false,
string 'information_schema',
string '',
NULL,
string 'DESC FILES',
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
NULL,
)
*Notice* in ./libraries/DisplayResults.php#1376
Trying to get property of non-object
*Backtrace*
./libraries/DisplayResults.php#4362:
PMA\libraries\DisplayResults->_getUnsortedSqlAndSortByKeyDropDown(
array,
string '',
)
./libraries/sql.lib.php#1683: PMA\libraries\DisplayResults->getTable(
object,
array,
array,
boolean false,
)
./libraries/sql.lib.php#1966: PMA_getHtmlForSqlQueryResultsTable(
object,
string './themes/pmahomme/img/',
NULL,
array,
boolean false,
integer 38,
integer 38,
NULL,
object,
array,
)
./libraries/sql.lib.php#2168: PMA_getQueryResponseForResultsReturned(
object,
array,
string 'information_schema',
string '',
NULL,
NULL,
object,
string './themes/pmahomme/img/',
integer 38,
integer 38,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
)
./import.php#795: PMA_executeQueryAndGetQueryResponse(
array,
boolean false,
string 'information_schema',
string '',
NULL,
string 'DESC FILES',
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'DESC FILES',
NULL,
NULL,