• Uh oh,

    I added the poll plug-in, and made the corresponding changes to several documents per the read me instructions. Logged in to my wordpress admin page, and saw the following errors:

    Warning: Cannot modify header information – headers already sent by (output started at /home/screenwr/public_html/wp-settings.php:155) in /home/screenwr/public_html/wp-admin/admin.php on line 10

    And then the same error repeated three more times, each for lines 11, 12, and 13.

    So I deactivated the plug-in, then very meticulously deleted everything I added, making sure there were no extra spaces or anything.

    Still get the error message.

    Any ideas or anyone have the same problem?

    This is the text from my admin.php:

    header(‘Expires: Wed, 11 Jan 1984 05:00:00 GMT’);
    header(‘Last-Modified: ‘ . gmdate(‘D, d M Y H:i:s’) . ‘ GMT’);
    header(‘Cache-Control: no-cache, must-revalidate, max-age=0’);
    header(‘Pragma: no-cache’);

    Thanks for any help!
    Warren

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter warrenleon

    (@warrenleon)

    It’s getting worse! Now I’m getting errors when I try to post or post comments. Added a comment and got:

    Warning: Cannot modify header information – headers already sent by (output started at /home/screenwr/public_html/wp-settings.php:155) in /home/screenwr/public_html/wp-comments-post.php on line 51

    Can anyone help me. I’m desperate!

    Thanks!
    Warren

    Hmm..that error sometimes appears when there is whitespace after the top and bottom of an included file. I’d double check all the changes you made, working backwards from the readme instructions.

    If you still cannot get it to work, I would just delete your entire wp-admin folder and replace it with a fresh download (assuming you’re using 1.5.1.3). And make sure the plugin file is deactivated and deleted, as well as the other files deployed by the plugin

    If you’re not using WordPress 1.5.13, completing an upgrade would likely fix all the problems.

    Now, it just so happens that I’m the author of a poll plugin. Its installation is far newer, easier (add a template tag, activate the plugin. and you’re done), and better featured. You can check out my plugin, Democracy AJAX Poll.

    Thread Starter warrenleon

    (@warrenleon)

    Thanks folks. Yep, turned out to be extra lines in a couple of docs. Deleted it and it’s fine again. And Jalenack, I’ll check out your plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Header Error after adding, then deleting Poll Plug-in…’ is closed to new replies.