dousui6193 2012-12-02 05:30
浏览 60
已采纳

Wordpress插件激活期间出错[重复]

Got the following error during the plugin activation

The plugin generated 1 character of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

here is the code of that plugin http://pastebin.com/ZKrKQbPv

Also i can't able to edit plugin content via wordpress plugin editor. When i click save it shows “headers already sent” error.

</div>
  • 写回答

1条回答 默认 最新

  • doudouchan5830 2012-12-02 06:09
    关注

    make sure BOTH one.php and two.php contain ONLY the following code if keeping blank:

    <?php
    

    Place that at the very top of the files and save and upload them to server. By including them as they are blank they have a newline in them which is being output. This will fix it. DO NOT put a closing ?> tag. It's recommended you don't end your files with them since it increases the likelihood as well of putting newlines by accident.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 Revit2020下载问题
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大