安裝到最後出現Warnning...

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
emilwings
星球普通子民
星球普通子民
文章: 2
註冊時間: 2007-05-18 12:16

安裝到最後出現Warnning...

文章 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

請問是什麼問題呢?
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8540
註冊時間: 2004-04-30 01:54
來自: Taiwan

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

文章 心靈捕手 »

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
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
chiouss
竹貓忠實會員
竹貓忠實會員
文章: 1741
註冊時間: 2002-11-29 18:19

文章 chiouss »

config.php 不需要是 UTF-8,因為正常來說裡面不會有非英文的字元,是不是 UTF-8 沒有關係。

BOM 也不會出現在 20 行...
michaelchain
星球公民
星球公民
文章: 129
註冊時間: 2006-10-17 03:13

文章 michaelchain »

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

BOM 也不會出現在 20 行...
所以我怀疑他改动了(或者误改动了)config.php文件, 看看是否有这个line 20
把<? php ?>以外的内容都清干净先...
※伺服器主機:Intel Core2 酷睿™2 E6300, 升級到4GB RAM了
※主機作業系統:CentOS 4 Linux
※我的 phpBB 版本:phpBB3.0.?
※我的網址: 中文PHPBB
emilwings
星球普通子民
星球普通子民
文章: 2
註冊時間: 2007-05-18 12:16

文章 emilwings »

喔喔~~ 好了

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

感謝各位的指教 :)
主題已鎖定

回到「phpBB 2 安裝與使用」