バージョン選択

フォーラム

メニュー

オンライン状況

45 人のユーザが現在オンラインです。 (39 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 45
もっと...

サイト内検索

プラグイン > バグ報告・利用に関する質問 > メインイメージ機能でエラーが出る

バグ報告・利用に関する質問

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
ZETA1
投稿日時: 2013/2/21 22:06
対応状況: −−−
半人前
登録日: 2013/2/1
居住地:
投稿: 15
Re: メインイメージ機能でエラーが出る
ご返答有難う御座います。

メインイメージ設定機能
http://www.ec-cube.net/products/detail.php?product_id=417

上記のプラグインです。

インストール後、メインイメージ設定画面を開くと
/admin/contents/plg_MainImage_main_image.php
Warning(E_WARNING): array_keys() expects parameter 1 to be array, null given on [/var/www/xxxxxx/data/downloads/plugin/MainImage/class/plg_MainImage_SC_UploadFile_Ex.php(252)] from xx.xxx.xxx.xx

/admin/contents/plg_MainImage_main_image.php
Warning(E_WARNING): array_keys() expects parameter 1 to be array, null given on [/var/www/xxxxxx/data/downloads/plugin/MainImage/class/plg_MainImage_SC_UploadFile_Ex.php(252)] from xx.xxx.xxx.xx

/admin/contents/plg_MainImage_main_image.php
Warning(E_WARNING): array_keys() expects parameter 1 to be array, null given on [/var/www/xxxxxx/data/downloads/plugin/MainImage/class/plg_MainImage_SC_UploadFile_Ex.php(252)] from xx.xxx.xxx.xx

/admin/contents/plg_MainImage_main_image.php
Warning(E_WARNING): array_keys() expects parameter 1 to be array, null given on [/var/www/xxxxxx/data/downloads/plugin/MainImage/class/plg_MainImage_SC_UploadFile_Ex.php(252)] from xx.xxx.xxx.xx

/admin/contents/plg_MainImage_main_image.php
Warning(E_WARNING): array_keys() expects parameter 1 to be array, null given on [/var/www/xxxxxx/data/downloads/plugin/MainImage/class/plg_MainImage_LC_Page_Admin_Contents_MainImage.php(137)] from xx.xxx.xxx.xx

/admin/contents/plg_MainImage_main_image.php
Warning(E_WARNING): max() [<a href='function.max'>function.max</a>]: When only one parameter is given, it must be an array on [/var/www/xxxxxx/data/downloads/plugin/MainImage/class/plg_MainImage_LC_Page_Admin_Contents_MainImage.php(140)] from xx.xxx.xxx.xx

上記のエラーログが記録され、

そのまま、画像をアップロードし
保存を行うと、システムエラーが発生しました。
大変お手数ですが、サイト管理者までご連絡ください。

と警告が出て、ID、パスワード入力画面に飛ばされる状態です。

再度、ログインし、記録されるログは、

/admin/contents/plg_MainImage_main_image.php
Warning(E_WARNING): array_keys() expects parameter 1 to be array, null given on [/var/www/xxxxxx/data/downloads/plugin/MainImage/class/plg_MainImage_SC_UploadFile_Ex.php(252)] from xx.xxx.xxx.xx

/admin/contents/plg_MainImage_main_image.php
Warning(E_WARNING): array_keys() expects parameter 1 to be array, null given on [/var/www/xxxxxx/data/downloads/plugin/MainImage/class/plg_MainImage_SC_UploadFile_Ex.php(252)] from xx.xxx.xxx.xx

/admin/contents/plg_MainImage_main_image.php
Fatal error(E_ERROR): Nesting level too deep - recursive dependency? on [/var/www/xxxxxx/data/class/SC_Query.php(991)] from xx.xxx.xxx.xx
login_id = xxxxxxx(0)[xxxxxxxxxxxxxxxxxxxxxxxxx]

となっています。(一部、xxxxで伏せさせて頂いております。)

画像の読み込み、書き込みの部分の処理かな?と思うのですが・・・

plg_MainImage_SC_UploadFile_Ex.phpのエラーが出ている部分は

/**
* save_file[$keyname_key]とtemp_file[$keyname_key]に含まれる全ての添字を重複なくソートして取得
*
* @param int $keyname_key 添字(数字)
* @return array save_file[$keyname_key]とtemp_file[$keyname_key]に含まれる全ての添字
**/
function getAllFileKeys($keyname_key){
252行→ $arrRet = array_unique(plg_MainImage_SC_Utils_Ex::sfMerge(array_keys($this->temp_file[$keyname_key]),array_keys($this->save_file[$keyname_key])));
asort($arrRet);
return $arrRet;
}

その時の$keyname_keyの値は、0でした。



フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   メインイメージ機能でエラーが出る ZETA1 2013/2/21 14:32
     Re: メインイメージ機能でエラーが出る shutta 2013/2/21 19:41
     » Re: メインイメージ機能でエラーが出る ZETA1 2013/2/21 22:06
         Re: メインイメージ機能でエラーが出る DELIGHT 2013/2/22 10:37
         Re: メインイメージ機能でエラーが出る DELIGHT 2013/2/25 13:13
           Re: メインイメージ機能でエラーが出る ZETA1 2013/2/27 18:20
             Re: メインイメージ機能でエラーが出る ZETA1 2013/3/7 11:41

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は89,292名です
総投稿数は110,076件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1652
8
red
1570
9
mcontact
1302
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.