1 頁 (共 1 頁)

[問題]重裝phpbb後restore datdbase問題

發表於 : 2003-06-11 14:30
tatame
我之前是用phpbbplus 1.0 後來重裝phpbb1.1!我之前已經把mysql 整個資料夾備份下來~~當我重裝好phpbb1.1+mod! 我把整個之前備份的mysql資料夾overwrite 去原本的mysql資料夾內!!但當我進入討論區!只出了一些error code如下
Failed obtaining forum access control lists

DEBUG MODE

SQL Error : 1054 Unknown column 'a.auth_globalannounce' in 'field list'

SELECT a.forum_id, a.auth_view, a.auth_read, a.auth_post, a.auth_reply, a.auth_edit, a.auth_delete, a.auth_sticky, a.auth_announce, a.auth_globalannounce, a.auth_vote, a.auth_pollcreate, a.auth_ban, a.auth_greencard, a.auth_bluecard, a.auth_attachments, a.auth_download, a.auth_mod FROM phpbb_auth_access a, phpbb_user_group ug WHERE ug.user_id = 2 AND ug.user_pending = 0 AND a.group_id = ug.group_id AND a.forum_id = 1

Line : 173
File : e:\appserv\www\phpbb2plus\includes\auth.php

發表於 : 2003-06-11 15:16
GaryFu
版本更新,有時資料庫schema會有異動…\r

這個錯誤是:
1.1版程式會去抓新增的欄位
但你資料庫是舊版(1.0)

--
沒裝過plus…\r
你找找看有沒有 將資料庫 從 1.0 upgrade 1.1 文件、方法

或著先將原資料庫的資料匯出\r
然後安裝新版
再將舊版資料庫資料匯入 (而不是用檔案目錄覆蓋的方式)

發表於 : 2003-06-13 01:45
cony
為甚麼要從新安裝1.1
不能直接用升級的方式嗎?

發表於 : 2003-06-13 10:28
chiouss
要跑過升級script才行吧?原版的phpbb2plus裡面有附1.0升級到1.1的php檔案,執行看看...