• Yesterday I went and visited my blog. Everything seemed normal, I went to the admin section, and right in the top these errors are showing up:

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/wp-includes/vars.php:2) in /var/www/wp-admin/admin.php on line 10

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/wp-includes/vars.php:2) in /var/www/wp-admin/admin.php on line 11

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/wp-includes/vars.php:2) in /var/www/wp-admin/admin.php on line 12

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/wp-includes/vars.php:2) in /var/www/wp-admin/admin.php on line 13

    Any ideas? Should I replace teh vars.php file? The admin.php file? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • It is always a wise thing to search for the error message…

    Download vars.php
    Open in Notepad
    make sute ther very first thing on the top line is

    <?php

    Nothing at all must be before that.
    While you are there, check that the absolute last thing in that file is

    ?>

    with nothign at all after it – no carriage returns, no whitespace. Zilch ??

    Then save and reupload.

    Thread Starter sychosly

    (@sychosly)

    I did search for the error messages and I didn’t find anything. I am not new to searching, thanks for your concern.

    Thread Starter sychosly

    (@sychosly)

    Thank You Podz, seems as there was white space before the <?php, everything seems to be working fine now.

    Thanks.

    I did search for the error messages and I didn’t find anything

    Hmmm… In less polite places they’d say that’s a f!@#$ing lie! There are 1180 hits.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Errors in admin.php and vars.php?’ is closed to new replies.