Home > AMP

php-header

今天在apache的错误日志中发现如下一行:

[Fri Apr 15 02:09:40 2011] [error] [client 119.177.37.124] PHP Warning: Header may not contain more than a single header, new line detected.
in /www/blog/wp-content/plugins/backupwordpress/functions/core.functions.php on line 220, referer: http://blog.sunliguo.com/wp-admin/tools.php?page=backupwordpress

查看core.functions.php的220行:

header(‘Content-Disposition:attachment; filename=” ‘.$name .'”‘ );

怪不得不得自从转移网站后,发现有时候backupwordpress这个插件备份的时候,没有反应。

还发现了下列错误:

[Mon Apr 25 21:55:05 2011] [error] [client 119.177.11.144] PHP Warning:  Missing argument 2 for mb_strlen(), called in /www/blog/wp-admin/includes/post.php on line 1148 and defined in /www/blog/wp-content/plugins/wp-thumbnails/ta_excerpt.php on line 13, referer: http://blog.sunliguo.info/wp-admin/post.php?post=1678&action=edit&message=6

请选择你看完该文章的感受:

0不错 0超赞 0无聊 0扯淡 1不解 0路过

随机文章:

2009-05-24 泰山瞎走
2009-05-24 泰山瞎走

bash: fork: retry: Resource temporarily unavailable
bash: fork: retry: Resource temporarily unavailable

思考者
思考者

江西赣州分公司联合警方成功捣毁一蓄电池收赃销赃窝点
江西赣州分公司联合警方成功捣毁一蓄电池收赃销赃窝点

皮枪
皮枪

在 WordPress 后台显示日志浏览数
在 WordPress 后台显示日志浏览数

Tags:

发表评论