Khwooo’s Weblog

January 28, 2005

Coppermine Photo Gallery Update

Filed under: php — khwooo @ 7:00 am

心血來潮升級了CPG相簿系統,由原本的1.2.1 standalone升級到1.3.2 standalone,功能增強了許多,也多了一次上傳多張圖片的功能;之前安裝CPG整合PHPBB時,遇到許多挫折,後來找出的原因是因為cookie的因素,這次抱著忐忑的心升級它,希望別出什麼問題才好;以下是步驟:

1.backup cpg database
2.backup cpg www files , including albums
3.upload files of cpg 1.3.2 standalone , EXCEPT include/config.inc.php albums/ anycontent.php
4.make sure every file are already CHMODed , maybe 755
5.reconfig bridge/phpbb.inc.php
6.reconfig include/init.inc.php , uncomment line below :

define('UDB_INTEGRATION', 'phpbb');

7.add a file named cpg_redir.php in phpbb main directory (new in cpg 1.3.2), and paste codes below:

8.use internet browser to open update.php of cpg main directory
9.check and see if anything goes wrong.
10.enjoy it !

中途發生的插曲就是,當我安裝好後,phpbb和cpg連不起來,後來想到應該是連設定整合的檔案也覆蓋過去了,接著重設一次整合的檔案,重新進去就OK了,算是成功升級。:smile:

Reference:
CPG online manual

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: