• Resolved jhondough

    (@jhondough)


    hi please fix my problem when i try to login with end ” /wp-admin ” or ” /wp-login.php”

    The error found with warning like this

    Warning: Cannot modify header information – headers already sent by (output started at /home/trustjho/public_html/blog/wp-content/themes/adspress/functions.php:74) in /home/trustjho/public_html/blog/wp-login.php on line 302

    Warning: Cannot modify header information – headers already sent by (output started at /home/trustjho/public_html/blog/wp-content/themes/adspress/functions.php:74) in /home/trustjho/public_html/blog/wp-login.php on line 314

    Warning: Cannot modify header information – headers already sent by (output started at /home/trustjho/public_html/blog/wp-content/themes/adspress/functions.php:74) in /home/trustjho/public_html/blog/wp-includes/pluggable.php on line 665

    Warning: Cannot modify header information – headers already sent by (output started at /home/trustjho/public_html/blog/wp-content/themes/adspress/functions.php:74) in /home/trustjho/public_html/blog/wp-includes/pluggable.php on line 666

    Warning: Cannot modify header information – headers already sent by (output started at /home/trustjho/public_html/blog/wp-content/themes/adspress/functions.php:74) in /home/trustjho/public_html/blog/wp-includes/pluggable.php on line 667

    Warning: Cannot modify header information – headers already sent by (output started at /home/trustjho/public_html/blog/wp-content/themes/adspress/functions.php:74) in /home/trustjho/public_html/blog/wp-includes/pluggable.php on line 868

    Please help me what i must to do. Does anyone nearly have problem like me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I had this problem and I looked A LOT on the internet, and everywhere people were saying that you must not have any spaces before the opening <?php tag and the closing ?> at the end of the file. That was not exactly my problem though…

    So somebody in these forums was saying exactly that, about spaces in the beginning and end of the file, and he also said “if you use Windows, it will include ‘hidden characters’ in the beginning of an UTF-8 file”. It’s called BOM, and I had no idea what that meant.

    Anyway, if you delete all spaces before <?php and after ?> and still have that proble, you probably have that BOM that Windows puts on UTF-8 encoded files. So download Notepad++ and change the encoding there to “UTF-8 without BOM” and that should solve it.

    Thread Starter jhondough

    (@jhondough)

    Great!! Finally solve now i can work again, thanks for samboll and bad-and-ugly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘can’t login and found error “Warning: Cannot modify header information”’ is closed to new replies.