[Resolved] Post installation returns “Warning: Cannot modify header information”
I’m truly stymied: I’ve just installed the latest version of WordPress on ValueWeb at http://www.popevalleywinery.com/blog/, and I get the Admin Login page (http://www.popevalleywinery.com/blog/wp-login.php). However, errors at the top are:
Warning: Cannot modify header information – headers already sent by (output started at /nfs/cust/7/91/83/838197/web/blog/wp-config.php:1) in /nfs/cust/7/91/83/838197/web/blog/wp-login.php on line 12
Warning: Cannot modify header information – headers already sent by (output started at /nfs/cust/7/91/83/838197/web/blog/wp-config.php:1) in /nfs/cust/7/91/83/838197/web/blog/wp-login.php on line 24
When I login a further error appears within the Login box:
ERROR: WordPress requires Cookies but your browser does not support them or they are blocked.
I’ve read through support threads, FAQs (http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F), and tried the tips: eliminating blank characters in the wp-config.php, remarking out lines in wp-login.php, renaming/deleting the /plugins/ directory (though no plugins – fresh install), restoring clean files from the ZIP wordpress installation download, all to no avail. I’ve tried a “patched” wp-login.php file found in one of the support threads – no luck. Remarking out the appropriate lines in wp-login.php (24, 314, 315 or others) does make the top error messages go away, but not the cookie warning, nor can I get past the login page. ValueWeb shows PHP 4.4.1 installed (full specs at http://www.popevalleywinery.com/blog/testphp.php). I use the latest version, fully patched Firefox that allows cookies running on a fully patched Windows Vista Business PC; latest Norton Firewall and AntiVirus – but as others have said, it probably isn’t the browser/PC configuration causing the errors. It does not work under a fully patched IE 7 allowing cookies either.
Bottom line is the error message does not make sense – there is no blank character or bad PHP string on line 1 of the wp-config.php file, and I’ve made very, very sure. It is:
… and that is it. Any insight, suggestions, or offers of help would be appreciated.
- The topic ‘[Resolved] Post installation returns “Warning: Cannot modify header information”’ is closed to new replies.