XOOPS関連掲示板
トップ » XOOPS関連掲示板
エラーの解決方法 -
Yoppy
さん
Xwordを見つけて、是非使用したいと考えております。
が、モジュールインストール後にエラーが発生してしまいます。
トップページから、アクセス使用とすると下記のようなエラーとなります。
Fatal error: Call to a member function preConvertXCode() on a non-object in /virtual/yoppi/public_html/www.*****.com/com/html/class/module.textsanitizer.php on line 376
Notice [PHP]: Undefined index: 1 in file modules/xwords/include/functions.php line 36
Notice [PHP]: Undefined index: 1 in file modules/xwords/include/functions.php line 38
また、カテゴリーの登録をすると、下記のエラーが発生して、カテゴリが登録することが出来ません。
Fatal error: Call to a member function toShow() on a non-object in /virtual/yoppi/public_html/www.*******.com/com/html/class/module.textsanitizer.php on line 257
エラーを見ると、”module.textsanitizer.php”が問題のようなのですが、"on line ***"の部分は問題なさそうです。
もし、分かる方がいれば解決方法を教えてください。
宜しくお願い致します。
が、モジュールインストール後にエラーが発生してしまいます。
トップページから、アクセス使用とすると下記のようなエラーとなります。
Fatal error: Call to a member function preConvertXCode() on a non-object in /virtual/yoppi/public_html/www.*****.com/com/html/class/module.textsanitizer.php on line 376
Notice [PHP]: Undefined index: 1 in file modules/xwords/include/functions.php line 36
Notice [PHP]: Undefined index: 1 in file modules/xwords/include/functions.php line 38
また、カテゴリーの登録をすると、下記のエラーが発生して、カテゴリが登録することが出来ません。
Fatal error: Call to a member function toShow() on a non-object in /virtual/yoppi/public_html/www.*******.com/com/html/class/module.textsanitizer.php on line 257
エラーを見ると、”module.textsanitizer.php”が問題のようなのですが、"on line ***"の部分は問題なさそうです。
もし、分かる方がいれば解決方法を教えてください。
宜しくお願い致します。
2008/08/19(火) 18:48 No.415
Re: エラーの解決方法 -
24
さん
私も同様のエラーが出て困ってます。
Yoppy さんの二年前の書き込み以来返信が無いという事は
解決方法が無いのでしょうから
このモジュールを諦めるしかなさそうですね。。
残念…
Yoppy さんの二年前の書き込み以来返信が無いという事は
解決方法が無いのでしょうから
このモジュールを諦めるしかなさそうですね。。
残念…
2010/09/24(金) 14:28 No.549
Re[2]: エラーの解決方法 -
通りすがり
さん
XOOPS Cubeならこの現象でしょうか?
Cubeで同じエラーが出ましたが、下記ページを参考に解決できました。
http://f29.aaa.livedoor.jp/~snaka/PukiWiki/PukiWiki.php?XOOPS%2FXWords%A4%F2XoopsCube%A4%C7%C6%B0%A4%AB%A4%B9
Cubeで同じエラーが出ましたが、下記ページを参考に解決できました。
http://f29.aaa.livedoor.jp/~snaka/PukiWiki/PukiWiki.php?XOOPS%2FXWords%A4%F2XoopsCube%A4%C7%C6%B0%A4%AB%A4%B9
2010/12/28(火) 13:15 No.550
イニシャルからの一覧が出ません -
taro
さん
はじめまして。イニシャルからの一覧が出ません。
環境:
XOOPS Cube Legacy 2.1.3
php-5.2.0-8+etch9
MySQL-5.0.32
*うさぎの辞典<x-words>モジュールについて
*XWordsをXoops Cubeで動かす
上記サイトをみて、class/xwords.textsanitizer.phpにparent::MyTextSanitizer();
を追加したりしたのですが、イニシャルからの一覧が出ません。(下記がエラー内容)
どこをいじったら良いのか分かりません。ご享受願います。
Notice [PHP]: Undefined index: 2 in file modules/xwords/include/functions.php line 36
Notice [PHP]: Undefined index: 2 in file modules/xwords/include/functions.php line 38
Warning [PHP]: preg_match_all() [function.preg-match-all]: Compilation failed: nothing to repeat at offset 0 in file modules/xwords/class/xwords.textsanitizer.php line 310
Notice [PHP]: Undefined offset: 1 in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: array_merge() [function.array-merge]: Argument #2 is not an array in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: array_unique() [function.array-unique]: The argument should be an array in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: sort() expects parameter 1 to be array, boolean given in file modules/xwords/class/xwords.textsanitizer.php line 313
Warning [PHP]: reset() [function.reset]: Passed variable is not an array or object in file modules/xwords/class/xwords.textsanitizer.php line 314
Warning [PHP]: preg_match_all() [function.preg-match-all]: Compilation failed: nothing to repeat at offset 0 in file modules/xwords/class/xwords.textsanitizer.php line 310
Notice [PHP]: Undefined offset: 1 in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: array_merge() [function.array-merge]: Argument #2 is not an array in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: array_unique() [function.array-unique]: The argument should be an array in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: sort() expects parameter 1 to be array, boolean given in file modules/xwords/class/xwords.textsanitizer.php line 313
Warning [PHP]: reset() [function.reset]: Passed variable is not an array or object in file modules/xwords/class/xwords.textsanitizer.php line 314
環境:
XOOPS Cube Legacy 2.1.3
php-5.2.0-8+etch9
MySQL-5.0.32
*うさぎの辞典<x-words>モジュールについて
*XWordsをXoops Cubeで動かす
上記サイトをみて、class/xwords.textsanitizer.phpにparent::MyTextSanitizer();
を追加したりしたのですが、イニシャルからの一覧が出ません。(下記がエラー内容)
どこをいじったら良いのか分かりません。ご享受願います。
Notice [PHP]: Undefined index: 2 in file modules/xwords/include/functions.php line 36
Notice [PHP]: Undefined index: 2 in file modules/xwords/include/functions.php line 38
Warning [PHP]: preg_match_all() [function.preg-match-all]: Compilation failed: nothing to repeat at offset 0 in file modules/xwords/class/xwords.textsanitizer.php line 310
Notice [PHP]: Undefined offset: 1 in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: array_merge() [function.array-merge]: Argument #2 is not an array in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: array_unique() [function.array-unique]: The argument should be an array in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: sort() expects parameter 1 to be array, boolean given in file modules/xwords/class/xwords.textsanitizer.php line 313
Warning [PHP]: reset() [function.reset]: Passed variable is not an array or object in file modules/xwords/class/xwords.textsanitizer.php line 314
Warning [PHP]: preg_match_all() [function.preg-match-all]: Compilation failed: nothing to repeat at offset 0 in file modules/xwords/class/xwords.textsanitizer.php line 310
Notice [PHP]: Undefined offset: 1 in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: array_merge() [function.array-merge]: Argument #2 is not an array in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: array_unique() [function.array-unique]: The argument should be an array in file modules/xwords/class/xwords.textsanitizer.php line 312
Warning [PHP]: sort() expects parameter 1 to be array, boolean given in file modules/xwords/class/xwords.textsanitizer.php line 313
Warning [PHP]: reset() [function.reset]: Passed variable is not an array or object in file modules/xwords/class/xwords.textsanitizer.php line 314
2009/10/19(月) 00:26 No.548
検索対象と検索の種類を非表示にしたい -
のりお
さん
メンテナンスがしやすいxwordsを使用してお客様のシステムで用語集を導入しました。とても使いやすくみやすくて好評でした。
が、一点お客様からコメントがありました。
登録する単語がそんなに多くないので、検索の条件部で表示されている、『検索対象』と『検索の種類 』は表示しなくてもいいかも、と。
Template等を見てみても、どの部分を編集すればいいのかわかりませんでした。
ご教授いただければ幸いです。
宜しくお願いいたします。
が、一点お客様からコメントがありました。
登録する単語がそんなに多くないので、検索の条件部で表示されている、『検索対象』と『検索の種類 』は表示しなくてもいいかも、と。
Template等を見てみても、どの部分を編集すればいいのかわかりませんでした。
ご教授いただければ幸いです。
宜しくお願いいたします。
2009/07/08(水) 20:46 No.547
頭文字が -
イサム
さん
[HOME]
xwordsで、文化財の紹介や文献などに使わせてもらっています。大変助かっているのですが、
今回新たに設置したら、イニシャルからの一覧が出ません。、原因が判らないので、
どなたか判る方教えてください。
尚、サーバーはCORESERVERで現在稼動中の物と
同じです。現在稼働中のXOOPS Cube 2.0で
新たに構築したら、ダメでした。
今回新たに設置したら、イニシャルからの一覧が出ません。、原因が判らないので、
どなたか判る方教えてください。
尚、サーバーはCORESERVERで現在稼動中の物と
同じです。現在稼働中のXOOPS Cube 2.0で
新たに構築したら、ダメでした。
2009/05/19(火) 20:53 No.529
warningが出ます -
karasu777
さん
[]
[HOME]
はじめまして。
初心者です。
モジュールをffftpでアップロードすると、次のwarnigが表示されます。
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_MD_DESC in file modules/xwords/xoops_version.php line 20
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_SUB_SMNAME0 in file modules/xwords/xoops_version.php line 60
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_SUB_SMNAME1 in file modules/xwords/xoops_version.php line 63
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_SUB_SMNAME3 in file modules/xwords/xoops_version.php line 82
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_ENTRIESNEW in file modules/xwords/xoops_version.php line 104
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_ENTRIESTOP in file modules/xwords/xoops_version.php line 112
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_RANDOMTERM in file modules/xwords/xoops_version.php line 120
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_TERMINITIAL in file modules/xwords/xoops_version.php line 126
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_SPATTERNDEFAULT in file modules/xwords/xoops_version.php line 268
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_LINKTERMSDEFAULTTITLE in file modules/xwords/xoops_version.php line 284
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_READMEDEF in file modules/xwords/xoops_version.php line 316
そしてインストールしても同様のwarningが出て、動作しません。
どのようにしたら解決できるのかご存知の方がいらしたらお教えください。
PHPのバージョン ver.5.2.6
Hodajuku Distribution1.0 for XOOPS Cube Legacy2.1 (HD1.0 for XCL2.1)
MYSQL(バージョン4.0.24)
ロリポップ有料サーバーを使用しています。
初心者です。
モジュールをffftpでアップロードすると、次のwarnigが表示されます。
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_MD_DESC in file modules/xwords/xoops_version.php line 20
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_SUB_SMNAME0 in file modules/xwords/xoops_version.php line 60
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_SUB_SMNAME1 in file modules/xwords/xoops_version.php line 63
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_SUB_SMNAME3 in file modules/xwords/xoops_version.php line 82
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_ENTRIESNEW in file modules/xwords/xoops_version.php line 104
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_ENTRIESTOP in file modules/xwords/xoops_version.php line 112
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_RANDOMTERM in file modules/xwords/xoops_version.php line 120
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_TERMINITIAL in file modules/xwords/xoops_version.php line 126
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_SPATTERNDEFAULT in file modules/xwords/xoops_version.php line 268
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_LINKTERMSDEFAULTTITLE in file modules/xwords/xoops_version.php line 284
Warning [PHP]: constant() [function.constant]: Couldn't find constant _MI_XWORDS_READMEDEF in file modules/xwords/xoops_version.php line 316
そしてインストールしても同様のwarningが出て、動作しません。
どのようにしたら解決できるのかご存知の方がいらしたらお教えください。
PHPのバージョン ver.5.2.6
Hodajuku Distribution1.0 for XOOPS Cube Legacy2.1 (HD1.0 for XCL2.1)
MYSQL(バージョン4.0.24)
ロリポップ有料サーバーを使用しています。
2009/05/06(水) 08:01 No.524
Re: warningが出ます -
karasu777
さん
[]
[HOME]
原因が分かりました。
xwordのlanguageのフォルダにja_utf8のファイルがないからですね。
japaneseファイルをコピーし、テラパッドですべてのファイルを開いて、utf-8でエンコードしなおしたらうまく行きました。
お騒がせしました。
xwordのlanguageのフォルダにja_utf8のファイルがないからですね。
japaneseファイルをコピーし、テラパッドですべてのファイルを開いて、utf-8でエンコードしなおしたらうまく行きました。
お騒がせしました。
2009/05/07(木) 04:54 No.525
自動参照リンクに半角スペースが必要になってしまう理由 -
祥子
さん
自動参照リンクを使うとき、なぜか見出し語とカッコの間に半角スペースが必要になっていたのですが、理由が分かりました。
どうも「管理画面>一般設定」14. の解説文にある文字列の、セミコロン(,)の両サイドに半角スペースが入っているため、それをそのままコピペすると半角スペースが必要になってしまう、という現象のようです。
\xA1[\xAE\xC6\xC8\xCC\xCE\xD0\xD2\xD4\xD6\xD8\xDA] , \xA1[\xAD\xC7\xC9\xCD\xCF\xD1\xD3\xD5\xD7\xD9\xDB]
この文字列ですね。
これを、
\xA1[\xAE\xC6\xC8\xCC\xCE\xD0\xD2\xD4\xD6\xD8\xDA],\xA1[\xAD\xC7\xC9\xCD\xCF\xD1\xD3\xD5\xD7\xD9\xDB]
とすれば正常に機能するかと思います。
どうも「管理画面>一般設定」14. の解説文にある文字列の、セミコロン(,)の両サイドに半角スペースが入っているため、それをそのままコピペすると半角スペースが必要になってしまう、という現象のようです。
\xA1[\xAE\xC6\xC8\xCC\xCE\xD0\xD2\xD4\xD6\xD8\xDA] , \xA1[\xAD\xC7\xC9\xCD\xCF\xD1\xD3\xD5\xD7\xD9\xDB]
この文字列ですね。
これを、
\xA1[\xAE\xC6\xC8\xCC\xCE\xD0\xD2\xD4\xD6\xD8\xDA],\xA1[\xAD\xC7\xC9\xCD\xCF\xD1\xD3\xD5\xD7\xD9\xDB]
とすれば正常に機能するかと思います。
2009/02/02(月) 08:52 No.462
D3comment対応 -
なーお
さん
こんにちは!
いつも有りがたく使わせていただいております。
このたび、D3コメント対応でXwords-0.46に少々手を加えてソース公開させていただきましたので、事後で申し訳ありませんが、ご連絡させていただきます。
http://www.xugj.org/modules/d3forum/index.php?post_id=4648
私のような初級者が手を出すのはどうかとも思うのですが、色々な背景があって進めてしまいました。
どうぞご了解いただきますよう、お願いします。
いつも有りがたく使わせていただいております。
このたび、D3コメント対応でXwords-0.46に少々手を加えてソース公開させていただきましたので、事後で申し訳ありませんが、ご連絡させていただきます。
http://www.xugj.org/modules/d3forum/index.php?post_id=4648
私のような初級者が手を出すのはどうかとも思うのですが、色々な背景があって進めてしまいました。
どうぞご了解いただきますよう、お願いします。
2008/08/29(金) 00:43 No.419
誤植とおぼしき箇所について -
たいざん
さん
2つめのXOOPSサイトでもお世話になります。
1点、誤植とおぼしきご連絡です。
http://www.kanpyo.net/mydownloads+viewcat.cid+50.htm
----------------------------------------
2.次に、エディタなどで sql/mysql.sql を開き、テーブル名を変更します。
「CREATE TABLE `xwords_cat`」の部分と「CREATE TABLE `xwords_cat`」の部分を
「xwords」から変更したディレクトリ名に書きかえます。
----------------------------------------
■2つめの`xwords_cat` → `xwords_ent`
ご確認の程、よろしくお願いいたします。
今後ともよろしくお願いいたします。
1点、誤植とおぼしきご連絡です。
http://www.kanpyo.net/mydownloads+viewcat.cid+50.htm
----------------------------------------
2.次に、エディタなどで sql/mysql.sql を開き、テーブル名を変更します。
「CREATE TABLE `xwords_cat`」の部分と「CREATE TABLE `xwords_cat`」の部分を
「xwords」から変更したディレクトリ名に書きかえます。
----------------------------------------
■2つめの`xwords_cat` → `xwords_ent`
ご確認の程、よろしくお願いいたします。
今後ともよろしくお願いいたします。
2008/08/02(土) 09:47 No.411
xwordsで用語新規登録の際に分類名が登録されない -
Yoshiboh
さん
お世話になります。
xwordsを最近ダウンロードして使い始めました。ありがとうございます。
分類名を登録→エントリー登録を行ったのですが、エントリーで指定した分類名にカテゴライズされません。
SQLを見たところ、該当するエントリーのcategoryIDが"0"となっていました。
エントリー新規登録の際のcategoryID設定が"0"固定設定になっているということはありえるでしょうか?
HTMLテンプレート、ソースではselectタグではpostしているように見えます。
SQLを強制的にcategoryID->"1"とかにすればきちんとカテゴリ内のエントリーもカウントされています。
環境の影響なのか、モジュールの影響なのかわからないのです。
環境:
XOOPS Cube Legacy 2.1.2
php-4.4.7
MySQL-4.0.27
※Lacoocanサーバです。
xwordsを最近ダウンロードして使い始めました。ありがとうございます。
分類名を登録→エントリー登録を行ったのですが、エントリーで指定した分類名にカテゴライズされません。
SQLを見たところ、該当するエントリーのcategoryIDが"0"となっていました。
エントリー新規登録の際のcategoryID設定が"0"固定設定になっているということはありえるでしょうか?
HTMLテンプレート、ソースではselectタグではpostしているように見えます。
SQLを強制的にcategoryID->"1"とかにすればきちんとカテゴリ内のエントリーもカウントされています。
環境の影響なのか、モジュールの影響なのかわからないのです。
環境:
XOOPS Cube Legacy 2.1.2
php-4.4.7
MySQL-4.0.27
※Lacoocanサーバです。
2007/11/27(火) 22:33 No.382
Re: xwordsで用語新規登録の際に分類名が登録されない -
お世話になりっぱなしです。
さん
Xwords様々の一人でございます。
Cubeでの分類名が登録されない現象。
本当に正しいのかどうか確信はないのですが、
/modules/xwords/admin/entry.php
130行目あたり
$sform -> addElement( new XoopsFormHidden( 'categoryID', intval($categoryID) ) );
をコメントアウトしたら、問題なく動くようになりました。
ご参考までに。
Cubeでの分類名が登録されない現象。
本当に正しいのかどうか確信はないのですが、
/modules/xwords/admin/entry.php
130行目あたり
$sform -> addElement( new XoopsFormHidden( 'categoryID', intval($categoryID) ) );
をコメントアウトしたら、問題なく動くようになりました。
ご参考までに。
2008/07/04(金) 01:05 No.407
Re[2]: xwordsで用語新規登録の際に分類名が登録されない -
snaka
さん
[HOME]
う〜ん。
どうも、一般ユーザ用の登録画面から用語を追加すると問題無いですが、管理者用画面から登録すると、分類が入らないですね。
どうも、一般ユーザ用の登録画面から用語を追加すると問題無いですが、管理者用画面から登録すると、分類が入らないですね。
2008/07/05(土) 07:16 No.408
頭文字が機能していない。 -
zooo
さん
こんにちは。皆様のお力を貸してください。
頭文字(イニシャル)別 からの検索結果の反映がされません。
あ行〜わ・ん のそれぞれの頭文字にマウスを置くとちゃんと[8]とかその頭文字で始まる単語の数を表示するのですが、実際クリックすると『この頭文字で始まるものはありません』と表示されてしまいます。『すべて』や『漢字』『カタカナ』 をクリックするとちゃんと表示されます。
何かの設定なのでしょうか?よろしくお願いします。
頭文字(イニシャル)別 からの検索結果の反映がされません。
あ行〜わ・ん のそれぞれの頭文字にマウスを置くとちゃんと[8]とかその頭文字で始まる単語の数を表示するのですが、実際クリックすると『この頭文字で始まるものはありません』と表示されてしまいます。『すべて』や『漢字』『カタカナ』 をクリックするとちゃんと表示されます。
何かの設定なのでしょうか?よろしくお願いします。
2008/03/28(金) 13:50 No.400
