Warning: Cannot modify header information - headers already sent by ...
I've just downloaded the Atahualpa theme and gotten it installed. I immediately noticed that I began to receive messages like the following in the administrator portion of WordPress after making config changes in Atahualpa. I also receive these messages at the Login page.
"Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 846" I've poured through the WordPress forums and have cleared out any spaces at the beginning or end of the files mentioned in the error messages (wp-login.php, functions.php, pluggable.php, etc.) Any ideas why this is occurring? I love the theme and really want to use this for our group's blog. One added note: It appears that the referencing component is always bfa_header_config.php. Here's a sample of the error messages I get when I simply logout of the admin console. "Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-login.php on line 255 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-login.php on line 266 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 676 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 677 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 678 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 679 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 680 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 681 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 684 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 685 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 686 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 687 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 690 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 691 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 692 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 693 Warning: Cannot modify header information - headers already sent by (output started at \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php:234) in \\NAWINFS03\home\users\web\b1128\rh.ddriverpc\mgbl og\wp-includes\pluggable.php on line 846" |
Look for blank lines at in /wp-config.php and /wp-content/themes/atahualpa333/functions/bfa_header_config.php too
Also, is this just a copy/paste issue or do you have spaces in your path (you shouldn't)? rh.ddriverpc\mgbl og\wp-content\themes\atahualpa333\functions\bfa_header_c onfig.php |
The space in the error reports is just a copy/paste issue. I'll check the files you mentioned and post back.
Thanks! |
Hooray! that fixed it; however, nearly every file in the functions folder (all but two) had extra spaces at the end of the file and the functions.php file in the root folder also had spaces. Once I removed all of those spaces, things are working smoothly now.
I did a fresh install this morning. Why would all of the files in the function folder have spaces at the end if this is a known cause for errors? At any rate, thanks for the help. |
That may have been caused by your FTP or text editor software. Those files don't have blank lines in their original state
|
Turn output buffering on inside php.ini to solve this problem.
see Solve Cannot modify header information to resolve the issue in various different methods. |
All times are GMT -6. The time now is 06:08 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.