バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > フロント機能 > 404 /function () { return "[" + this.map(Object.inspect).join(", ") + "]";}

フロント機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
ゲスト
投稿日時: 2008/6/10 11:01
対応状況: −−−
404 /function () { return "[" + this.map(Object.inspect).join(", ") + "]";}

画面は正常に表示されるのですが、構成ファイル一覧を見ると
以下のようなファイルが20〜30見つかりませんと表示されます。


URL /function () { return "[" + this.map(Object.inspect).join(", ") + "]";} was not found on this server.

これはどういった状況なのでしょうか、また、回避方法などございましたらおしえてください。

よろしくお願いします。

EC-CUBE2.12
PHP 5.2.6
MySQL 4.1.21
サーバーはJoe's
最近サーバー提供の無料アップデートをしました
seasoft
投稿日時: 2008/6/10 12:16
対応状況: −−−
登録日: 2008/6/4
居住地:
投稿: 7367
Re: 404 /function () { return "[" + this.map(Object.inspect).join(", ") + "]";}
「構成ファイル一覧」とは、何のことですか?


----------------
Seasoft
こちらでの投稿は、アイディア程度に留めさせていただいております。
個別案件の作業は有償で承っております。お気軽にご相談ください。

ゲスト
投稿日時: 2008/6/11 14:03
対応状況: −−−
Re: 404 /function () { return "[" + this.map(Object.inspect).join(", ") + "]";}
返信ありがとうございます!

構成ファイル一覧とはブラウザSafariで表示できるウィンドウなんですが、開いているページの全ファイルを一覧してみる事ができます。
そこに上記のようなファイルが表示されています。
seasoft
投稿日時: 2008/6/11 21:50
対応状況: −−−
登録日: 2008/6/4
居住地:
投稿: 7367
Re: 404 /function () { return "[" + this.map(Object.inspect).join(", ") + "]";}
なるほど。

とりあえず、PHPがエラーを吐きまくっている感じですね。

safari でその画面でソースを見れば何か分かりそうな気がします。


----------------
Seasoft
こちらでの投稿は、アイディア程度に留めさせていただいております。
個別案件の作業は有償で承っております。お気軽にご相談ください。

ゲスト
投稿日時: 2008/6/15 22:16
対応状況: −−−
Re: 404 /function () { return "[" + this.map(Object.inspect).join(", ") + "]";}
返信ありがとうございます!

表示されているものを貼付けてみましたが、なにかお分かりになりますでしょうか...?

URL/function%20()%20{%20%20return%20%22[%22%20+%20this.map(Object.inspect).join(%22,%20%22)%20+%20%22]%22;}
URL/function%20()%20{%20%20return%20[].concat(this);}
URL/function%20()%20{%20%20return%20this.inject([],%20function%20(array,%20value)%20%20{%20%20%20%20return%20array.concat(value%20&&%20value.constructor%20==%20Array%20?%20value.flatten()%20:%20[value]);%20%20});}
URL/function%20()%20{%20%20return%20this.length%20%3E%201%20?%20this%20:%20this[0];}
URL/function%20()%20{%20%20return%20this.length;}
URL/function%20()%20{%20%20return%20this.map();}
URL/function%20()%20{%20%20return%20this.select(function%20(value)%20%20{%20%20%20%20return%20value%20!=%20null;%20%20});}
URL/function%20()%20{%20%20return%20this[0];}
URL/function%20()%20{%20%20return%20this[this.length%20-%201];}
URL/function%20()%20{%20%20this.length%20=%200;%20%20return%20this;}
URL/function%20()%20{%20%20var%20args%20=%20arguments;%20%20this.each(function%20(f)%20%20{%20%20%20%20f.apply(this,%20args);%20%20});}
URL/function%20()%20{%20%20var%20iterator%20=%20Prototype.K,%20args%20=%20$A(arguments);%20%20if%20(typeof%20args.last()%20==%20%22function%22)%20%20%20%20iterator%20=%20args.pop();%20%20var%20collections%20=%20[this].concat(args).map($A);%20%20return%20this.map(function%20(value,%20index)%20%20{%20%20%20%20return%20iterator(collections.pluck(index));%20%20});}
URL/function%20()%20{%20%20var%20results%20=%20[];%20%20this.each(function%20(object)%20%20{%20%20%20%20var%20value%20=%20Object.toJSON(object);%20%20%20%20if%20(value%20!==%20undefined)%20%20%20%20%20%20results.push(value);%20%20});%20%20return%20%22[%22%20+%20results.join(%22,%20%22)%20+%20%22]%22;}
URL/function%20()%20{%20%20var%20values%20=%20$A(arguments);%20%20return%20this.select(function%20(value)%20%20{%20%20%20%20return%20!values.include(value);%20%20});}
URL/function%20(iterator)%20{%20%20for%20(var%20i%20=%200,%20length%20=%20this.length;%20i%20%3C%20length;%20++i)%20%20%20%20iterator(this[i]);}
URL/function%20(iterator)%20{%20%20return%20this.map(function%20(value,%20index)%20%20{%20%20%20%20return%20{%20%22value%22:%20value,%20%22criteria%22:%20iterator(value,%20index)%20};%20%20}).sort(function%20(left,%20right)%20%20{%20%20%20%20var%20a%20=%20left.criteria,%20b%20=%20right.criteria;%20%20%20%20return%20a%20%3C%20b%20?%20-1%20:%20a%20%3E%20b%20?%201%20:%200;%20%20}).pluck(%22value%22);}
URL/function%20(iterator)%20{%20%20var%20index%20=%200;%20%20try%20%20%20{%20%20%20%20this._each(function%20(value)%20%20%20%20{%20%20%20%20%20%20iterator(value,%20index++);%20%20%20%20});%20%20}%20%20catch%20(e)%20%20{%20%20%20%20if%20(e%20!=%20$break)%20%20%20%20%20%20throw%20e;%20%20}%20%20return%20this;}
URL/function%20(iterator)%20{%20%20var%20result%20=%20false;%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20if%20(result%20=%20!!(iterator%20||%20Prototype.K)(value,%20index))%20%20%20%20%20%20throw%20$break;%20%20});%20%20return%20result;}
URL/function%20(iterator)%20{%20%20var%20result%20=%20true;%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20result%20=%20result%20&&%20!!(iterator%20||%20Prototype.K)(value,%20index);%20%20%20%20if%20(!result)%20%20%20%20%20%20throw%20$break;%20%20});%20%20return%20result;}
URL/function%20(iterator)%20{%20%20var%20result;%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20if%20(iterator(value,%20index))%20%20%20%20%20%20{%20%20%20%20%20%20%20%20result%20=%20value;%20%20%20%20%20%20%20%20throw%20$break;%20%20%20%20%20%20}%20%20});%20%20return%20result;}
URL/function%20(iterator)%20{%20%20var%20result;%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20value%20=%20(iterator%20||%20Prototype.K)(value,%20index);%20%20%20%20if%20(result%20==%20undefined%20||%20value%20%3C%20result)%20%20%20%20%20%20result%20=%20value;%20%20});%20%20return%20result;}
URL/function%20(iterator)%20{%20%20var%20result;%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20value%20=%20(iterator%20||%20Prototype.K)(value,%20index);%20%20%20%20if%20(result%20==%20undefined%20||%20value%20%3E=%20result)%20%20%20%20%20%20result%20=%20value;%20%20});%20%20return%20result;}
URL/function%20(iterator)%20{%20%20var%20results%20=%20[];%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20if%20(!iterator(value,%20index))%20%20%20%20%20%20results.push(value);%20%20});%20%20return%20results;}
URL/function%20(iterator)%20{%20%20var%20results%20=%20[];%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20if%20(iterator(value,%20index))%20%20%20%20%20%20results.push(value);%20%20});%20%20return%20results;}
URL/function%20(iterator)%20{%20%20var%20results%20=%20[];%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20results.push((iterator%20||%20Prototype.K)(value,%20index));%20%20});%20%20return%20results;}
URL/function%20(iterator)%20{%20%20var%20trues%20=%20[],%20falses%20=%20[];%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20((iterator%20||%20Prototype.K)(value,%20index)%20?%20trues%20:%20falses).push(value);%20%20});%20%20return%20[trues,falses];}
URL/function%20(memo,%20iterator)%20{%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20memo%20=%20iterator(memo,%20value,%20index);%20%20});%20%20return%20memo;}
URL/function%20(method)%20{%20%20var%20args%20=%20$A(arguments).slice(1);%20%20return%20this.map(function%20(value)%20%20{%20%20%20%20return%20value[method].apply(value,%20args);%20%20});}
URL/function%20(number,%20fillWith)%20{%20%20fillWith%20=%20fillWith%20===%20undefined%20?%20null%20:%20fillWith;%20%20return%20this.eachSlice(number,%20function%20(slice)%20%20{%20%20%20%20while%20(slice.length%20%3C%20number)%20%20%20%20%20%20slice.push(fillWith);%20%20%20%20return%20slice;%20%20});}
URL/function%20(number,%20iterator)%20{%20%20var%20index%20=%20-%20number,%20slices%20=%20[],%20array%20=%20this.toArray();%20%20while%20((index%20+=%20number)%20%3C%20array.length)%20%20%20%20slices.push(array.slice(index,%20index%20+%20number));%20%20return%20slices.map(iterator);}
URL/function%20(object)%20{%20%20for%20(var%20i%20=%200,%20length%20=%20this.length;%20i%20%3C%20length;%20++i)%20%20%20%20if%20(this[i]%20==%20object)%20%20%20%20%20%20return%20i;%20%20return%20-1;}
URL/function%20(object)%20{%20%20var%20found%20=%20false;%20%20this.each(function%20(value)%20%20{%20%20%20%20if%20(value%20==%20object)%20%20%20%20%20%20{%20%20%20%20%20%20%20%20found%20=%20true;%20%20%20%20%20%20%20%20throw%20$break;%20%20%20%20%20%20}%20%20});%20%20return%20found;}
URL/function%20(pattern,%20iterator)%20{%20%20var%20results%20=%20[];%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20var%20stringValue%20=%20value.toString();%20%20%20%20if%20(stringValue.match(pattern))%20%20%20%20%20%20results.push((iterator%20||%20Prototype.K)(value,%20index));%20%20});%20%20return%20results;}
URL/function%20(property)%20{%20%20var%20results%20=%20[];%20%20this.each(function%20(value,%20index)%20%20{%20%20%20%20results.push(value[property]);%20%20});%20%20return%20results;}
URL/function%20(sorted)%20{%20%20return%20this.inject([],%20function%20(array,%20value,%20index)%20%20{%20%20%20%20if%20(0%20==%20index%20||%20(sorted%20?%20array.last()%20!=%20value%20:%20!array.include(value)))%20%20%20%20%20%20array.push(value);%20%20%20%20return%20array;%20%20});}
URL/function%20reverse()%20{%20%20%20%20[native%20code]}

以上これらのファイルに関して「見つかりません」とエラーが出てます


URL/function%20()%20{%20%20var%20iterator%20=%20Prototype.K,%20args%20=%20$A(arguments);%20%20if%20(typeof%20args.last()%20==%20%22function%22)%20%20%20%20iterator%20=%20args.pop();%20%20var%20collections%20=%20[this].concat(args).map($A);%20%20return%20this.map(function%20(value,%20index)%20%20{%20%20%20%20return%20iterator(collections.pluck(index));%20%20});}

こらのファイルにだけ「アクセス権がありません」とエラーが出てます

seasoft
投稿日時: 2008/6/15 22:58
対応状況: −−−
登録日: 2008/6/4
居住地:
投稿: 7367
Re: 404 /function () { return "[" + this.map(Object.inspect).join(", ") + "]";}
全部 JavaScript の無名関数のようですね。
しかも、EC-CUBE で使用されている構文や変数名と異なるもののようです。

以下確認です。
・Javascript のエラーが発生しているか確認できますか?
・EC-CUBE の全てのページで同様に発生しますか?
・他のサイトで、類似した症状が発生するところは無いですか?


----------------
Seasoft
こちらでの投稿は、アイディア程度に留めさせていただいております。
個別案件の作業は有償で承っております。お気軽にご相談ください。

ゲスト
投稿日時: 2008/6/16 12:03
対応状況: −−−
Re: 404 /function () { return "[" + this.map(Object.inspect).join(", ") + "]";}
seasoftさん ありがとうございます。

確認してみたところ、site_frame.tplで読み込んでいるprototype.jsが主にこれらのエラーを出しています。

ほかにもいくつかJavascriptは入れているのでコンフリクトを起こしているのか、EC-CUBE自体と相性が悪いのか、prototype.jsが壊れているのか、とか原因を考えてみました。
EC-CUBE自体と〜、だとどうしようもないですが、こういう事はあり得るんでしょうか??
seasoft
投稿日時: 2008/6/17 12:27
対応状況: −−−
登録日: 2008/6/4
居住地:
投稿: 7367
Re: 404 /function () { return "[" + this.map(Object.inspect).join(", ") + "]";}
とりあえず、当方の環境ではそのような症状は発生しませんでした。
・比較的新しいコミュニティ版
・Safari 3.1 (Win)
・フロント機能のホーム

ちなみに prototype.js は一覧に無いようです。


----------------
Seasoft
こちらでの投稿は、アイディア程度に留めさせていただいております。
個別案件の作業は有償で承っております。お気軽にご相談ください。

スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は88,952名です
総投稿数は110,019件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1296
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.