• i’m throwing a theme together locally on my computer (running wamp on winxp pro). i loaded two plugins:

    recent-comments:
    http://dev.wp-plugins.org/browser/recent-comments/

    recent-posts:
    http://dev.wp-plugins.org/browser/recent-posts/

    i receive the following error messages when adding a test post or submitting a comment:

    comments: Warning: Cannot modify header information – headers already sent by (output started at C:\wamp\www\wordpress\wp-content\plugins\recent-comments.php:2) in C:\wamp\www\wordpress\wp-includes\pluggable-functions.php on line 194

    and posts: Warning: Cannot modify header information – headers already sent by (output started at C:\wamp\www\wordpress\wp-content\plugins\recent-comments.php:2) in C:\wamp\www\wordpress\wp-admin\post.php on line 59

    running wp 1.5. any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Open recent-comments.php in Notepad
    You’ll find that the first <? is actually on line 2
    Use the delete key in line 1 to make the <? the very very first thing in the file.

    Additionally, the very last thing in that file must be ?>
    No spaces after it, no carriage returns.

    That should see you sorted.

    Thread Starter unfortunate

    (@unfortunate)

    wow. thanks for the quick response. i wasn’t aware that something as simple as line breaks could have such an effect.

    also.. if anyone knows how to do this. i was going to use the admin panel to display 3 recent posts at the top of the page. how could i make the recentposts plugin call the following posts after the first 3? at current the recent posts plugin is displaying all recent posts including the freshest posts.

    Thread Starter unfortunate

    (@unfortunate)

    nvm my last inquiry. the plugin offered parameters for setting the displayed posts.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘recent-comments and recent-posts plugin issues’ is closed to new replies.