[英]Getting “Cannot modify header information” in Cometchat Nulled
I have installed a version of Cometchat Nulled on my web site. 我在网站上安装了Cometchat Nulled版本。 I got this messages in my chatrooms window.
我在聊天室窗口中收到了此消息。 Besides, I don't use any CMS, my pages are HTML files.
此外,我不使用任何CMS,我的页面都是HTML文件。
Image: 图片:
As I indicated in the comments, your chat script is outputting a warning because: 正如我在评论中指出的那样,您的聊天脚本输出警告是因为:
display_errors
) require it to render the issue on-screen display_errors
)要求将其呈现在屏幕上 This warning is telling you that this script is using an old database library. 此警告告诉您此脚本正在使用旧的数据库库。 It is possible there is a setting to swap to a newer database library such as PDO - please do look into it.
可能有一种设置可以交换到较新的数据库库,例如PDO-请仔细研究。 Presently you cannot use PHP7 at all because of this problem, even though your host offers it.
目前,即使主机提供了此问题,您也根本无法使用PHP7。
The solution here was to edit this configuration setting in your config.php
: 解决方案是在
config.php
编辑此配置设置:
define('DEV_MODE','0'); // Set to 1 only during development
I swapped the 1
to a 0
and this must have reset the display_errors
setting for us within the script itself. 我将
1
换为0
,这一定已经在脚本本身中为我们重置了display_errors
设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.