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

随机文章:

Tags:

发表评论