1 頁 (共 1 頁)

安裝到最後出現Warnning...

發表於 : 2007-05-19 16:41
emilwings
●架設主機作業系統:Linux ubuntu
●快速架站程式:LAMP
●您的上網方式:學術網
●您安裝的程式:Apache + php + MySql
●您的 phpBB2 版本:phpBB 2.0.22
●錯誤狀態:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/PHPBB/config.php:20) in /var/www/PHPBB/includes/sessions.php on line 254

Warning: Cannot modify header information - headers already sent by (output started at /var/www/PHPBB/config.php:20) in /var/www/PHPBB/includes/sessions.php on line 255

Warning: Cannot modify header information - headers already sent by (output started at /var/www/PHPBB/config.php:20) in /var/www/PHPBB/includes/page_header.php on line 479

Warning: Cannot modify header information - headers already sent by (output started at /var/www/PHPBB/config.php:20) in /var/www/PHPBB/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /var/www/PHPBB/config.php:20) in /var/www/PHPBB/includes/page_header.php on line 486


我安裝完後 有出現要我下載config.php

我下載完 也覆蓋完了

然後我關掉網頁 把install 和contrib刪除後

在連到 index.php 就出現上面的Warnning

請問是什麼問題呢?

Re: 安裝到最後出現Warnning...

發表於 : 2007-05-19 21:09
心靈捕手
emilwings 寫:●架設主機作業系統:Linux ubuntu
●快速架站程式:LAMP
●您的上網方式:學術網
●您安裝的程式:Apache + php + MySql
●您的 phpBB2 版本:phpBB 2.0.22
●錯誤狀態:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/PHPBB/config.php:20) in /var/www/PHPBB/includes/sessions.php on line 254

Warning: Cannot modify header information - headers already sent by (output started at /var/www/PHPBB/config.php:20) in /var/www/PHPBB/includes/sessions.php on line 255

Warning: Cannot modify header information - headers already sent by (output started at /var/www/PHPBB/config.php:20) in /var/www/PHPBB/includes/page_header.php on line 479

Warning: Cannot modify header information - headers already sent by (output started at /var/www/PHPBB/config.php:20) in /var/www/PHPBB/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /var/www/PHPBB/config.php:20) in /var/www/PHPBB/includes/page_header.php on line 486


我安裝完後 有出現要我下載config.php

我下載完 也覆蓋完了

然後我關掉網頁 把install 和contrib刪除後

在連到 index.php 就出現上面的Warnning

請問是什麼問題呢?
建議您:
檢視下列檔案的 '編碼' 是否需要設定為 utf-8 (未含 BOM)?
config.php

參考資料:
http://phpbb-tw.net/phpbb/viewtopic.php?p=230924#230924

發表於 : 2007-05-20 00:06
chiouss
config.php 不需要是 UTF-8,因為正常來說裡面不會有非英文的字元,是不是 UTF-8 沒有關係。

BOM 也不會出現在 20 行...

發表於 : 2007-05-20 02:02
michaelchain
chiouss 寫:config.php 不需要是 UTF-8,因為正常來說裡面不會有非英文的字元,是不是 UTF-8 沒有關係。

BOM 也不會出現在 20 行...
所以我怀疑他改动了(或者误改动了)config.php文件, 看看是否有这个line 20
把<? php ?>以外的内容都清干净先...

發表於 : 2007-05-20 09:16
emilwings
喔喔~~ 好了

我是先轉成UTF-8未含MOD 在上傳覆蓋就好了

感謝各位的指教 :)