[問題] 使用2.0.13資料庫,如何安裝2.0.21?

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

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
krab
星球公民
星球公民
文章: 119
註冊時間: 2004-06-28 08:00

文章 krab »

以下是我在Centos4.3下的作法:

#cd /var/lib/mysql
#mkdir twclinic
#tar xvf twclinic.tar
#cd ..
#chown -R mysql.mysql
#mysql -uroot -p
password:xxxxxxxxx
#show databases;
#use twclinic;
#mysql> use twclinic
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Didn't find any fields in table 'twclinic_search_wordlist'
Database changed

先不管錯誤訊息,繼續將資料庫授權

#grant all on twclinic to root@localhost identified by '681120';
#exit

#cd /var/www/forum
#unzip phpbb.zip //將phpBB-2.0.21.zip 解開,這裡名稱已經先改過了
#mv phpBB2 twclinic //將預設資料夾改成您要的名稱,做不做隨您便喔
#cd twclinic
#upzip language package //如果使用Big-5的語系,必須將適當的語系檔覆蓋原有的語系檔

#chmod 666 config.php //必須先改這個檔的權限

接著以升級的方式安裝論壇
http://url path/
upgrade installation

會碰到錯誤訊息,無法安裝,

Unable to get list of smilies from the DB
1146: Table 'twclinic.smiles' doesn't exist

SELECT code, smile_url
FROM smiles

不要慌,只要以下列步驟更新資料庫就可以了。

http://url path/install/update_to_latest.php


#rm -Rf install
#rm -Rf contrib

記得更改config.php,填入適當的值,不然登入後,會跑到舊有的論壇去喔!

如此大功告成

謝謝chiouss以及心靈捕手的細心及耐心指導。

原來我患的錯誤是沒有配合選擇原有資料庫的語系檔 :oops:
主題已鎖定

回到「phpBB 2 安裝與使用」