Menu

#1667 (in 2.6.2-pl1) Undefined index: htmlexcel_null

2.6.2
invalid
1
2013-06-11
2005-05-01
No

- log into PMA
- select the phpmyadmin database
- click the Export tab

Notice: Undefined index: htmlexcel_null in phpMyAdmin-2.6.2/
libraries/display_export.lib.php on line 529
called from require_once('phpMyAdmin-2.6.2/libraries/
display_export.lib.php') in /Library/WebServer/pma/phpMyAdmin
-2.6.2/db_details_export.php on line 58

Discussion

  • Marc Delisle

    Marc Delisle - 2005-05-01
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2005-05-01

    Logged In: YES
    user_id=210714

    I don't understand this one. This parameter should exist: if
    not in config.inc.php, it should be added by
    config_import.lib.php. In libraries/display_export.lib.php,
    please add a line before line 529:

    <?php print_r($cfg['Export']); ?>
    <input type="text" name="htmlexcel_replace_null" size="20"
    value="<?php echo $cfg['Export']['htmlexcel_null']; ?>"
    class="textfield" />

     
  • Ryan Carsten Schmidt

    Logged In: YES
    user_id=838923

    The key wasn't in the array. I had not updated my config.inc.php (was still
    at rev 2.48) and someone forgot to update the common.lib.php with the
    new config.inc.php revision number when config.inc.php went to 2.52, so
    the config_import.lib.php was never included. Fix attached.

     
  • Ryan Carsten Schmidt

     
  • Marc Delisle

    Marc Delisle - 2005-05-02
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2005-05-02
    • priority: 5 --> 1
    • summary: Undefined index: htmlexcel_null in display_export.lib.php --> (in 2.6.2-pl1) Undefined index: htmlexcel_null
     
  • Marc Delisle

    Marc Delisle - 2005-05-02

    Logged In: YES
    user_id=210714

    Thanks Ryan, I merged your patch. This should be released as
    2.6.2-pl1, along with the MySQL 5.x NULL detection fix.

     
  • Marc Delisle

    Marc Delisle - 2005-05-05
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

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