• Ok, I’m trying to add the auto close comment plugin. I copied and pasted the text into a plaintext file exactly, except that I changed it to 14 days. I then uploaded the file to my plugins directory, and chmoded it to 755, like the others in the directory. Now when I try to publish a new post or delete an old one I get an error message. The error I get when trying to publish says:
    “Warning: Cannot modify header information – headers already sent by (output started at /homepages/5/d94133861/htdocs/wordpress/wp-content/plugins/closecomments.php:28) in /homepages/5/d94133861/htdocs/wordpress/wp-admin/post.php on line 293”
    If I delete the file from my server everything works fine again.
    Please help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You’ve got whitespace at the end of the plugin probably.
    Fisrt thing must be
    <?php
    and the last thing
    ?>
    Put the cursor between those 2 chars, press and hold the delete key.
    Press > and then save. Press nothing else after pressing >

    Thread Starter Anonymous

    That was it, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What am I doing wrong?’ is closed to new replies.