最近想要將我在虛擬伺服器上的網站升級到 7
打算先用TWAMPD先來試試看,以免到時網站整個停掉
我用的是 TWAMPD 2.2 內含 drupal 版本 6.17
升級方法就是把原本的非核心模組全部停掉
然後把drupal 7 解壓縮覆蓋到\htdocs\drupal-6.17目錄下site 資料夾以外的檔案
出來的結果就是以的錯誤訊息
=========================================
Notice: Use of undefined constant DRUPAL_ROOT - assumed 'DRUPAL_ROOT' in D:\TWAMPd 6.17\htdocs\drupal-6.17\includes\common.inc on line 1557
Warning: require_once(DRUPAL_ROOT/includes/unicode.inc) [function.require-once]: failed to open stream: No such file or directory in D:\TWAMPd 6.17\htdocs\drupal-6.17\includes\common.inc on line 1557
Fatal error: require_once() [function.require]: Failed opening required 'DRUPAL_ROOT/includes/unicode.inc' (include_path='.;../ap/PEAR/pear;../../ap/PEAR/pear;../../../ap/PEAR/pear;../../../../ap/PEAR/pear;../../../../../ap/PEAR/pear') in D:\TWAMPd 6.17\htdocs\drupal-6.17\includes\common.inc on line 1557
========================================
連TWAMPD 的介面都啟動不了 (就是有install drupa, phpmyadmim 選項的那一頁)
猜想應該是哪個檔案沒有針對TWAMPD修改到
感覺應該是犯了很笨的錯誤
試了很久都沒有成功,希望有高手可以幫忙解惑
(p.s. 我知道有新版本的TWAMPD 出來...但主要還是想知道為何無法升級)
感謝幫忙