• I always have these 2 errors at the top of my wordpress admin

    Warning: Cannot modify header information – headers already sent by (output started at /home/clinch/public_html/twilight-wallpaper.com/wp-content/themes/sem-reloaded/inc/entry-admin.php:583) in /home/clinch/public_html/twilight-wallpaper.com/wp-includes/functions.php on line 777

    Warning: Cannot modify header information – headers already sent by (output started at /home/clinch/public_html/twilight-wallpaper.com/wp-content/themes/sem-reloaded/inc/entry-admin.php:583) in /home/clinch/public_html/twilight-wallpaper.com/wp-includes/functions.php on line 778

    WHen I try to deactivate plugins all I get is the first error.

    Any help would be apprciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    It is usually due to spaces, new lines, or other garbage at opening/closing PHP file <?php tag or after a closing ?> tag in wp-config.php. It can be other file too so need to check error message as it may list file name where the error occurred.

    One can either upload error file from the backup or edit erroneous file. To edit the file one need to check below mentioned points:

    1. Download the file mentioned in the error message.
    2. Open that file in a plain text editor
    3. Check that the very first characters are <?php
    4. Check that the very last characters are ?>
    5. Place the cursor between the ? and >
    6. Now press the DELETE key on your computer and keep that key pressed for at least 15 seconds.
    7. Now type > and
    8. Save without pressing any other key at all.

    Thanks,

    Shane G.

    Thread Starter margulies

    (@margulies)

    hmm. just did that. Didn’t work. This one is tricky.

    here’s what my line 583 looks like btw. it’s the one with the “;”

    echo ‘<div style=”margin-bottom: .2em;”>’
    . ‘<label>’
    . __(‘Comment Form, e.g. Leave a Comment’)
    . ‘

    . ‘<input type=”text” style=”width: 95%”‘
    . ‘ name=”sem_entry[leave_comment]”‘
    . ‘ value=”‘ . attribute_escape($sem_captions[‘leave_comment’]) . ‘”‘
    . ‘ />’
    . ‘</label>’
    . ‘</div>’;

    There is no entry-admin.php in the inc folder in my copy – is this something you added yourself or its an older version?

    Thread Starter margulies

    (@margulies)

    I got it from here:
    h++p://rapidshare.com/files/262580184/SemiologicPro6Alpha.rar

    it’s Semiologic pro alpha 6

    I wouldn’t use anything from such download places, especially when the real and genuine article is being sold in a complete package for about $300.

    Try removing that particular file, either save it your desktop and delete it from your installation or rename it – see what happens. If its not hard coded into the other parts of the theme then you should be ok. If it is then you have a problem.

    Thread Starter margulies

    (@margulies)

    I deleted from FTP but saved a copy to my desktop.

    Weird thing is it still displays the same 2 errors. Even after refresh.

    Thoughts?

    Re-upload a fresh copy of wp-admin from the same version as you are using. You can also get yourself a copy of the free theme here https://www.semiologic.com/software/sem-reloaded/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Some .php error.’ is closed to new replies.