[1.] 更新檔案
下載 phpBB-2.0.22-patch.zip
執行
patch -cl -d /var/www/html/phpbb/ -p1 < /root/phpBB-2.0.22-patch/phpBB-2.0.19_to_2.0.22.patch
patching file admin/admin_board.php
patching file admin/admin_db_utilities.php
patching file admin/admin_forums.php
patching file admin/admin_groups.php
patching file admin/admin_ranks.php
patching file admin/admin_smilies.php
patching file admin/admin_styles.php
patching file admin/admin_users.php
patching file admin/admin_words.php
patching file admin/page_header_admin.php
patching file admin/pagestart.php
patching file common.php
patching file db/mssql.php
patching file groupcp.php
patching file includes/auth.php
patching file includes/bbcode.php
patching file includes/functions.php
patching file includes/functions_post.php
patching file includes/prune.php
patching file includes/sessions.php
patching file includes/usercp_avatar.php
patching file includes/usercp_confirm.php
patching file includes/usercp_email.php
patching file includes/usercp_register.php
patching file index.php
patching file language/lang_english/email/group_request.tpl
patching file language/lang_english/email/user_activate_passwd.tpl
patching file language/lang_english/lang_admin.php
patching file language/lang_english/lang_main.php
patching file login.php
patching file memberlist.php
patching file modcp.php
patching file posting.php
patching file privmsg.php
patching file profile.php
patching file search.php
patching file templates/subSilver/admin/board_config_body.tpl
patching file templates/subSilver/admin/confirm_body.tpl
patching file templates/subSilver/confirm_body.tpl
patching file templates/subSilver/posting_body.tpl
patching file viewforum.php
patching file viewtopic.php
[2.] 更新資料庫
將 phpBB-2.0.22-patch/目錄內的 install及 contrib目錄複製到 phpbb目錄裡
瀏覽
http://xxx/phpbb/install/update_to_latest.php
Information
Database type :: mysql4
Previous version :: 2.0.19
Updated version :: 2.0.22
Updating database schema
Progress :: . Done
Result :: No errors
Updating data
Progress :: . . . . .
Updating version and optimizing tables
Progress :: . . Done
Result :: No errors
Update completed
Please make sure you have updated your board files too, this file is only updating your database.
You should now visit the General Configuration settings page in the Administration Panel and check the General Configuration of the board. If you updated from versions prior to RC-3 you must update some entries. If you do not do this emails sent from the board will contain incorrect information. Don't forget to delete this file!
ref: http://phpbb-tw.net/phpbb/viewtopic.php?t=47763&highlight=%E5%8D%87%E7%B4%9A
留言