メイン Amaxoop2 UTF−8対応版について |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
hfujii | 投稿日時: 2008-4-7 13:29 |
新米 登録日: 2007-10-10 居住地: 投稿: 15 |
UTF−8対応版について 素早い対応、ありがとうございます。
インストールは無事に終了しました。 インストール時に、PHPのNoticeは出なかったのですが、 ホームページでは、次のような表示が出ます。 デバグをオフにすれば気にはならないのですが。 Notice [PHP]: Only variables should be assigned by reference in file /Library/WebServer/Documents/xoops_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 176 Notice [PHP]: Undefined variable: xoopsConfig in file modules/amaxoop2/include/parameters.php line 41 Notice [PHP]: Undefined variable: amaxoop2AdultCheckUTF in file modules/amaxoop2/language/japanese/param_names.php line 124 Notice [PHP]: Undefined variable: amaxoop2AdultFormatUTF in file modules/amaxoop2/language/japanese/param_names.php line 134 |
taquino | 投稿日時: 2008-4-7 19:02 |
管理人 登録日: 2004-10-22 居住地: 湘南 投稿: 1543 |
Re: UTF−8対応版について hfujiiさん、早速の試用&レポートありがとうございます。
Amaxoop2の場合、ブロックからもモジュール本体からもparameters.phpを読み出す関係上、順番的にエラーを起こしてしまうのですが、対策が足りていませんでした。 単純に言ってしまえば、エラー回避方法に関する私の想定ミスです。 対策版を準備しますが、当面はデバグ表示オフで凌いで頂けますか。 当エラーで発生する不具合としては、アダルト商品の判別ができない、というものになります。 #Amaxoop2ではアダルト商品を表示しないようにしています。 #このチェックを3通りで行っているうち、2通りが機能せず、甘くなる可能性があるという意味です。 #Amazonが正しいデータを返していれば、問題は発生しませんが...。 なお、今回記載していただいたエラーのうち、最初のものはxanhteで発生しているものです。 このエラーは実際には不都合を生じないはずです。 |
hfujii | 投稿日時: 2008-4-8 14:54 |
新米 登録日: 2007-10-10 居住地: 投稿: 15 |
Re: UTF−8対応版について 登録するのは基本的に私だけ。
しかも、アダルト関連を掲載する予定はまったくありませんから、 このエラーは、私に関しては全く問題になりません。 xanhteに関するエラーは、amaxoop2をインストールする以前には表示されていなかったので、amxoop2の何かと干渉しあっているのかもしれません。 UTF-8非対応版をインストールしたときも、xanhteのエラーが出ていましたから。 |
hfujii | 投稿日時: 2008-4-8 17:51 |
新米 登録日: 2007-10-10 居住地: 投稿: 15 |
コメント クリック 評価等の欄 新着アイテムをクリックしたときに、アイテムの下に表示される、
コメント クリック 評価 10点満点 商品情報表示 大きな画像を見る 編集 新規投稿 というところが、文字化けしています。 これは、文字エンコーディングをEUC-JPほかいろいろ変えてみても、文字化けしたままでした。 |
hfujii | 投稿日時: 2008-4-9 17:35 |
新米 登録日: 2007-10-10 居住地: 投稿: 15 |
Re: UTF−8対応版について moduleのバッティングなのか、amaxoop2をインストールした後に、d3blogやd3pipeをインストールすると、次のエラーが出ます。
Warning [PHP]: Cannot modify header information - headers already sent by (output started at /Users/person/Sites/modules/amaxoop2/language/ja_utf8/modinfo.php:1) in file modules/legacyRender/kernel/Legacy_RenderTarget.class.php line 25 Warning [PHP]: Cannot modify header information - headers already sent by (output started at /Users/person/Sites/modules/amaxoop2/language/ja_utf8/modinfo.php:1) in file modules/legacyRender/kernel/Legacy_RenderTarget.class.php line 26 Warning [PHP]: Cannot modify header information - headers already sent by (output started at /Users/person/Sites/modules/amaxoop2/language/ja_utf8/modinfo.php:1) in file modules/legacyRender/kernel/Legacy_RenderTarget.class.php line 27 Warning [PHP]: Cannot modify header information - headers already sent by (output started at /Users/person/Sites/modules/amaxoop2/language/ja_utf8/modinfo.php:1) in file modules/legacyRender/kernel/Legacy_RenderTarget.class.php line 28 Warning [PHP]: Cannot modify header information - headers already sent by (output started at /Users/person/Sites/modules/amaxoop2/language/ja_utf8/modinfo.php:1) in file modules/legacyRender/kernel/Legacy_RenderTarget.class.php line 29 Warning [PHP]: Cannot modify header information - headers already sent by (output started at /Users/person/Sites/modules/amaxoop2/language/ja_utf8/modinfo.php:1) in file modules/legacyRender/kernel/Legacy_RenderTarget.class.php line 30 |
taquino | 投稿日時: 2008-4-9 19:11 |
管理人 登録日: 2004-10-22 居住地: 湘南 投稿: 1543 |
Re: コメント クリック 評価等の欄 すみません、またしても下手こいてました。
Amaxoop2では、テンプレートに日本語文字列を直接埋め込んでいました。 templates下のファイル群もUTF-8に変換する必要がありました。 本来、言語依存の部分はlanguage下で対応するのがXOOPSのルールです。 それを知りながら、かなりのボリュームがあるため、「日本でしか使わないから」とEUC-JP決め打ちでテンプレートを作っていました。 templates下のファイルをUTF-8に変換し、モジュールアップデートを行えば直るものですが... すみません。できるだけ早急に対策を検討します。 |
taquino | 投稿日時: 2008-4-9 19:22 |
管理人 登録日: 2004-10-22 居住地: 湘南 投稿: 1543 |
Re: UTF−8対応版について うーん、modinfo.phpは何も出力していないので、このエラーが起きることは想定外なんですが...。
もしかしたら、/modules/amaxoop2/language/ja_utf8/modinfo.php の最初か最後に不要な空白や改行が入っているのかもしれません。 お手数ですが、modinfo.phpファイル転送をもう一度やってみて頂けますでしょうか。 |
taquino | 投稿日時: 2008-4-9 21:34 |
管理人 登録日: 2004-10-22 居住地: 湘南 投稿: 1543 |
Re: コメント クリック 評価等の欄 テンプレートファイルに関しては、UTF-8版を同梱する形での対応と致しました。
最新版をダウンロード後、以下の手順でアップロードし、モジュールのバージョンアップを行ってください。 1)templatesフォルダを削除 2)templates_utfフォルダをtemplatesにリネーム 3)アップロード 要は、templates_utfをtemplatesとしてアップロードすることになります。 宜しくお願いいたします。 |
hfujii | 投稿日時: 2008-4-10 19:21 |
新米 登録日: 2007-10-10 居住地: 投稿: 15 |
Re: コメント クリック 評価等の欄 とりあえず、文字化け等は解消しました。
amaxoop2と関係あるかどうかわかりませんが、 D3blogに記事やamaxoop2の商品登録直後、しばしばホワイト・アウトするようになってしまいましたが。 |
hfujii | 投稿日時: 2008-4-10 20:17 |
新米 登録日: 2007-10-10 居住地: 投稿: 15 |
Re: コメント クリック 評価等の欄 ちなみに上記の手順でやって、PHPデバグをONにすると、
次のような表示が出ます。 Notice [PHP]: Only variables should be assigned by reference in file /Library/WebServer/Documents/xoops_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 176 Notice [PHP]: Undefined variable: xoopsConfig in file modules/amaxoop2/include/parameters.php line 41 Notice [PHP]: Undefined variable: amaxoop2AdultCheckUTF in file modules/amaxoop2/language/japanese/param_names.php line 124 Notice [PHP]: Undefined variable: amaxoop2AdultFormatUTF in file modules/amaxoop2/language/japanese/param_names.php line 134 |
(1) 2 » |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |