Support » Plugin: Portable phpMyAdmin » Cannot modify header information

  • Resolved seanrox

    (@seanrox)


    In WordPress 3.5.1 using version 1.3.2.2 of this plugin gives the following error when trying to use the Portable PMA menu:

    Warning: Cannot modify header information - headers already sent by (output started at /home/wp-content/plugins/portable-phpmyadmin/pma/index.php:38) in /home/wp-content/plugins/portable-phpmyadmin/pma/libraries/common.lib.php on line 351

    Would be awesome to get a fix for this error and issue. Right now the plugin can’t be used with this error happening.

    http://wordpress.org/extend/plugins/portable-phpmyadmin/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi, I didnt test it actually. But when I readed your post I thought about output buffering in PHP. May this issue be related to it? what is the php.ini have output buffering enabled so the headers cannot be already sent? I cannot check it right now because of only one production server, but it’s a good possibility that the plugin author had that php option enabled.. any ideas?

    Plugin Author Ciprian

    (@butterflymedia)

    Can you still use the plugin, regardless of the warning?

    I’m checking it right now, but I’m not seeing any warning. Maybe another plugin adds some headers. I’ll do some checks and add a wrapper check to the session control.

    Can’t use the plugin with the warning. Also, I just updated to 1.4 of your plugin and now get the following 2 errors when I go to the Portable PMA menu:

    Notice: Constant WP_USE_THEMES already defined in /home/wp-content/plugins/portable-phpmyadmin/pma/libraries/Config.class.php(365) : eval()’d code on line 5

    Warning: Cannot modify header information – headers already sent by (output started at /home/wp-content/plugins/portable-phpmyadmin/pma/libraries/Config.class.php(365) : eval()’d code:5) in /home/wp-content/plugins/portable-phpmyadmin/pma/libraries/common.lib.php on line 398

    I did try disabling all other plugins and these errors still happen.

    Plugin Author Ciprian

    (@butterflymedia)

    The WP_USE_THEMES constant notice has been removed.

    Also, the headers warning should not appear anymore.

    Thank you for the updates. Version 1.4.1 is now working. Is this a test version or will it now be considered a somewhat final version? Maybe wait to hear back from a few others using it as well?

    Plugin Author Ciprian

    (@butterflymedia)

    It’s a final version.

    I’m working on the plugin to tweak the user interface and I’ll release more updated in the next weeks.

    Generally, if users report bugs, I try to fix them and then release an updated version.

    As you well know, there is no “final version” for plugins, they are always improved and enhanced.

    Cheers!

    I’ll mark this thread solved since you did take care of the issues I had. Thank you again for the fixes.

    Plugin Author Ciprian

    (@butterflymedia)

    Thank you. Don’t forget to rate it!

    Ciprian, what configuration are you using for coding in your local php.ini for the following settings:

    implicit_flush
    output_buffering

    I have both set to on to improve load times.
    May this impact in the way the plugin loads?

    Plugin Author Ciprian

    (@butterflymedia)

    I’ll check and get back to you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cannot modify header information’ is closed to new replies.