本地迁移discuz x2到虚拟主机环境下,访问提示Warning:

By:Anna Scaret
1 min read2021-09-22 09:27:13

这是我迁移了许多discuz X2案例中,也是第一次见到这种错误,非常怪异。高速度 主机(www.gaosudu.com)小编特整理此故障资料发布备忘,如果你正在从本地迁移discuz x2到php虚拟主机发生此类故障,可以参考本案例。
Discus x2迁移前本地运行环境说明和迁移到高速度 主机后的故障报错:
用户(威威饼、 Kenny****@21cn.com(****3390))本地discuz环境为自建的php环境,本地调试访问地址:http://127.0.0.1/diz3按照常规方法整站迁移discuz X2,迁移完毕后,访问网站发生如下错误:用域名:http://www.domains.com/forum.php 可以正常访问用域名:http://www.domains.com/访问提示错误,详细错误信息如下:Warning: Cannot modify header information - headers already sent by (output started at /home/scf77h****/domains.com/ domains /public_html/index.php:2) in /home/scf77h****/domains/ domains.com /public_html/index.php on line 128 如下截图:

本文地址:https://www.gaosudu.com/discuz/5315.html