1 頁 (共 1 頁)

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

發表於 : 2004-08-29 21:12
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

發表於 : 2004-08-29 22:07
aiken
Warning: mysql_connect(): Access denied for user: 'mazda3c_root@localhost' (Using password: YES)

請修改 config.php 內關於MySQL 資料庫的帳號密碼

發表於 : 2004-08-29 22:14
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

發表於 : 2004-08-30 20:28
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是否有不應該出現的標準輸出

發表於 : 2004-08-31 10:52
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是否有不應該出現的標準輸出
謝謝 以解決!

發表於 : 2004-08-31 11:57
webspirit
解決了只要在原標題後加註已解決就好了
你現在的標題叫後來的人誰看得懂?

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

發表於 : 2004-08-31 11:58
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

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

發表於 : 2004-08-31 13:07
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
不好意思,我是新人,如有冒犯,請多見諒!