discuz首页警告Warning: Cannot modify header information - headers already sent by

分享到: 更多
By admin, 2010年01月14日

 

前几天给论坛加了个首页,郑州公交论坛 zzxing.com ,一切正常,管理员账户登录后打开首页,出现如下警告。
Warning: Cannot modify header information - headers already sent by (output started at /home/content/27/4922727/html/zzxing/index.php:1) in /home/content/27/4922727/html/zzxing/bbs/include/global.func.php on line 323

网上查找资料,一般都说是setcookie的问题。一般都说两种方法,加ob_start 或者打开 php.ini 然后把 output_buffering 设为 on。

其实discuz 的这种问题一般是无法正常执行缓存导致(空间或程序原因),删除/forumdata/cache/中所有内容然后更新缓存就可以了。
或者进入discuz后台-->工具-->更新缓存 即可。

从新登录一起正常。

相关日志

discuz论坛帖数及回复数变为16777215的解决办法
Discuz批量删除未审核通过的帖子和主题
godaddy的windows主机设置discuz7.2静态化
Godaddy+Windows主机Can not write to cache files, please check directory ./forumdata/
discuz论坛帖子的审核状态,cdb_threads表displayorder字段含义

随机文章

网页版即时在线聊天工具汇总QQ,MSN,Skype,Google Talk,Yahoo
discuz论坛帖子的审核状态,cdb_threads表displayorder字段含义
wordpress如何在每篇日志后面加上浏览统计次数(WP-PostViews)
WordPress,Drupal,DedeCms搭建CMS系统优劣
国外威客网站大全
Discuz发帖直接复制图片和表格
利用CDF文件篡改IE主页,怎么改也改不回来
Discuz设置隐藏的内容需要回复才可以浏览
误删Discuz代码, 如何恢复
雅虎域名$3.95

Comments are closed