WordPress.org

Ready to get started?Download WordPress

Forums

Header trouble with /feed (3 posts)

  1. oaggle
    Member
    Posted 3 years ago #

    Hi,

    When navigating to http://www.oaggle.co.uk/feed/, the following message appears, but plain text content from our site still appears - "Warning: Cannot modify header information - headers already sent by (output started at /home/oagglec1/public_html/index.php:27) in /home/oagglec1/public_html/wp-includes/feed-rss2.php on line 8".

    Are there any solutions to this as of now? I've scoured the web but can't seem to find anything that can help.

    Cheers!

  2. Len Kutchma
    Member
    Posted 3 years ago #

    Hi oaggle. There seems to be an error at Line 27 of the index.php residing at root which is affecting the file located at wp-includes/feed-rss2.php which is curious, because the index.php file at root does not have 27 lines.

    Looking at your source code i see a bunch of javascript at the beginning of your document - it should not be there. My guess is this code was somehow inserted in the index.php file at root. Did you inadvertently do that? If not, we have a bigger problem.

  3. oaggle
    Member
    Posted 3 years ago #

    Hi Len,

    I've just read over what you said, and it seems you're right - I've removed the javascript at index.php, and the 'Warning: cannot modify header information' etc has disappeared.

    Could you please go to http://www.oaggle.co.uk/feed/ and tell me if it's supposed to look like that? I'm sure it is, but I just wanted a second approval.

    I'm now going to set up a Feedburner account, and hopefully make something out of it that way.

    Thanks a lot, Len!

Topic Closed

This topic has been closed to new replies.

About this Topic