wordpress后台Warning: Cannot modify header information - headers already sent byWarning: Cannot modify header information - headers already sent by (output started at /.../public_html/wp-config.php:1) in /.../public_html/wp-includes/pluggable.php o

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/19 07:39:07
wordpress后台Warning: Cannot modify header information - headers already sent byWarning: Cannot modify header information - headers already sent by (output started at /.../public_html/wp-config.php:1) in /.../public_html/wp-includes/pluggable.php o
xUOV~8EH$t4 u6!M{X'9Xrl?4)@C "Z2 `B-{Isw|aebZVkY]!)N)9O8IuHq!1)*RBVӜ. 5Df@%3dCW 4Su>bDE!Ii14 d)!$G2I{nhy-F2EEM9UC| DA폣n!Y${n5fƙYȒ^Rbi%qAcz`@c!@8|6i~DGb' 7s"Dcs]'D_D=.;!xpO(Z$)[,5@!I1^b>X*A5V8IЅ-Raid??orj F8Ix,g,K <XRNm}~"R=.%hx UIk`$9)KNӟ|5_ݻ?j]lj+]5 m]ޏ'"ݮy⼮ 5ɵSLW!e"?N~sx\V>{l,b =n֢rzȺѽ y\l6;Zxiof6i61Y]:" 'uN|fVhxd}cHEkf8)4Ѷ*|kdrZ%Z=űZ5w0d5לͺ[ :9D`l?$"f pP4iY vxD ޹ٞ@욓+s=Km8dO[sGF̌h=8[פVQ}v^aQnppkK5~ŐZ94E(dKo++xk_.=d&$[wgHVOusLAU j|Pk~AB,@K?f(R]1y.rYc/\i>BtO尽lYw~탢6zپF/gt

wordpress后台Warning: Cannot modify header information - headers already sent byWarning: Cannot modify header information - headers already sent by (output started at /.../public_html/wp-config.php:1) in /.../public_html/wp-includes/pluggable.php o
wordpress后台Warning: Cannot modify header information - headers already sent by
Warning: Cannot modify header information - headers already sent by (output started at /.../public_html/wp-config.php:1) in /.../public_html/wp-includes/pluggable.php on line 890
pluggable.php 这个文件其中一部分内容
function wp_redirect($location, $status = 302) {
global $is_IIS;
$location = apply_filters('wp_redirect', $location, $status);
$status = apply_filters('wp_redirect_status', $status, $location);
if ( !$location ) // allows the wp_redirect filter to cancel a redirect
return false;
$location = wp_sanitize_redirect($location);
if ( $is_IIS ) {
header("Refresh: 0;url=$location");
} else {
if ( php_sapi_name() != 'cgi-fcgi' )
status_header($status); // This causes problems on IIS and some FastCGI setups
header("Location: $location", true, $status); (这是890行)
}
}
前台没问题,后台出现这问题

wordpress后台Warning: Cannot modify header information - headers already sent byWarning: Cannot modify header information - headers already sent by (output started at /.../public_html/wp-config.php:1) in /.../public_html/wp-includes/pluggable.php o
DW编辑文件的话默认貌似不是utf8无bom,你检查一下编码,这毛病通常是因为括号里那个文件由于有bom多出一个看不见的空格

括号里面那个文件是不是用记事本编辑过了?用专门的编辑器存成utf8无bom或者记事本存成ANSI格式 后面应该还有哪个文件引起的这个问题,你重点看下那个我没动过这个文件,一般打开文件也是用DW,我百度搜了类似的问题,都是这样说的,不懂php,所以还是不明白,能详细解答下吗?...

全部展开

括号里面那个文件是不是用记事本编辑过了?用专门的编辑器存成utf8无bom或者记事本存成ANSI格式 后面应该还有哪个文件引起的这个问题,你重点看下那个

收起

我的也有这样提示,不过我是把Auto Blogroll 插件停用就可以了!不信你可以试试!

备份下数据 重装wordpress吧 这种问题比较难解决。。