ログイン
ユーザ名

パスワード



パスワード紛失

新規登録
参照元情報
参照なし

このフォーラムではゲスト投稿が禁止されています

このフォーラムに新しいトピックを立てることはできません

Action
list-tree ツリー構造順で表示 sort-down 投稿の新しいものから previous 前のトピック next 次のトピック

質問 medialinksについて

はじめまして、matsubaraと申します。
medialinksをインストールして、設置したのですが、コンテンツの新規作成をしようとすると、画面下に、下記のNoticeとWarningが出てしまいました。
NoticeとWarningが出ないようにするためには、どのようにしたらよろしいのでしょうか。

Notice [PHP]: Constant _CAL_SUNDAY already defined in file language/japanese/calendar.php line 4
Notice [PHP]: Constant _CAL_MONDAY already defined in file language/japanese/calendar.php line 5
Notice [PHP]: Constant _CAL_TUESDAY already defined in file language/japanese/calendar.php line 6
Notice [PHP]: Constant _CAL_WEDNESDAY already defined in file language/japanese/calendar.php line 7
Notice [PHP]: Constant _CAL_THURSDAY already defined in file language/japanese/calendar.php line 8
Notice [PHP]: Constant _CAL_FRIDAY already defined in file language/japanese/calendar.php line 9
Notice [PHP]: Constant _CAL_SATURDAY already defined in file language/japanese/calendar.php line 10
Notice [PHP]: Constant _CAL_JANUARY already defined in file language/japanese/calendar.php line 11
Notice [PHP]: Constant _CAL_FEBRUARY already defined in file language/japanese/calendar.php line 12
Notice [PHP]: Constant _CAL_MARCH already defined in file language/japanese/calendar.php line 13
Notice [PHP]: Constant _CAL_APRIL already defined in file language/japanese/calendar.php line 14
Notice [PHP]: Constant _CAL_MAY already defined in file language/japanese/calendar.php line 15
Notice [PHP]: Constant _CAL_JUNE already defined in file language/japanese/calendar.php line 16
Notice [PHP]: Constant _CAL_JULY already defined in file language/japanese/calendar.php line 17
Notice [PHP]: Constant _CAL_AUGUST already defined in file language/japanese/calendar.php line 18
Notice [PHP]: Constant _CAL_SEPTEMBER already defined in file language/japanese/calendar.php line 19
Notice [PHP]: Constant _CAL_OCTOBER already defined in file language/japanese/calendar.php line 20
Notice [PHP]: Constant _CAL_NOVEMBER already defined in file language/japanese/calendar.php line 21
Notice [PHP]: Constant _CAL_DECEMBER already defined in file language/japanese/calendar.php line 22
Notice [PHP]: Constant _CAL_TGL1STD already defined in file language/japanese/calendar.php line 23
Notice [PHP]: Constant _CAL_PREVYR already defined in file language/japanese/calendar.php line 24
Notice [PHP]: Constant _CAL_PREVMNTH already defined in file language/japanese/calendar.php line 25
Notice [PHP]: Constant _CAL_GOTODAY already defined in file language/japanese/calendar.php line 26
Notice [PHP]: Constant _CAL_NXTMNTH already defined in file language/japanese/calendar.php line 27
Notice [PHP]: Constant _CAL_NEXTYR already defined in file language/japanese/calendar.php line 28
Notice [PHP]: Constant _CAL_SELDATE already defined in file language/japanese/calendar.php line 29
Notice [PHP]: Constant _CAL_DRAGMOVE already defined in file language/japanese/calendar.php line 30
Notice [PHP]: Constant _CAL_TODAY already defined in file language/japanese/calendar.php line 31
Notice [PHP]: Constant _CAL_DISPM1ST already defined in file language/japanese/calendar.php line 32
Notice [PHP]: Constant _CAL_DISPS1ST already defined in file language/japanese/calendar.php line 33
Warning [PHP]: Invalid argument supplied for foreach() in file modules/medialinks/entry.php line 109

こちらの環境は、以下の通りです。

環境チェック
OS: Linux nencho-m.com 2.6.18-028stab059.6 #1 SMP Fri Nov 14 14:01:22 MSK 2008 x86_64
PHP: 5.1.6
MySQL: 5.0.77
XOOPS: XOOPS Cube Legacy 2.1.6

MySQL 設定
character_set_client: ujis
character_set_connection: ujis
character_set_database: ujis
character_set_filesystem: binary
character_set_results: ujis
character_set_server: latin1
character_set_system: utf8

PHP設定
register_globals: off ( 推奨 off )
allow_url_fopen: on ( 推奨 off )
file_uploads: on ( 要on )
upload_max_filesize: 2M
post_max_size: 8M
upload_tmp_dir :
error_reporting: 2047
display_errors: 0
memory_limit: 128
magic_quotes_gpc: 0
safe_mode: 0
open_basedir:
exif extention: loaded

マルチバイト 設定
multibyte function priority: iconv

mbstring.language: Japanese
mbstring.detect_order: ASCII JIS UTF-8 EUC-JP SJIS
mbstring.http_input: pass
mbstring.http_output: pass
mbstring.internal_encoding: EUC-JP
mbstring.script_encoding:
mbstring.substitute_character: none
mbstring.func_overload: 0
mbstring.encoding_translation: 0
mbstring.strict_encoding: 0

iconv.input_encoding: EUC-JP
iconv.output_encoding: EUC-JP
iconv.internal_encoding: EUC-JP

お手数ですがよろしくお願いいたします。


なし Re: medialinksについて

medialinks/entry.php の 8行目を削除すれば回避できそうですが。
(次の行)
include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/calendar.php';

何が calendar.php を読み込んでるんだろ?
(medialinks の側は include_once なんでそっちを直すべきのような気もする)
--
安冨 伸浩 (マイサイト管理人)

list-tree ツリー構造順で表示 sort-down 投稿の新しいものから previous 前のトピック next 次のトピック



条件検索へ
© 2008 MySite Web Service