• I’ve tried everything for this, looking for white space, reqwriting the start and ending php tags, but still nothing can anyone shine some light on this for me, to me it looks like it is line1 of the siplepress hooks temaplate that is casuing the problem, but I’ve checked it a thousand times over.

    Here is the error message

    Warning: Cannot modify header information – headers already sent by (output started at /home/hiroshimo/public_html/wp-content/plugins/simple-forum/forum/hooks/sf-hook-template.php:1) in /home/hiroshimo/public_html/wp-includes/pluggable.php on line 850

    Line 850 in the pluggable.php is this 850 is bolded

    if ( $is_IIS ) {
    header(“Refresh: 0;url=$location”);
    } else {
    if ( php_sapi_name() != ‘cgi-fcgi’ )
    status_header($status); // This causes problems on IIS and some FastCGI setups
    header(“Location: $location”);

    Im at my wits end with this, driving me mad lol.

    Thanks everyone hopefully someone can help me out.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi

    The problem is in the sf-hook-template.php file. Since the error is on line 1, its likely to be white space before the opening PHP tag. If you can not resolve this, my suggestion is download the plugin again, and replace just that one file with the version that you just downloaded.

    What is happening is pluggable.php is trying to write a header, but some browser output (whitespace probably) has already been sent from the plugin file, so the header can not be written.

    Thread Starter markey101101

    (@markey101101)

    Ummm the actual file comes as a .txt and I’m to change it to .php.. I’ve done exactly what you’ve said and nothings changed.

    Im using dreamweaver to edit the .txt version and then save it as .php

    Is it maybe the editor causing the problem?

    If so any other recommended editors to solve this.

    Thanks.

    Use a plain text editor.

    Thread Starter markey101101

    (@markey101101)

    i got it, I actually had to hold down delete at the beginning of the file for a while then reinser the “<” charachter, this solved my problem. thanks

    Dreamweaver is OK as a text editor. If you are on Windows Notepad++ is a good free text editor.

    If you still can’t get this to work go to the simpleforum support forum & ask there. They are usually very helpful.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I’ve tried every thing possible for Cannot modify header information – headers a’ is closed to new replies.