1 頁 (共 1 頁)

[問題] 我安裝簡易子版面出現錯誤

發表於 : 2005-09-13 20:12
chjojon
問題外掛:簡易子版面V1.1
參考連結:目前使用測試伺服器(未上傳)
使用版本:PHPBB2.0.17
網站位置:目前使用測試伺服器(未上傳)
狀況描述:
安裝完後就出現\r

代碼: 選擇全部

Fatal error: Call to a member function on a non-object in D:\Azhong\phpbb\includes\sessions.php on line 68

Re: [問題] 我安裝簡易子版面出現錯誤

發表於 : 2005-09-13 21:43
w2812451
chjojon 寫:問題外掛:簡易子版面V1.1
參考連結:目前使用測試伺服器(未上傳)
使用版本:PHPBB2.0.17
網站位置:目前使用測試伺服器(未上傳)
狀況描述:
安裝完後就出現\r

代碼: 選擇全部

Fatal error: Call to a member function on a non-object in D:\Azhong\phpbb\includes\sessions.php on line 68
請開啟你的 includes\sessions.php
查看68行 是否有錯誤出現!
不然請把
includes\sessions.php
的60~75行貼出來!方便參考!

發表於 : 2005-09-14 18:45
chjojon
那個檔沒問題了,
但是現在發現一個問題

代碼: 選擇全部

Fatal error: Call to a member function on a non-object in D:\Azhong\phpbb\includes\functions.php on line 682
幫我看看
從676~694行的程式碼\r

代碼: 選擇全部

//
	// Get SQL error if we are debugging. Do this as soon as possible to prevent 
	// subsequent queries from overwriting the status of sql_error()
	//
	if ( DEBUG && ( $msg_code == GENERAL_ERROR || $msg_code == CRITICAL_ERROR ) )
	{
		$sql_error = $db->sql_error();

		$debug_text = '';

		if ( $sql_error['message'] != '' )
		{
			$debug_text .= '<br /><br />SQL Error : ' . $sql_error['code'] . ' ' . $sql_error['message'];
		}

		if ( $sql_store != '' )
		{
			$debug_text .= "<br /><br />$sql_store";
		}