WordPress.org

Forums

Portable phpMyAdmin
[resolved] Cannot modify header information (11 posts)

  1. seanrox
    Member
    Posted 2 years ago #

    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/

  2. Marcelo Pedra
    Member
    Posted 2 years ago #

    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?

  3. Ciprian
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  4. seanrox
    Member
    Posted 2 years ago #

    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.

  5. Ciprian
    Member
    Plugin Author

    Posted 2 years ago #

    The WP_USE_THEMES constant notice has been removed.

    Also, the headers warning should not appear anymore.

  6. seanrox
    Member
    Posted 2 years ago #

    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?

  7. Ciprian
    Member
    Plugin Author

    Posted 2 years ago #

    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!

  8. seanrox
    Member
    Posted 2 years ago #

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

  9. Ciprian
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you. Don't forget to rate it!

  10. Marcelo Pedra
    Member
    Posted 2 years ago #

    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?

  11. Ciprian
    Member
    Plugin Author

    Posted 2 years ago #

    I'll check and get back to you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.