duanoucuo7045 2017-02-24 06:23
浏览 86
已采纳

无法修改WordPress中的标头信息

I have created a WordPress theme and I have tested it in localhost , it doesn't have any error. But when I uploaded it in the host, in most of pages I see this error:

Warning: Cannot modify header information - headers already sent by (output started at /home2/dekadesi/domains/dekadesign.ir/public_html/wp-content/themes/dekadesign_v2/functions.php:1) in /home2/dekadesi/domains/dekadesign.ir/public_html/wp-includes/pluggable.php on line 1179

I checked space in wp-confing.php and functions.php but my problem is not solved. I need functions.php file, I don't know what should I do.

  • 写回答

2条回答 默认 最新

  • doucai1901 2017-02-26 20:07
    关注

    Thanks for your helps , I talked to my web hosting manager and they start output_buffering in my host . then problem solved !

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥20 R语言单细胞测序 对seurat对象进行标准化时出现问题
  • ¥15 Anaconda navigator updateor一直更新
  • ¥15 请问如何在matlab里使用raven工具?
  • ¥100 关于ios手游充值到一定金额,再点充值提示公众号的问题。
  • ¥15 求一个stm32串口控制程序
  • ¥20 Windows 驱动开发版本疑问相关
  • ¥15 MAC 未能打开磁盘映像
  • ¥15 fastcap使用,二维导体输入问题
  • ¥15 hosts修改后不能访问
  • ¥15 关于化学反应速率C++编译问题/FLUENT