退院前にナニやってんだ自分?
とセルフツッコミ入れつつ、PC 片付ける前に Cubson 実行。
* * *
さっそく一個作ってみようとガイドに沿って作業。
cubson > make characterlist
Could not find file ‘{xoops_root_path}modulescharacterlistlanguageenglishmodinfo.php’.
Could not find file ‘{xoops_root_path}modulescharacterlistlanguagejapanesemodinfo.php’.
Save ‘modinfo.php’ to: {xoops_root_path}/modules/characterlist/language/english/
Save ‘modinfo.php’ to: {xoops_root_path}/modules/characterlist/language/japanese/
Save ‘modinfo.php’ to: {xoops_root_path}/modules/characterlist/language/english/
Save ‘modinfo.php’ to: {xoops_root_path}/modules/characterlist/language/japanese/
Create directory:{xoops_root_path}/modules/characterlist
Save ‘index.php’ to: {xoops_root_path}/modules/characterlist/
Create directory:.xml
Create directory:.xml/data
Create directory:actions
Create directory:blocks
Create directory:forms
Create directory:templates
Create directory:tenplates/blocks
Create directory:sql
Create directory:preload
Save ‘AssetPreload.class.php’ to: {xoops_root_path}/modules/characterlist/preload
Create directory:language
Create directory:language/english
Create directory:language/english/help
Create directory:language/japanese
Save ‘main.php’ to: {xoops_root_path}/modules/characterlist/language/english/
Save ‘main.php’ to: {xoops_root_path}/modules/characterlist/language/japanese/
Save ‘xoops_version.php’ to: {xoops_root_path}/modules/characterlist/
Create directory:images
Create directory:class
Create directory:class/handler
Save ‘Module.class.php’ to: {xoops_root_path}/modules/characterlist/class
Save ‘AbstractAction.class.php’ to: {xoops_root_path}/modules/characterlist//class
Save ‘AbstractListAction.class.php’ to: {xoops_root_path}/modules/characterlist/class
Save ‘AbstractEditAction.class.php’ to: {xoops_root_path}/modules/characterlist/class
Save ‘AbstractDeleteAction.class.php’ to: {xoops_root_path}/modules/characterlist/class
Save ‘AbstractViewAction.class.php’ to: {xoops_root_path}/modules/characterlist/class
Save ‘AbstractFilterForm.class.php’ to: {xoops_root_path}/modules/characterlist/class
Save ‘AbstractManager.class.php’ to: {xoops_root_path}/modules/characterlist/class
Create directory:admin
Save ‘index.php’ to: {xoops_root_path}/modules/characterlist/admin
Save ‘menu.php’ to: {xoops_root_path}/modules/characterlist/admin
Create drectory:admin/.xml
Create drectory:admin/actions
Create drectory:admin/class
Create drectory:admin/forms
Create drectory:admin/templates
Create drectory:admin/preload
Generating has been completed successfully.
cubson >
ひとつだけ //class になってるのは、いいんだろうか?
まあいいか。続けてみよう。
次は phpmyAdmin でテーブル作って、と。
命名法則が……これで大丈夫かな?
んじゃ、cubson で wizard を……
cubson > wiazrd midian
Could not find file ‘{xoops_root_path}modulescharacterlist.xmlmidian_edit.xml’.
Could not load file ‘{xoops_root_path}/modules/characterlist/.xml/midian_edit.xml’.
Could not find file ‘{xoops_root_path}modulescharacterlist.xmlmidian_delete.xml’.
Could not load file ‘{xoops_root_path}/modules/characterlist/.xml/midian_delete.xml’.
cubson >
……はて?
/.xml に midian_edit.xml が無い。読めない。
そりゃ無きゃ読めんわな。
そもそも {テーブル名}_edit.xml っていつ作成されるんだろ?
テーブルは phpmyAdmin で作っただけだからなァ。
うーん?
……まあいいか。とりあえず空のファイルでも作ってみよう。
よいしょ。
どうだ?
cubson > wizard midian
XML File is wrong.
ERROR line:0 column:0
XML File is wrong.
ERROR line:0 column:0
cubson >
ダメでした…orz
うーん?
バージョンアップして処理変わってたんですかね?
……とかやってたら時間になったので、一旦 PC を閉じる。
さー挨拶回り(別名:謝罪行脚)だ胃が痛む(精神的に)