1 頁 (共 1 頁)

[問題]faq與控制台語系變更[已解決]

發表於 : 2004-06-23 07:16
sable
問題外掛:行事曆1.4.2
參考連結:原始網站安裝說明
使用版本:行事曆1.4.2
網站位置:http://69.61.32.254/~sable/phpBB2/
狀況描述:

1.安裝完竹貓下載的2.0.8中文phpbb
2.CPG1.3同資料庫安裝
3.安裝附檔上傳模組(到這步為止還是中文)
4.安裝phpbb-Auction1.0M
5.安裝行事曆1.4.2

4.5步是一起進行的
所以不知道哪個步驟出問題
目前faq以及控制台中附檔相關的選項都變成英文
以及各版面下的"你可以在這個版面上傳檔案"也變成英文
還請高手指導

以上

發表於 : 2004-06-24 07:50
sable
自問自答

今天又重裝了一次\r
確定問題是出在安裝行事曆1.4.2之後產生
與上傳副檔2.3.9會有衝突
還在研究哪個步驟更改會出問題......

以上

發表於 : 2004-06-24 22:20
sable
最後的解決方法是,下面一這段程式碼"完全不要加"

代碼: 選擇全部

# 
#-----[ OPEN includes/functions.php]------------------------------------------ 
#

#####################################
#### VERSION PHPBB 2.0.4 - 2.0.8 ####
#
#
# 
#-----[ (VERSION PHPBB 2.0.4 - 2.0.8) FIND ]------------------------------------------ 
# 

	if ( defined('IN_ADMIN') )
	{
		if( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.'.$phpEx)) )
		{
			$board_config['default_lang'] = 'english';
		}

		include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);
	}

# 
#-----[ (VERSION PHPBB 2.0.4 - 2.0.8) AFTER, ADD ]------------------------------------------ 
# 

//
// MOD Load Calendar Language File
//
	if ( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_calendar.'.$phpEx)) ) 
	{ 
		$board_config['default_lang'] = 'english'; 
	} 

	include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_calendar.' . $phpEx);

// End MOD
#
#############################