Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#4238 Undefined index: query

Latest_Git
invalid
nobody
None
5
2014-01-27
2014-01-18
Marc Delisle
No

Split bug report from #4232.

I also get a similar message about query undefined when doing the following:

1) From the navigation panel click "New" to create a new database
2) Enter the name of the database and create it. You're taken to the page listing all databases.
3) Click your new database. The page changes to the structure page for the new database, but at the bottom I see:

Notice in ./libraries/Util.class.php#1953
Undefined index: query

Discussion

  • Umair Khan
    Umair Khan
    2014-01-19

    Unable to reproduce it in 4.1.6-dev .

     
  • Marc Delisle
    Marc Delisle
    2014-01-19

    • status: open --> invalid
     
  • Isaac Bennetch
    Isaac Bennetch
    2014-01-27

    I just recreated it on the demo server, although perhaps the error message is obscured from the original post; the demo server reports this:

    Notice in ./libraries/navigation/Nodes/Node_Database_Container.class.php#33
    Undefined index: is_create_db_priv
    
    Backtrace
    
    ./libraries/navigation/NodeFactory.class.php#93: Node_Database_Container->__construct(
    string 'root',
    integer 1,
    boolean false,
    )
    ./libraries/navigation/NavigationTree.class.php#140: PMA_NodeFactory::getInstance(
    string 'Node_Database_Container',
    string 'root',
    )
    ./libraries/navigation/Navigation.class.php#47: PMA_NavigationTree->__construct()
    ./navigation.php#70: PMA_Navigation->getDisplay()
    

    Tested with Firefox 26 and Chrome 32.