flagflag  
5: 2010-04-09 (Fri) 14:13:54 admin source Cur: 2023-05-19 (Fri) 12:27:09 iseki source
Line 22: Line 22:
+ ファイルの展開 + ファイルの展開
+ データベースの作成 + データベースの作成
-+ データ用ディレクトリの作成 & .htaccessの設置++ データ用ディレクトリの作成 %%& .htaccessの設置%%
+ ブラウザでアクセス + ブラウザでアクセス
#br #br
 +
** Update [#g9fb888d] ** Update [#g9fb888d]
+ 必要なデータをバックアップする (Moodle のディレクトリの名前を変更するのが手っ取り早い) + 必要なデータをバックアップする (Moodle のディレクトリの名前を変更するのが手っ取り早い)
Line 30: Line 31:
+ install ディレクトリ,install.php を削除 + install ディレクトリ,install.php を削除
+ バックアップから ''condig.php'' をコピー + バックアップから ''condig.php'' をコピー
-+ 標準でないブロック,モジュール,テーマ, ''.htaccess'' をコピー++ 標準でないブロック,モジュール,テーマ, コースフォーマット,認証,%%.htaccess%% をコピー
+ ブラウザでトップページにアクセス + ブラウザでトップページにアクセス
#br #br
 +
 +**** 3.0 へのアップデート [#r010ee65]
 + php admin/cli/mysql_engine.php --engine=InnoDB
 + php admin/cli/upgrade.php
 +#br
 +
** Module/Block のインストール [#q172b1e5] ** Module/Block のインストール [#q172b1e5]
+ モジュールを mod ディレクトリに展開 + モジュールを mod ディレクトリに展開
+ ブロックを blocks ディレクトりに展開 + ブロックを blocks ディレクトりに展開
-+ 言語ファイルを lan/* にコピー.または[moodledata]/lang/* にコピー++ 言語ファイルを lang/* にコピー.または[moodledata]/lang/* にコピー
+ theme/[THEME]/pix/mod/[モジュール名] から mod/[モジュール名] へシンボリックリンクを張る. + theme/[THEME]/pix/mod/[モジュール名] から mod/[モジュール名] へシンボリックリンクを張る.
+ Moodleのトップメニューの管理メニューから「通知」をクリックする. + Moodleのトップメニューの管理メニューから「通知」をクリックする.
 +#br
 +*** cron [#h626f357]
 +- /etc/cron* に以下のスクリプトを追加
 + /usr/bin/wget -q -O /dev/null  http://localhost/moodle/admin/cron.php
#br #br
-** [[Programing>./Programing]] [#m0a592ee]+** Tips [#n1fc96dc] 
 +**** firstname, lastname の表示順序 [#fc12fd4f] 
 +- 「サイト管理」→「ユーザ」→「パーミッション」→「ユーザポリシー」→「フルネームフォーマット」 
 +#br
-** [[Moodle-1.9]] メモ [#k4f1c4a9] +**** LTI [#q085fc46
-*** 認証 [#i4089dd3+- Learning Tools Interoperability 
-**** Plugin [#be8db36b] +- 他の外部アプリと連携できる.
-- $authplugin = get_auth_plugin($CFG->registerauth); で認証モジュールを獲得できる.+
-**** Authd [#db64ed03] +- 設定 
-- auth に tuis_auth を展開 +-- 「サイト管理」=> 「プラグイン」=> 「外部ツール:ツールを管理する」(=>「ツールを手動設定する」) 
--- php_tuis_auth.so +-- [[Hack>./Moodle-LTI]] 
---- dl() が使えなくなるらしいので,/usr/local/lib へインストール.php.ini で読み込む. +#br
--- 言語ファイルは moodledata/lang/ja_utf8/auth_tuis.php +
---- 一部(タイトなど)はmoodledata/lang/ja_utf8/auth.phpに +
--- auth/email/auth.php にuser_exists() 追加 +
---- tuis_auth のユーザ検出のため +
--- 設定では 姓(学籍番号)をロックする. +
-- reCApTCHA +
--- http://recaptcha.net/+
-**** ユーザ情報 [#f7f2cdf5+** Trouble Shooting [#b7d74d43] 
-- 必須入力項目を必須でなくする. +*** Moodle 4.20 + PHP 8.2 で  configlockmappings Deprecated のエラー [#e641c03d
--- login/signup_form.php +- cache/classes/config.php の L42辺りに ''#[AllowDynamicProperties] '' を追加 
--- user/editlib.php+#br
-*** グローバルサーチ [#xdeae2b6+*** 何てこったい! admin のパスワードを忘れちまった! [#oee0968b
-- 「サイト管理」->「その他」->「実験用」で有効にする必要あり. +- php  (moodle path)/admin/cli/reset_password.php  でリセットできる.
-- xpdf とantiwordが必要.+
#br #br
-*** NWiki [#v9c78bd1+ 
-- エディタのサイズ +*** Failed to unserialise data from file. Either failed to read, or failed to write. [#a06b08f9
--- $WS->editor_size->editorcols; + 
--- $WS->editor_size->editorrows ++ Execute script purgecaches to reset the cache system. 
--- ただし,大元はDBの中.mdl_prefixwiki+++ php /moodle/admin/cli/purge_caches.php 
 ++ Remove all files and directories unde directory /moodledata/cache 
 + 
 +Information from [[https://coderwall.com/p/py-nba/moodle-easy-solution-to-failed-to-unserialise-data-from-file-either-failed-to-read-or-failed-to-​write]]
#br #br
 +
 +*** Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting. [#qbe61935]
 +- パーミッションが正しくとも,[[SELinux]] が有効だと起きる
 +#br
 +
 +*** PHP Parse error:  syntax error, unexpected '[' in /home/apache/moodle-3.1.0/lib/outputrend​erers.php on line 112 [#n85cd201]
 +- 画面が真っ白
 +- yum が勝手に PHP関連のライブラリを更新(バージョンダウン)しちゃったせい
 +- 使用している PHP の入れ直し.
 +#br
 +
 +*** 利用可能なアップデートデータを取得できません - 不明なURLエラーです。 [#i07d1823]
 +- see http://docs.moodle.org/24/en/SSL_certifi​cate_for_moodle.org
 +- http://curl.haxx.se/ca/cacert.pem から cacert.pem をダウンロードし,moodledata/moodleorgca.crt として保存する.
 +#br
 +
 +*** 2.6.3 [#u46e2536]
 +- 小テストの統計の各設問表示でPHPのエラー
 +- 2.6.2 では問題なし
 +- question/classes/statistics/responses/an​alysis_for_class.php
 +- $onlyactualresponse はクラスインスタンスなのに (string)$onlyactualresponse とか してる.おいおい.
 + --- analysis_for_class.php.orig 2014-05-15 15:31:31.938393184 +0900
 + +++ analysis_for_class.php      2014-05-15 15:32:04.524281160 +0900
 + @@ -107,7 +107,8 @@
 +             return true;
 +         } else if (count($this->actualresponses) == 1) {
 +             $onlyactualresponse = reset($this->actualresponses);
 + -            return (string)$onlyactualresponse != $this->modelresponse;
 + +            return !$onlyactualresponse->response_matches($​this->modelresponse);
 + +            //return (string)$onlyactualresponse != $this->modelresponse;
 +         }
 +         return false;
 +     }
 +#br
 +
 +** 設定 [#m732fc39]
 +*** 外部ブログ [#zc45180e]
 +- サイト管理 → アピアランス → ブログ
 +#br
 +** [[Programming>./Programming]]  [#c28d0661]
 +- http://docs.moodle.org/dev/Main_Page
 +- http://docs.moodle.org/dev/Plugins
 +
 +- [[Deprecate>./Deprecate]]
 +
 +- [[for 2.7>./Programming/2.7]]
 +- [[for 2.4>./Programming/2.4]]
 +- [[for 2.2>./Programming/2.2]]
 +- [[1.x→2.x>./Programming/1.x→2.x]]
 +- [[for 1.9>./Programming/1.9]]
 +
 +
 +
 +#br
 +
 +** Hacking [#x13ddd38]
 +- [[recyclebin>./recyclebin]]
 +- [[Upgrade>./Upgrade]]
 +
 +- [[ for 2.x>./Hacking/2.x]]
 +- [[ for 1.9>./Hacking/1.9]]
 +
 +#br
 +
 +** Memo [#l3b206f2]
 +- [[ for 2.x>./memo/2.x]]
 +- [[ for 1.9>./memo/1.9]]
 +
 +#br
 +
 +** Index [#je9eba5c]
 +#ls2


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

53 user(s) are online (9 user(s) are browsing xpwiki)

Members: 0
Guests: 53

more...

Access Counter

Today : 1100110011001100
Yesterday : 1016210162101621016210162
Total : 2342485923424859234248592342485923424859234248592342485923424859
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com