Warning: Cannot modify header information – headers already sent by
-
Hi everybody
I have read many many topics about this problem and the solution.
My problem is the same but the solution is not working..
I have the error message is saying:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/44/5813644/html/mohammedsadeq/wp-login.php:1) in /home/content/44/5813644/html/mohammedsadeq/wp-login.php on line 302
Warning: Cannot modify header information – headers already sent by (output started at /home/content/44/5813644/html/mohammedsadeq/wp-login.php:1) in /home/content/44/5813644/html/mohammedsadeq/wp-login.php on line 314
And all the solution in all website is saying that I have to delete the space before php?> and after ?>
I did that hundred times on both files “wp-config.php” and “wp-login.php” with no any changes…
I saw the lines mentioned in the error which are 302 and 314 in the ws-login.php file:
Line 302:
header('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset'));
Line 314:
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
Can anybody please tell me what is going on with me ???
Thank you,
- The topic ‘Warning: Cannot modify header information – headers already sent by’ is closed to new replies.