Moodle 版本更新
Moodle 版本更新步驟
1. 備份整個檔案(包括moodledata檔案)、資料庫(database)。
2. 開啟網站維護模式
網站管理 (Site administration) > 主機 (Server) > 網站維護模式(Maintenance mode).
關閉網站維護模式 (http://www.yourdomainname/admin)
http://www.yourdomainname/檔案名稱/login/index.php
3. 上傳 新版本
4. Copy your old config.php file back to the new Moodle directory.
5. 將曾經加裝的plugins上傳到新版本檔案中
/blocks autoattend
/mod autoattendmod openmeetings
/themes
/pix
6. Finishing the upgrade
The last step is to trigger the upgrade processes within Moodle.
To do this just go to Settings > Site administration > Notifications.
Moodle will automatically detect the new version and perform all the SQL database or file system upgrades that are necessary. If there is anything it can't do itself (very rare) then you will see messages telling you what you need to do.
重新導向修改(moodle檔案若不是放置於跟目錄中才要修改)
1. 中文繁體、簡體要修改Mysql 資料庫(database)中的
'pageshouldredirect',
'This page should automatically redirect. If nothing is happening please use the continue link below.', '本頁面會自動重新導向。如果什麼都沒發生,請點選下面的"繼續"連結。'
'wwwrootmismatch'
'Welcome to Amstar Tutoring Center. "{$a}" ', '歡迎蒞臨<font color="#DF013A">美星英文教學中心</font> "{$a}"。'
2. 版本升級之後,要進入管理後台:
Home ► Site administration ► Language ► Language customisation
$string['wwwrootmismatch'] = '歡迎蒞臨<font color="#DF013A">美星英文教學中心</font> "{$a}"。';