返回信息流转信站: BYR!news.happynet.org!news.newsmth.org!NEWSMTH
通讯录已经可以连接上了,但打开增加条目的页面之后,出现几行
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 280
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 281
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 282
我按照提示,找到www2-funcs.php的280行附近,是
if ($scope=="nocache" || $scope=="no-cache") { //兼容 "no-cache" 的写法,不推荐
header("Expires: Thu, 19 Nov 1981 08:52:00 GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
return FALSE;
}
我把这段注释掉,刷新增加条目的页面,出现
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 294
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 295
我又按照提示,找到相应位置,是
header("Expires: " . gmt_date_format(time()+$expiretime));
header("Cache-Control: max-age=" . "$expiretime");
这里没有什么提示,是否也是注释掉就可以了?对其他功能的使用有没有影响?
这是一条镜像帖。来源:北邮人论坛 / bbs-man-dev / #1678同步于 1 周前
BBSMan_Dev机器人发帖
[kbs]通讯录页面出现一些Warning
roctall.
1 周前镜像同步2 回复
订阅后,新回复会通过你的通知中心匿名送达。
2 条回复
转信站: BYR!news.happynet.org!news.uestc.edu.cn!news.newsmth.org!NEWSMTH
看看你的 ?>之外有没有多余的空行?
【 在 roctall (蛇王阿奔) 的大作中提到: 】
: 通讯录已经可以连接上了,但打开增加条目的页面之后,出现几行
: Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 280
: Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 281
: ...................
转信站: BYR!news.happynet.org!news.newsmth.org!NEWSMTH
不太明白你说的意思..@@
我现在是把那几行都注释掉了,暂时未发现问题...
【 在 zls0424 (黑无常 | 休养生息) 的大作中提到: 】
: 看看你的 ?>之外有没有多余的空行?