バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

プラグイン > バグ報告・利用に関する質問 > ページ上部に謎の文字が表示される

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

新規スレッドを追加する

スレッド表示 | 古いものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
hyms
投稿日時: 2021/1/18 10:25
対応状況: −−−
半人前
登録日: 2015/4/21
居住地:
投稿: 15
Re: ページ上部に謎の文字が表示される
確認したところ、いくつかのプラグインで発見し、すべて削除したところ、不具合が解消されました。
実は他のサイトでも同様の症状が発生していて、解決方法が見つからず困っていたとこだったので非常に助かりました。

ありがとうございました!
hyms
投稿日時: 2021/1/18 10:23
対応状況: −−−
半人前
登録日: 2015/4/21
居住地:
投稿: 15
Re: ページ上部に謎の文字が表示される
確認いたしました。
ひとまず、致命的なエラーではないことがわかって一安心です。
ご共有ありがとうございました!
tsh
投稿日時: 2021/1/16 7:21
対応状況: −−−
新米
登録日: 2021/1/16
居住地:
投稿: 1
Re: ページ上部に謎の文字が表示される
導入されているプラグインのいずれかに、プラグインとしては本来不要であるMacのAppleDouble Header fileと呼ばれるファイルを混入させたまま配布されてしまったプラグインがあるのでしょう。
例えば、 test.php という本来のファイルがあれば、それに対応する ._test.php という、先頭に ._ が付加された同名のファイルが見つかると思いますが、それが対象のファイルです。

このファイルは .php という拡張子が付いていますが、中身はMac独自のバイナリファイルであり、PHPが解釈できるファイルではありません。
Mac以外の環境でもこれらのファイルが存在するだけならとくに問題ありませんが、多くのフレームワークに備わっているオートロード機能が .php という拡張子の付いているそれらのファイルも読み込もうとしてしまうため、ゴミメッセージが表示されてしまうといった不具合に繋がります。

解決方法ですが、プラグインディレクトリ(app/Plugin)以下を調べて ._ から始まるファイルを全て削除したあと、eccubeのキャッシュ削除を行なってください。
468
投稿日時: 2021/1/15 10:16
対応状況: −−−
登録日: 2008/10/26
居住地:
投稿: 3217
Re: ページ上部に謎の文字が表示される
同じような内容の投稿が過去にもありました。
参考になれば良いのですが。
https://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=thread&topic_id=25056&forum=2&post_id=101199#forumpost101199


----------------
株式会社シロハチ
■ECCUBE2系、3系構築カスタマイズご相談ください。
EC-CUBE3マニュアル
blog

hyms
投稿日時: 2021/1/14 20:19
対応状況: 解決済
半人前
登録日: 2015/4/21
居住地:
投稿: 15
ページ上部に謎の文字が表示される
▼テンプレート
[EC-CUBE] 4.0.5、新規インストール
[レンタルサーバ] XSERVER
[OS] Windows10
[PHP] 7.4.13
[データベース] MySQL 5.7.31
[WEBサーバ] Apache
[ブラウザ] Firefox
[導入プラグインの有無]
・カテゴリページ/コンテンツ追加 for EC-CUBE4
・チェックした商品
・運送会社連携プラグイン
・この商品をみた人はこんな商品もみています
・同じカテゴリの商品を自動で表示
・XMLサイトマップ
・おすすめ商品管理プラグイン
・商品一覧・詳細ページSEO対策プラグイン
・商品情報項目追加プラグイン for 4.0
・ソニーペイメントサービス決済プラグイン
・商品並び替えプラグイン
・カテゴリ画像コンテンツ
・特集ページ作成

[現象]
上記プラグインを全てインストールした上で、上から順に有効化していったところ、3~5件目くらいのところで(フロント・管理ページともに)ページ上部に謎の文字(UA情報?)が表示されるようになりました。
※それまで症状は発生しませんでした。

↓表示される文字
Mac OS X  2��ATTR��<�<com.apple.quarantineq/0081;5f557c2e;Chrome;5DA6F8AC-E5E0-4327-8F3A-F2FDEED3E834Mac OS X  2~�ATTR���com.apple.lastuseddate#PS�4�_g7�/Mac OS X  2~�ATTR���com.apple.lastuseddate#PS���_&�

上記が表示されたページで何回か更新をすると表示されなくなりますが、キャッシュを削除すると再び表示されるようになります。
念のため、一旦全てのプラグインを無効化してみたものの、症状は改善されません。

ちなみに、使用しているPCはWindowsなのに、なぜか「Mac OS X」と記載されています。

以下、文字が出現した前後のログです。

------------------------------
[2021-01-14 20:09:11] front.INFO [N/A] [4adca43] [N/A] [Eccube\Log\Logger:log:66] - INIT [] [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] php.INFO [N/A] [4adca43] [N/A] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The "sensio_framework_extra.routing.loader.annot_class" service is deprecated since version 5.2 {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sensio_framework_extra.routing.loader.annot_class\" service is deprecated since version 5.2 at /home/********/hoge.com/public_html/onlineshop/var/cache/prod/Container4xf38pw/getSensioFrameworkExtra_Routing_Loader_AnnotClassService.php:8)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] php.INFO [N/A] [4adca43] [N/A] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The "sensio_framework_extra.routing.loader.annot_dir" service is deprecated since version 5.2 {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sensio_framework_extra.routing.loader.annot_dir\" service is deprecated since version 5.2 at /home/********/hoge.com/public_html/onlineshop/var/cache/prod/Container4xf38pw/getSensioFrameworkExtra_Routing_Loader_AnnotDirService.php:8)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] php.INFO [N/A] [4adca43] [N/A] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The "sensio_framework_extra.routing.loader.annot_file" service is deprecated since version 5.2 {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"sensio_framework_extra.routing.loader.annot_file\" service is deprecated since version 5.2 at /home/********/hoge.com/public_html/onlineshop/var/cache/prod/Container4xf38pw/getSensioFrameworkExtra_Routing_Loader_AnnotFileService.php:8)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] php.INFO [N/A] [4adca43] [N/A] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route\" annotation is deprecated since version 5.2. Use \"Symfony\\Component\\Routing\\Annotation\\Route\" instead. at /home/********/hoge.com/public_html/onlineshop/vendor/sensio/framework-extra-bundle/Configuration/Route.php:16)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] php.INFO [N/A] [4adca43] [N/A] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Method" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Method\" annotation is deprecated since version 5.2. Use \"Symfony\\Component\\Routing\\Annotation\\Route\" instead. at /home/********/hoge.com/public_html/onlineshop/vendor/sensio/framework-extra-bundle/Configuration/Method.php:14)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] front.INFO [e0c0ed89] [4adca43] [anon.] [Eccube\Log\Logger:log:66] - PROCESS START ["homepage"] [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] front.INFO [e0c0ed89] [4adca43] [anon.] [Eccube\Log\Logger:log:66] - LOGIC START ["homepage"] [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] php.INFO [e0c0ed89] [4adca43] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Not quoting the scalar "%line%行目の%name%のフォーマットに問題があります。" starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in "/home/********/hoge.com/public_html/onlineshop/app/Plugin/ExpressLink4/Resource/locale/messages.ja.yaml" on line 33. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not quoting the scalar \"%line%行目の%name%のフォーマットに問題があります。\" starting with the \"%\" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in \"/home/********/hoge.com/public_html/onlineshop/app/Plugin/ExpressLink4/Resource/locale/messages.ja.yaml\" on line 33. at /home/********/hoge.com/public_html/onlineshop/vendor/symfony/yaml/Inline.php:359)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] php.INFO [e0c0ed89] [4adca43] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Not quoting the scalar "%line%行目の配送情報は存在しません。" starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in "/home/********/hoge.com/public_html/onlineshop/app/Plugin/ExpressLink4/Resource/locale/messages.ja.yaml" on line 34. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not quoting the scalar \"%line%行目の配送情報は存在しません。\" starting with the \"%\" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in \"/home/********/hoge.com/public_html/onlineshop/app/Plugin/ExpressLink4/Resource/locale/messages.ja.yaml\" on line 34. at /home/********/hoge.com/public_html/onlineshop/vendor/symfony/yaml/Inline.php:359)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] php.INFO [e0c0ed89] [4adca43] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Not quoting the scalar "%success%件のファイルをアップロードしました。(%success%/%count%)" starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in "/home/********/hoge.com/public_html/onlineshop/src/Eccube/Resource/locale/messages.ja.yaml" on line 962. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not quoting the scalar \"%success%件のファイルをアップロードしました。(%success%/%count%)\" starting with the \"%\" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in \"/home/********/hoge.com/public_html/onlineshop/src/Eccube/Resource/locale/messages.ja.yaml\" on line 962. at /home/********/hoge.com/public_html/onlineshop/vendor/symfony/yaml/Inline.php:359)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] php.INFO [e0c0ed89] [4adca43] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Not quoting the scalar "%file_name% のアップロードに失敗しました。(%error%)" starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in "/home/********/hoge.com/public_html/onlineshop/src/Eccube/Resource/locale/messages.ja.yaml" on line 963. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not quoting the scalar \"%file_name% のアップロードに失敗しました。(%error%)\" starting with the \"%\" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in \"/home/********/hoge.com/public_html/onlineshop/src/Eccube/Resource/locale/messages.ja.yaml\" on line 963. at /home/********/hoge.com/public_html/onlineshop/vendor/symfony/yaml/Inline.php:359)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:11] php.INFO [e0c0ed89] [4adca43] [anon.] [Symfony\Component\Debug\ErrorHandler:handleError:532] - User Deprecated: Not quoting the scalar "%name% %plugin_version% は EC-CUBE %eccube_version% には対応していません。続行しますか?" starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in "/home/********/hoge.com/public_html/onlineshop/src/Eccube/Resource/locale/messages.ja.yaml" on line 1687. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not quoting the scalar \"%name% %plugin_version% は EC-CUBE %eccube_version% には対応していません。続行しますか?\" starting with the \"%\" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in \"/home/********/hoge.com/public_html/onlineshop/src/Eccube/Resource/locale/messages.ja.yaml\" on line 1687. at /home/********/hoge.com/public_html/onlineshop/vendor/symfony/yaml/Inline.php:359)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:12] front.WARNING [e0c0ed89] [4adca43] [anon.] [Eccube\Log\Logger:log:66] - Unable to generate a URL for the named route "faq" as such route does not exist. {"exception":"[object] (Symfony\\Component\\Routing\\Exception\\RouteNotFoundException(code: 0): Unable to generate a URL for the named route \"faq\" as such route does not exist. at /home/********/hoge.com/public_html/onlineshop/var/cache/prod/EccubeProdProjectContainerUrlGenerator.php:326)"} [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:12] front.INFO [e0c0ed89] [4adca43] [anon.] [Eccube\Log\Logger:log:66] - LOGIC END ["homepage"] [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
[2021-01-14 20:09:12] app.INFO [N/A] [4adca43] [anon.] [Eccube\Log\Logger:log:68] - PROCESS END ["homepage"] [GET, /, ***.***.***.***, https://hoge.com/products/list?category_id=8, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0]
------------------------------

特にそれらしいエラーが見当たらず、原因の特定ができないため困っております。

ご教示よろしくお願いいたします。



★ 追記です。
上記文字列はページ上部だけでなく、「商品管理/商品一覧」の「コード」カラムにも出現します。
※この場合はページ上部には表示されません。

表記されている内容は全く同じです。
スレッド表示 | 古いものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は88,704名です
総投稿数は109,948件です

投稿数ランキング

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