[問題]架站後出現的問題 已解決 謝謝大家

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

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
頭像
ambrose_1020
星球普通子民
星球普通子民
文章: 15
註冊時間: 2004-08-28 09:25
來自: 雞籠廟口
聯繫:

[問題]架站後出現的問題 已解決 謝謝大家

文章 ambrose_1020 »

Warning: mysql_connect(): Access denied for user: 'mazda3c_root@localhost' (Using password: YES) in /home/mazda3c/public_html/phpBB2/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/mazda3c/public_html/phpBB2/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/mazda3c/public_html/phpBB2/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database
最後由 ambrose_1020 於 2004-08-31 11:58 編輯,總共編輯了 3 次。
●架設主機作業系統:RedHat Linux
●免費空間連結:http://www.mazda3-club.com/phpBB2/
●domain(網域名稱):mazda3-club.com
●上網方式:Hinet ADSL 2M/512K
●浮動IP
●安裝的程式:Apache+MySQL+PHP+Perl+PhpMyAdmin phpBB2
●版本phpBB2.10
aiken
竹貓忠實會員
竹貓忠實會員
文章: 1514
註冊時間: 2003-11-09 11:02
來自: 大頭真論壇
聯繫:

文章 aiken »

Warning: mysql_connect(): Access denied for user: 'mazda3c_root@localhost' (Using password: YES)

請修改 config.php 內關於MySQL 資料庫的帳號密碼
頭像
ambrose_1020
星球普通子民
星球普通子民
文章: 15
註冊時間: 2004-08-28 09:25
來自: 雞籠廟口
聯繫:

文章 ambrose_1020 »

aiken 寫:Warning: mysql_connect(): Access denied for user: 'mazda3c_root@localhost' (Using password: YES)

請修改 config.php 內關於MySQL 資料庫的帳號密碼
※我嘗試更改《config.php》中的帳號密碼卻出現以下的錯誤訊息,請問何解?

Warning: Cannot modify header information - headers already sent by (output started at /home/mazda3c/public_html/phpBB2/config.php:29) in /home/mazda3c/public_html/phpBB2/includes/sessions.php on line 188

Warning: Cannot modify header information - headers already sent by (output started at /home/mazda3c/public_html/phpBB2/config.php:29) in /home/mazda3c/public_html/phpBB2/includes/sessions.php on line 189

Warning: Cannot modify header information - headers already sent by (output started at /home/mazda3c/public_html/phpBB2/config.php:29) in /home/mazda3c/public_html/phpBB2/includes/page_header.php on line 475

Warning: Cannot modify header information - headers already sent by (output started at /home/mazda3c/public_html/phpBB2/config.php:29) in /home/mazda3c/public_html/phpBB2/includes/page_header.php on line 477

Warning: Cannot modify header information - headers already sent by (output started at /home/mazda3c/public_html/phpBB2/config.php:29) in /home/mazda3c/public_html/phpBB2/includes/page_header.php on line 478
●架設主機作業系統:RedHat Linux
●免費空間連結:http://www.mazda3-club.com/phpBB2/
●domain(網域名稱):mazda3-club.com
●上網方式:Hinet ADSL 2M/512K
●浮動IP
●安裝的程式:Apache+MySQL+PHP+Perl+PhpMyAdmin phpBB2
●版本phpBB2.10
messagebox
竹貓忠實會員
竹貓忠實會員
文章: 981
註冊時間: 2003-02-24 23:34

文章 messagebox »

第3篇的錯誤訊息是指

sessions.php 這檔案嘗試送出檔頭資料失敗~原因~在之前config.php已經有不是檔頭的資料送出(EX.HTML_BODY)

只要不是用\r
int header(string string);
int setcookie(string name, string value, int expire, string path, string domain, int secure);
這兩個函式送出的標準輸出都算是非檔頭~

也就是說~在標準輸出後還嘗試使用上述函式送出檔頭就會有這錯誤訊息~

sessions.php送出的檔頭幾乎是\r
int setcookie(string name, string value, int expire, string path, string domain, int secure);

解決方法~檢查config.php是否有不應該出現的標準輸出
頭像
ambrose_1020
星球普通子民
星球普通子民
文章: 15
註冊時間: 2004-08-28 09:25
來自: 雞籠廟口
聯繫:

文章 ambrose_1020 »

messagebox 寫:第3篇的錯誤訊息是指

sessions.php 這檔案嘗試送出檔頭資料失敗~原因~在之前config.php已經有不是檔頭的資料送出(EX.HTML_BODY)

只要不是用\r
int header(string string);
int setcookie(string name, string value, int expire, string path, string domain, int secure);
這兩個函式送出的標準輸出都算是非檔頭~

也就是說~在標準輸出後還嘗試使用上述函式送出檔頭就會有這錯誤訊息~

sessions.php送出的檔頭幾乎是\r
int setcookie(string name, string value, int expire, string path, string domain, int secure);

解決方法~檢查config.php是否有不應該出現的標準輸出
謝謝 以解決!
●架設主機作業系統:RedHat Linux
●免費空間連結:http://www.mazda3-club.com/phpBB2/
●domain(網域名稱):mazda3-club.com
●上網方式:Hinet ADSL 2M/512K
●浮動IP
●安裝的程式:Apache+MySQL+PHP+Perl+PhpMyAdmin phpBB2
●版本phpBB2.10
webspirit
竹貓忠實會員
竹貓忠實會員
文章: 1354
註冊時間: 2004-02-16 12:01
來自: 精靈國度

文章 webspirit »

解決了只要在原標題後加註已解決就好了
你現在的標題叫後來的人誰看得懂?
頭像
ambrose_1020
星球普通子民
星球普通子民
文章: 15
註冊時間: 2004-08-28 09:25
來自: 雞籠廟口
聯繫:

Re: [問題]架站後出現的問題 已解決 謝謝大家

文章 ambrose_1020 »

ambrose_1020 寫:Warning: mysql_connect(): Access denied for user: 'mazda3c_root@localhost' (Using password: YES) in /home/mazda3c/public_html/phpBB2/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/mazda3c/public_html/phpBB2/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/mazda3c/public_html/phpBB2/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database
●架設主機作業系統:RedHat Linux
●免費空間連結:http://www.mazda3-club.com/phpBB2/
●domain(網域名稱):mazda3-club.com
●上網方式:Hinet ADSL 2M/512K
●浮動IP
●安裝的程式:Apache+MySQL+PHP+Perl+PhpMyAdmin phpBB2
●版本phpBB2.10
頭像
ambrose_1020
星球普通子民
星球普通子民
文章: 15
註冊時間: 2004-08-28 09:25
來自: 雞籠廟口
聯繫:

Re: [問題]架站後出現的問題 已解決 謝謝大家

文章 ambrose_1020 »

ambrose_1020 寫:
ambrose_1020 寫:Warning: mysql_connect(): Access denied for user: 'mazda3c_root@localhost' (Using password: YES) in /home/mazda3c/public_html/phpBB2/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/mazda3c/public_html/phpBB2/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/mazda3c/public_html/phpBB2/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database
不好意思,我是新人,如有冒犯,請多見諒!
●架設主機作業系統:RedHat Linux
●免費空間連結:http://www.mazda3-club.com/phpBB2/
●domain(網域名稱):mazda3-club.com
●上網方式:Hinet ADSL 2M/512K
●浮動IP
●安裝的程式:Apache+MySQL+PHP+Perl+PhpMyAdmin phpBB2
●版本phpBB2.10
主題已鎖定

回到「phpBB 2 安裝與使用」