Menu

#1935 (in 2.7.1) undefined index: tab_count

2.7.0-pl2
fixed
1
2013-06-11
2005-12-29
dzakuha
No

The following error appeared in the site menu pane
(below the dropdown box and before the table listing):

Notice: Undefined index: tab_count in
/var/www/phpMyAdmin-2.7.0-pl2/libraries/common.lib.php
on line 1706

PHP 5.1.1
Debian 3.1

I forgot what I did to get the error (had to register
first) but it looks like a simple PHP error to me, so
reproduction steps aren't neccesary?

Discussion

  • dzakuha

    dzakuha - 2005-12-29
    • priority: 5 --> 3
     
  • dzakuha

    dzakuha - 2005-12-29

    Logged In: YES
    user_id=1415118

    It appears the bug only manifests itself when tables are
    grouped. Furthermore it might have to do with the table
    names. The group name here is 'r' and the common part of the
    names is: 'r__t____f__f_'. (I know, it's test data.)

     
  • Marc Delisle

    Marc Delisle - 2005-12-30
    • summary: notice undefined index --> undefined index: tab_count
     
  • Ryan Carsten Schmidt

    Logged In: YES
    user_id=838923

    Problem occurs in my "real" data. To reproduce the issue, you just need to have
    $cfg['LeftPointerEnable'] = TRUE and $cfg['LeftFrameDBTree'] = TRUE (these are
    the defaults) and $cfg['LeftFrameTableSeparator'] != '_' (the default is "__") and
    to have more than one table whose name contains the separator, and to choose
    that database from the select menu.

    I think this is the fix:

    http://www.ryandesign.com/pma_20060105_tab_count.diff

     
  • Sebastian Mendel

    • priority: 3 --> 1
    • summary: undefined index: tab_count --> (in .2.7.1) undefined index: tab_count
    • assigned_to: nobody --> cybot_tm
    • status: open --> open-fixed
     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580

    fixed in cvs, thanks!

     
  • Sebastian Mendel

    • summary: (in .2.7.1) undefined index: tab_count --> (in 2.7.1) undefined index: tab_count
     
  • Marc Delisle

    Marc Delisle - 2006-03-06
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed