亚洲无乱码av毛片_爆乳喷奶水无码正在播放_国产免费AV东京热_免费观看的AV网站

獵盾網(wǎng)絡(luò)|周口網(wǎng)站建設(shè)優(yōu)化公司

WordPress出現(xiàn)Warning: Cannot modify header information – headers already sent by(output started at / … wp-config.php 的解決方法

WordPress出現(xiàn)“Warning: Cannot modify header information – headers already sent by(output started at /” 的問題一般都是在WordPress網(wǎng)站修改了程序文件后導致的。在修改了php程序后再訪問網(wǎng)站后臺或前臺時,出現(xiàn)類似問題,錯誤界面如下圖所示:

WordPress出現(xiàn)Warning: Cannot modify header information – headers already sent by(output started at / … wp-config.php 的解決方法

WordPress出現(xiàn)Warning: Cannot modify header information – headers already sent by(output started at / … wp-config.php 的解決方法

其實,問題就是之前修改的文件,在錯誤提示中可以找到(output started at?后就是相應(yīng)錯誤文件路徑),我們需要做的就是:

1. 登錄網(wǎng)站FTP,找到該文件所在路徑,并把 wp-config.php 文件下載到本地計算機;

2. 使用專門的php程序編輯軟件(比如:NotePad++?或?Dreamweaver;切勿使用系統(tǒng)自帶的 文本 編輯器)打開,查看該文件的編碼格式;

3.?如果該文件不是 UTF-8 無BOM編碼格式,那需要保存時選擇該編碼格式。

4. 把以UTF-8 無BOM編碼格式保存的文件,重新FTP上傳到網(wǎng)站對應(yīng)目錄替換就可以解決問題了。

一般WordPress出現(xiàn)“Warning: Cannot modify header information – headers already sent by(output started at /” 的問題都是因為程序編碼格式不一致導致的,WordPress程序開發(fā)都是基于國際通用編碼格式 –?UTF-8來開發(fā)的,所以,在修改程序文件時,一定要保證保存后的文件格式?jīng)]有變化。