1 頁 (共 1 頁)

關於系統 BeBug 的訊息求解

發表於 : 2009-08-02 14:13
StandardGr
 

部分頁面最上頭總會出現以下代碼
或者是某位會員他的發文都會出現這樣的代碼
經檢查後,/includes/functions_profile_fields.php 與 /includes/functions.php 與最原始檔案內容並無二異
實測 IE 與 PCMAN 這兩種瀏覽器都會出現這樣的問題
請教這應該是哪方面出了錯誤呢?

感謝您百忙之中抽空回答
感謝

DeBug 代碼:

代碼: 選擇全部

[phpBB Debug] PHP Notice: in file /includes/functions_profile_fields.php on line 492: gmmktime(): Windows does not support negative values for this function
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3544: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3546: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3547: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3548: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
/includes/functions_profile_fields.php 第492行:

代碼: 選擇全部

return $user->format_date(gmmktime(0, 0, 0, $month, $day, $year) + $user->timezone + $user->dst, $user->lang['DATE_FORMAT'], true);
/includes/functions.php 第3544~3548

代碼: 選擇全部

	header('Content-type: text/html; charset=UTF-8');

	header('Cache-Control: private, no-cache="set-cookie"');
	header('Expires: 0');
	header('Pragma: no-cache');
 

Re: 關於系統 BeBug 的訊息求解

發表於 : 2009-08-02 22:24
心靈捕手
StandardGr 寫: 

部分頁面最上頭總會出現以下代碼
或者是某位會員他的發文都會出現這樣的代碼
經檢查後,/includes/functions_profile_fields.php 與 /includes/functions.php 與最原始檔案內容並無二異
實測 IE 與 PCMAN 這兩種瀏覽器都會出現這樣的問題
請教這應該是哪方面出了錯誤呢?

感謝您百忙之中抽空回答
感謝

DeBug 代碼:

代碼: 選擇全部

[phpBB Debug] PHP Notice: in file /includes/functions_profile_fields.php on line 492: gmmktime(): Windows does not support negative values for this function
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3544: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3546: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3547: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3548: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
/includes/functions_profile_fields.php 第492行:

代碼: 選擇全部

return $user->format_date(gmmktime(0, 0, 0, $month, $day, $year) + $user->timezone + $user->dst, $user->lang['DATE_FORMAT'], true);
/includes/functions.php 第3544~3548

代碼: 選擇全部

	header('Content-type: text/html; charset=UTF-8');

	header('Cache-Control: private, no-cache="set-cookie"');
	header('Expires: 0');
	header('Pragma: no-cache');
 
建議您:
1. 升級架站系統為 AppServ 2.5.10
2. 升級論壇版本為 3.0.5

Re: 關於系統 BeBug 的訊息求解

發表於 : 2009-08-02 23:39
StandardGr
心靈捕手 寫:
StandardGr 寫: 

部分頁面最上頭總會出現以下代碼
或者是某位會員他的發文都會出現這樣的代碼
經檢查後,/includes/functions_profile_fields.php 與 /includes/functions.php 與最原始檔案內容並無二異
實測 IE 與 PCMAN 這兩種瀏覽器都會出現這樣的問題
請教這應該是哪方面出了錯誤呢?

感謝您百忙之中抽空回答
感謝

DeBug 代碼:

代碼: 選擇全部

[phpBB Debug] PHP Notice: in file /includes/functions_profile_fields.php on line 492: gmmktime(): Windows does not support negative values for this function
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3544: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3546: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3547: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3548: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
/includes/functions_profile_fields.php 第492行:

代碼: 選擇全部

return $user->format_date(gmmktime(0, 0, 0, $month, $day, $year) + $user->timezone + $user->dst, $user->lang['DATE_FORMAT'], true);
/includes/functions.php 第3544~3548

代碼: 選擇全部

	header('Content-type: text/html; charset=UTF-8');

	header('Cache-Control: private, no-cache="set-cookie"');
	header('Expires: 0');
	header('Pragma: no-cache');
 
建議您:
1. 升級架站系統為 AppServ 2.5.10
2. 升級論壇版本為 3.0.5
收到
謝謝您的建議,我設法升級
再次感謝