网站模板中心

您现在的位置:首页>>织梦大学>>织梦技巧

dedecms问题Cannot modify header information headers

来源: 编辑:admin 发布时间:2020-05-08热度:67 ℃
织梦 s 问题Cannot modify header information headers already 昨天使用appsevr本地架设一个站,因为需要调试一个页面模板,因此改在本地,但是数据完全导入后, 本地打开首页,出现了Warnin...
织梦dedecms问题Cannot modify header information headers already

昨天使用appsevr本地架设一个站,因为需要调试一个页面模板,因此改在本地,但是数据完全导入后,

本地打开首页,出现了Warning: Cannot modify header information - headers already sent by (output started at D:AppServwwwindex.php:22) in D:AppServwwwindex.php on line 58的错误,

代码什么都没什么问题,按照给出的提示,看来得到php.ini打开某个选项的开关了 。
  
解决方法:

修改php.ini文件,php.ini配置问题,解决办法:打开 php.ini 然后把output_buffering=on,重启Apache或iis即可。

出现以上问题可能是由于更换空间,dedecms后台首页出现空白,空间php.ini默认没有开启的原因 。
Pbootcms问题解决

请点击在线联系我们【点击咨询解决问题】   如果您有任何Pbootcms问题,我们将免费为您写解决教程!

    PB模板网:承接仿站业务,价格200元起!