バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > フロント機能 > CSV出力について

フロント機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
acta
投稿日時: 2023/9/20 16:21
対応状況: −−−
半人前
登録日: 2020/7/31
居住地:
投稿: 22
CSV出力について
▼テンプレート
[EC-CUBE]4.2 新規インストール
[レンタルサーバ]さくらインターネット
[OS] 使用しているOS名、バージョン
[PHP]MySQL 5.7.40-log
[データベース]MySQL 5.7.40-log
[WEBサーバ]Apache
[ブラウザ]google chromeとfirefox
[導入プラグインの有無]管理画面WysiwigEditor化機能 4.2系
[カスタマイズの有無]特になし。レイアウトCSSの変更や無料のプラグインを試している状態です。

[現象] CSVダウンロードをすると、1行目は出力項目が出力されていますが、2行目以降HTMLの出力になってしまいます。
内部の日本語の部分は文字化けをしている状態です。
受注や商品一覧などすべてが同じ状態です。
解決策ありますでしょうか?お力をお貸しください。
h_tanaka
投稿日時: 2023/9/20 16:52
対応状況: −−−
登録日: 2016/7/22
居住地: 愛媛県
投稿: 1752
Re: CSV出力について
どのようなHTMLが出力されていますか?


----------------
EC-CUBE 《プラチナ》ランクパートナー
トエビス株式会社 田中 宏典
EC-CUBEの機能やデザインのカスタマイズ承ります。

acta
投稿日時: 2023/9/20 17:42
対応状況: −−−
半人前
登録日: 2020/7/31
居住地:
投稿: 22
Re: CSV出力について
一行目、項目名省略

<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>繧キ繧ケ繝・Β繧ィ繝ゥ繝シ縺檎匱逕溘@縺セ縺励◆縲・/title>
<meta name="robots" content="noindex,nofollow"/>
<link rel="icon" href="/html/template/admin/assets/img/favicon.ico">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/v4-shims.css">
<link rel="stylesheet" href="/html/template/admin/assets/css/bootstrap.css">
</head>
<body id="error-page" class="bg-light">

<div class="c-container">
<div class="c-contentsArea">


<div class="container" style="margin-top: 150px;">
<div class="row">
<div class="col-12 col-sm-6 offset-sm-3">

<div class="text-center p-5 bg-white">
<h3><i class="fa fa-exclamation-triangle fa-lg ms-1"></i>繧キ繧ケ繝・Β繧ィ繝ゥ繝シ縺檎匱逕溘@縺セ縺励◆縲・/h3>
<p>螟ァ螟峨♀謇区焚縺ァ縺吶′縲√し繧、繝育ョ。逅・€・∪縺ァ縺秘€」邨。縺上□縺輔>縲・/p>
<a href="/ecadmin/" class="btn btn-info btn-lg">繝ュ繧ー繧、繝ウ逕サ髱「縺ク</a>
</div>
</div>
</div>
</div>

</div>
</div>

<script src="/html/template/admin/assets/js/function.js"></script>
</body>
</html>
上記が項目の下2行目からの全文です。受注一覧ページからのCSVダウンロードです。
h_tanaka
投稿日時: 2023/9/20 17:45
対応状況: −−−
登録日: 2016/7/22
居住地: 愛媛県
投稿: 1752
Re: CSV出力について
エディターで文字コードを指定して開くなどして文字化けを回避してもらえますでしょうか。


----------------
EC-CUBE 《プラチナ》ランクパートナー
トエビス株式会社 田中 宏典
EC-CUBEの機能やデザインのカスタマイズ承ります。

acta
投稿日時: 2023/9/20 17:50
対応状況: −−−
半人前
登録日: 2020/7/31
居住地:
投稿: 22
Re: CSV出力について
<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>システムエラーが発生しました。</title>
<meta name="robots" content="noindex,nofollow"/>
<link rel="icon" href="/html/template/admin/assets/img/favicon.ico">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/v4-shims.css">
<link rel="stylesheet" href="/html/template/admin/assets/css/bootstrap.css">
</head>
<body id="error-page" class="bg-light">

<div class="c-container">
<div class="c-contentsArea">


<div class="container" style="margin-top: 150px;">
<div class="row">
<div class="col-12 col-sm-6 offset-sm-3">

<div class="text-center p-5 bg-white">
<h3><i class="fa fa-exclamation-triangle fa-lg ms-1"></i>システムエラーが発生しました。</h3>
<p>大変お手数ですが、サイト管理者までご連絡ください。</p>
<a href="/ecadmin/" class="btn btn-info btn-lg">ログイン画面へ</a>
</div>
</div>
</div>
</div>

</div>
</div>

<script src="/html/template/admin/assets/js/function.js"></script>
</body>
</html>

UTF-8で上記が表示されました。
1行目の項目は文字化けを起こしました。
h_tanaka
投稿日時: 2023/9/20 17:53
対応状況: −−−
登録日: 2016/7/22
居住地: 愛媛県
投稿: 1752
Re: CSV出力について
システムエラーが発生しているようなので、システムログを確認してみてください。

設定>システム設定>ログ表示
で確認できます。

または、ファイルを確認できます。
https://qiita.com/okazy/items/aab56f30812e2d92fd9f


----------------
EC-CUBE 《プラチナ》ランクパートナー
トエビス株式会社 田中 宏典
EC-CUBEの機能やデザインのカスタマイズ承ります。

acta
投稿日時: 2023/9/21 9:20
対応状況: −−−
半人前
登録日: 2020/7/31
居住地:
投稿: 22
Re: CSV出力について
遅くなってすいません。
下記がログです。(ドメインのみ****になっています)

[2023-09-21T09:14:34.884586+09:00] request.INFO [N/A] [ef41b69] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_setting_system_log". {"route":"admin_setting_system_log","route_parameters":{"_route":"admin_setting_system_log","_controller":"Eccube\\Controller\\Admin\\Setting\\System\\LogController::index"},"request_uri":"https://****.net/ecadmin/setting/system/log","method":"GET"} [GET, /ecadmin/setting/system/log, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:24.951515+09:00] request.INFO [N/A] [17c493a] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_login". {"route":"admin_login","route_parameters":{"_route":"admin_login","_controller":"Eccube\\Controller\\Admin\\AdminController::login"},"request_uri":"https://****.net/ecadmin/login","method":"GET"} [GET, /ecadmin/login, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36]
[2023-09-21T09:14:24.806900+09:00] request.INFO [N/A] [3364be9] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_login". {"route":"admin_login","route_parameters":{"_route":"admin_login","_controller":"Eccube\\Controller\\Admin\\AdminController::login"},"request_uri":"https://****.net/ecadmin/login","method":"GET"} [GET, /ecadmin/login, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36]
[2023-09-21T09:14:24.689923+09:00] request.INFO [N/A] [267e4fb] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_order". {"route":"admin_order","route_parameters":{"_route":"admin_order","_controller":"Eccube\\Controller\\Admin\\Order\\OrderController::index"},"request_uri":"https://****.net/ecadmin/order","method":"GET"} [GET, /ecadmin/order, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36]
[2023-09-21T09:14:24.555748+09:00] security.INFO [N/A] [72010f0] [N/A] [Symfony\Component\Security\Http\Firewall\ChannelListener:supports:73] - Redirecting to HTTPS. [] [GET, /ecadmin/order, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36]
[2023-09-21T09:14:24.554580+09:00] request.INFO [N/A] [72010f0] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_order". {"route":"admin_order","route_parameters":{"_controller":"Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction","path":"/ecadmin/order","permanent":true,"scheme":"https","httpPort":80,"httpsPort":443,"_route":"admin_order"},"request_uri":"http://****.net/ecadmin/order","method":"GET"} [GET, /ecadmin/order, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36]
[2023-09-21T09:14:23.608972+09:00] app.DEBUG [N/A] [973c929] [1] [Eccube\Log\Logger:log:68] - Commit executed. [] [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.608254+09:00] app.DEBUG [N/A] [973c929] [1] [Eccube\EventListener\LogListener:onKernelTerminate:133] - PROCESS END ["admin_order_export_order"] [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.605252+09:00] admin.ERROR [N/A] [973c929] [1] [Eccube\Log\Logger:log:64] - システムエラーが発生しました。 ["Failed to start the session because headers have already been sent by \"/home/accrete/www/****.net/src/Eccube/Service/CsvExportService.php\" at line 387.","/home/accrete/www/****.net/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php",145,"#0 /home/accrete/www/****.net/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php(352): Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage->start()\n#1 /home/accrete/www/****.net/vendor/symfony/http-foundation/Session/Session.php(261): Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage->getBag('attributes')\n#2 /home/accrete/www/****.net/vendor/symfony/http-foundation/Session/Session.php(283): Symfony\\Component\\HttpFoundation\\Session\\Session->getBag('attributes')\n#3 /home/accrete/www/****.net/vendor/symfony/http-foundation/Session/Session.php(77): Symfony\\Component\\HttpFoundation\\Session\\Session->getAttributeBag()\n#4 /home/accrete/www/****.net/src/Eccube/Service/CsvExportService.php(412): Symfony\\Component\\HttpFoundation\\Session\\Session->get('eccube.admin.or...', Array)\n#5 /home/accrete/www/****.net/src/Eccube/Controller/Admin/Order/OrderController.php(416): Eccube\\Service\\CsvExportService->getOrderQueryBuilder(Object(Symfony\\Component\\HttpFoundation\\Request))\n#6 /home/accrete/www/****.net/vendor/symfony/http-foundation/StreamedResponse.php(109): Eccube\\Controller\\Admin\\Order\\OrderController->Eccube\\Controller\\Admin\\Order\\{closure}()\n#7 /home/accrete/www/****.net/vendor/symfony/http-foundation/Response.php(394): Symfony\\Component\\HttpFoundation\\StreamedResponse->sendContent()\n#8 /home/accrete/www/****.net/vendor/symfony/http-kernel/EventListener/StreamedResponseListener.php(41): Symfony\\Component\\HttpFoundation\\Response->send()\n#9 /home/accrete/www/****.net/vendor/symfony/event-dispatcher/EventDispatcher.php(270): Symfony\\Component\\HttpKernel\\EventListener\\StreamedResponseListener->onKernelResponse(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response', Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\n#10 /home/accrete/www/****.net/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\\Component\\EventDispatcher\\EventDispatcher::Symfony\\Component\\EventDispatcher\\{closure}(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response', Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\n#11 /home/accrete/www/****.net/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.response', Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent))\n#12 /home/accrete/www/****.net/vendor/symfony/http-kernel/HttpKernel.php(186): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response')\n#13 /home/accrete/www/****.net/vendor/symfony/http-kernel/HttpKernel.php(174): Symfony\\Component\\HttpKernel\\HttpKernel->filterResponse(Object(Symfony\\Component\\HttpFoundation\\StreamedResponse), Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#14 /home/accrete/www/****.net/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#15 /home/accrete/www/****.net/vendor/symfony/http-kernel/Kernel.php(202): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#16 /home/accrete/www/****.net/index.php(83): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#17 {main}"] [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.578030+09:00] app.DEBUG [c495c655] [973c929] [1] [Eccube\EventListener\LogListener:onKernelResponse:124] - LOGIC END ["admin_order_export_order"] [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.577896+09:00] security.DEBUG [c495c655] [973c929] [1] [Symfony\Component\Security\Http\Firewall\ContextListener:onKernelResponse:201] - Stored the security token in the session. {"key":"_security_admin"} [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.577352+09:00] admin.INFO [c495c655] [973c929] [1] [Eccube\Log\Logger:log:64] - 受注CSV出力ファイル名 ["order_20230921091423.csv"] [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.576425+09:00] app.DEBUG [c495c655] [973c929] [1] [Eccube\EventListener\LogListener:onKernelController:111] - LOGIC START ["admin_order_export_order"] [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.567938+09:00] admin.DEBUG [c495c655] [973c929] [1] [Eccube\Log\Logger:log:64] - Begin Transaction. [] [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.563237+09:00] app.DEBUG [c495c655] [973c929] [1] [Eccube\EventListener\LogListener:onKernelRequest:86] - PROCESS START ["admin_order_export_order"] [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.561636+09:00] security.DEBUG [c495c655] [973c929] [1] [Symfony\Component\Security\Http\Authentication\AuthenticatorManager:supports:115] - Authenticator does not support the request. {"firewall_name":"admin","authenticator":"Symfony\\Component\\Security\\Http\\Authenticator\\FormLoginAuthenticator"} [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.561590+09:00] security.DEBUG [c495c655] [973c929] [1] [Symfony\Component\Security\Http\Authentication\AuthenticatorManager:supports:107] - Checking support on authenticator. {"firewall_name":"admin","authenticator":"Symfony\\Component\\Security\\Http\\Authenticator\\FormLoginAuthenticator"} [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.561520+09:00] security.DEBUG [c495c655] [973c929] [1] [Symfony\Component\Security\Http\Authentication\AuthenticatorManager:supports:99] - Checking for authenticator support. {"firewall_name":"admin","authenticators":1} [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.561347+09:00] security.DEBUG [c495c655] [973c929] [N/A] [Symfony\Component\Security\Http\Firewall\ContextListener:refreshUser:268] - User was reloaded from a user provider. {"provider":"Eccube\\Security\\Core\\User\\MemberProvider","username":"admin"} [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.556430+09:00] security.DEBUG [c495c655] [973c929] [N/A] [Symfony\Component\Security\Http\Firewall\ContextListener:authenticate:130] - Read existing security token from the session. {"key":"_security_admin","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.554494+09:00] request.INFO [N/A] [973c929] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_order_export_order". {"route":"admin_order_export_order","route_parameters":{"_route":"admin_order_export_order","_controller":"Eccube\\Controller\\Admin\\Order\\OrderController::exportOrder"},"request_uri":"https://****.net/ecadmin/order/export/order","method":"GET"} [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:23.554020+09:00] app.DEBUG [N/A] [973c929] [N/A] [Eccube\EventListener\LogListener:onKernelRequestEarly:73] - INIT [] [GET, /ecadmin/order/export/order, 147.192.76.195, https://****.net/ecadmin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:20.330425+09:00] request.INFO [N/A] [28ccf37] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_login". {"route":"admin_login","route_parameters":{"_route":"admin_login","_controller":"Eccube\\Controller\\Admin\\AdminController::login"},"request_uri":"https://****.net/ecadmin/login","method":"GET"} [GET, /ecadmin/login, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36]
[2023-09-21T09:14:20.192225+09:00] request.INFO [N/A] [7fb048e] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_login". {"route":"admin_login","route_parameters":{"_route":"admin_login","_controller":"Eccube\\Controller\\Admin\\AdminController::login"},"request_uri":"https://****.net/ecadmin/login","method":"GET"} [GET, /ecadmin/login, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36]
[2023-09-21T09:14:20.071609+09:00] request.INFO [N/A] [705c132] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_homepage". {"route":"admin_homepage","route_parameters":{"_route":"admin_homepage","_controller":"Eccube\\Controller\\Admin\\AdminController::index"},"request_uri":"https://****.net/ecadmin/","method":"GET"} [GET, /ecadmin/, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36]
[2023-09-21T09:14:19.820038+09:00] security.INFO [N/A] [a24c384] [N/A] [Symfony\Component\Security\Http\Firewall\ChannelListener:supports:73] - Redirecting to HTTPS. [] [GET, /ecadmin/, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36]
[2023-09-21T09:14:19.818551+09:00] request.INFO [N/A] [a24c384] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_homepage". {"route":"admin_homepage","route_parameters":{"_controller":"Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction","path":"/ecadmin/","permanent":true,"scheme":"https","httpPort":80,"httpsPort":443,"_route":"admin_homepage"},"request_uri":"http://****.net/ecadmin/","method":"GET"} [GET, /ecadmin/, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36]
[2023-09-21T09:14:16.856825+09:00] request.INFO [N/A] [e3790f3] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_order". {"route":"admin_order","route_parameters":{"_route":"admin_order","_controller":"Eccube\\Controller\\Admin\\Order\\OrderController::index"},"request_uri":"https://****.net/ecadmin/order","method":"GET"} [GET, /ecadmin/order, 147.192.76.195, https://****.net/ecadmin/, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:15.704615+09:00] request.INFO [N/A] [156753a] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_login". {"route":"admin_login","route_parameters":{"_route":"admin_login","_controller":"Eccube\\Controller\\Admin\\AdminController::login"},"request_uri":"https://****.net/ecadmin/login","method":"GET"} [GET, /ecadmin/login, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36]
[2023-09-21T09:14:15.454379+09:00] security.INFO [N/A] [cbcf8cc] [N/A] [Symfony\Component\Security\Http\Firewall\ChannelListener:supports:73] - Redirecting to HTTPS. [] [GET, /ecadmin/login, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36]
[2023-09-21T09:14:15.452481+09:00] request.INFO [N/A] [cbcf8cc] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_login". {"route":"admin_login","route_parameters":{"_controller":"Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction","path":"/ecadmin/login","permanent":true,"scheme":"https","httpPort":80,"httpsPort":443,"_route":"admin_login"},"request_uri":"http://****.net/ecadmin/login","method":"GET"} [GET, /ecadmin/login, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36]
[2023-09-21T09:14:13.116745+09:00] request.INFO [N/A] [4ae4cc6] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_homepage_sale". {"route":"admin_homepage_sale","route_parameters":{"_route":"admin_homepage_sale","_controller":"Eccube\\Controller\\Admin\\AdminController::sale"},"request_uri":"https://****.net/ecadmin/sale_chart","method":"GET"} [GET, /ecadmin/sale_chart, 147.192.76.195, https://****.net/ecadmin/, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:12.628799+09:00] admin.INFO [c495c655] [d5ab858] [1] [Eccube\Log\Logger:log:64] - http get_info {"url":"https://package-api-c2.ec-cube.net/v42/plugins/recommended","content_type":"application/json;charset=UTF-8","http_code":200,"header_size":413,"request_size":204,"filetime":-1,"ssl_verify_result":20,"redirect_count":0,"total_time":0.146181,"namelookup_time":0.001423,"connect_time":0.023428,"pretransfer_time":0.070084,"size_upload":0.0,"size_download":11414.0,"speed_download":78081.0,"speed_upload":0.0,"download_content_length":-1.0,"upload_content_length":0.0,"starttransfer_time":0.145919,"redirect_time":0.0,"redirect_url":"","primary_ip":"133.242.233.183","certinfo":[],"primary_port":443,"local_ip":"133.167.8.196","local_port":58434,"http_version":2,"protocol":2,"ssl_verifyresult":0,"scheme":"HTTPS","appconnect_time_us":70042,"connect_time_us":23428,"namelookup_time_us":1423,"pretransfer_time_us":70084,"redirect_time_us":0,"starttransfer_time_us":145919,"total_time_us":146181,"message":""} [GET, /ecadmin/, 147.192.76.195, https://****.net/ecadmin/login, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:12.452783+09:00] request.INFO [N/A] [d5ab858] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_homepage". {"route":"admin_homepage","route_parameters":{"_route":"admin_homepage","_controller":"Eccube\\Controller\\Admin\\AdminController::index"},"request_uri":"https://****.net/ecadmin/","method":"GET"} [GET, /ecadmin/, 147.192.76.195, https://****.net/ecadmin/login, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:11.978377+09:00] security.INFO [8a43f662] [9b9415d] [N/A] [Symfony\Component\Security\Http\Authentication\AuthenticatorManager:executeAuthenticator:214] - Authenticator successful! {"token":{"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken":"UsernamePasswordToken(user=\"admin\", authenticated=true, roles=\"ROLE_ADMIN\")"},"authenticator":"Symfony\\Component\\Security\\Http\\Authenticator\\FormLoginAuthenticator"} [POST, /ecadmin/login, 147.192.76.195, https://****.net/ecadmin/login, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:11.962636+09:00] request.INFO [N/A] [9b9415d] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_login". {"route":"admin_login","route_parameters":{"_route":"admin_login","_controller":"Eccube\\Controller\\Admin\\AdminController::login"},"request_uri":"https://****.net/ecadmin/login","method":"POST"} [POST, /ecadmin/login, 147.192.76.195, https://****.net/ecadmin/login, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:14:10.504144+09:00] request.INFO [N/A] [e0d2748] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "admin_login". {"route":"admin_login","route_parameters":{"_route":"admin_login","_controller":"Eccube\\Controller\\Admin\\AdminController::login"},"request_uri":"https://****.net/ecadmin/login","method":"GET"} [GET, /ecadmin/login, 147.192.76.195, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36]
[2023-09-21T09:03:28.163190+09:00] request.INFO [76fa11e3] [6beb669] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "block_search_product". {"route":"block_search_product","route_parameters":{"_route":"block_search_product","_controller":"Eccube\\Controller\\Block\\SearchProductController::index"},"request_uri":"https://****.net/block/search_product","method":"GET"} [GET, /contact, 20.89.57.92, http://****.net/contact, Go-http-client/1.1]
[2023-09-21T09:03:28.152877+09:00] request.INFO [76fa11e3] [6beb669] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "block_refine_check_item". {"route":"block_refine_check_item","route_parameters":{"_route":"block_refine_check_item","_controller":"Plugin\\RefineCheckItem42\\Controller\\RefineCheckItemController::index"},"request_uri":"https://****.net/block/refine_check_item42","method":"GET"} [GET, /contact, 20.89.57.92, http://****.net/contact, Go-http-client/1.1]
[2023-09-21T09:03:28.098325+09:00] request.INFO [76fa11e3] [6beb669] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "block_search_product". {"route":"block_search_product","route_parameters":{"_route":"block_search_product","_controller":"Eccube\\Controller\\Block\\SearchProductController::index"},"request_uri":"https://****.net/block/search_product","method":"GET"} [GET, /contact, 20.89.57.92, http://****.net/contact, Go-http-client/1.1]
[2023-09-21T09:03:28.061071+09:00] request.INFO [N/A] [6beb669] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "contact". {"route":"contact","route_parameters":{"_route":"contact","_controller":"Eccube\\Controller\\ContactController::index"},"request_uri":"https://****.net/contact","method":"GET"} [GET, /contact, 20.89.57.92, http://****.net/contact, Go-http-client/1.1]
[2023-09-21T09:03:22.345610+09:00] front.INFO [N/A] [408886b] [N/A] [Eccube\Log\Logger:log:66] - ページがみつかりません。 ["No route found for \"GET http://****.net/contact.php\"","/home/accrete/www/****.net/vendor/symfony/http-kernel/EventListener/RouterListener.php",135] [GET, /contact.php, 20.89.57.92, NULL, Go-http-client/1.1]
[2023-09-21T09:03:22.103669+09:00] request.INFO [N/A] [42c3fe9] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "contact". {"route":"contact","route_parameters":{"_controller":"Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction","path":"/contact","permanent":true,"scheme":"https","httpPort":80,"httpsPort":443,"_route":"contact"},"request_uri":"http://****.net/contact","method":"GET"} [GET, /contact, 20.89.57.92, NULL, Go-http-client/1.1]
[2023-09-21T08:54:47.151821+09:00] request.INFO [db57b280] [298331d] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "block_search_product". {"route":"block_search_product","route_parameters":{"_route":"block_search_product","_controller":"Eccube\\Controller\\Block\\SearchProductController::index"},"request_uri":"https://****.net/block/search_product","method":"GET"} [GET, /, 128.90.129.156, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0]
[2023-09-21T08:54:47.004916+09:00] request.INFO [db57b280] [298331d] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "block_search_product". {"route":"block_search_product","route_parameters":{"_route":"block_search_product","_controller":"Eccube\\Controller\\Block\\SearchProductController::index"},"request_uri":"https://****.net/block/search_product","method":"GET"} [GET, /, 128.90.129.156, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0]
[2023-09-21T08:54:46.973899+09:00] request.INFO [N/A] [298331d] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "homepage". {"route":"homepage","route_parameters":{"_route":"homepage","_controller":"Eccube\\Controller\\TopController::index"},"request_uri":"https://****.net/","method":"GET"} [GET, /, 128.90.129.156, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0]
[2023-09-21T08:54:35.821762+09:00] request.INFO [N/A] [a31adf9] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "homepage". {"route":"homepage","route_parameters":{"_controller":"Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction","path":"/","permanent":true,"scheme":"https","httpPort":80,"httpsPort":443,"_route":"homepage"},"request_uri":"http://****.net/","method":"GET"} [GET, /, 128.90.129.156, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0]
[2023-09-21T08:36:20.037095+09:00] request.INFO [d1cbb69e] [35de5f6] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "block_search_product". {"route":"block_search_product","route_parameters":{"_route":"block_search_product","_controller":"Eccube\\Controller\\Block\\SearchProductController::index"},"request_uri":"https://****.net/block/search_product","method":"GET"} [GET, /products/list?category_id=7, 146.190.229.143, NULL, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36]
[2023-09-21T08:36:20.025215+09:00] request.INFO [d1cbb69e] [35de5f6] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "block_refine_check_item". {"route":"block_refine_check_item","route_parameters":{"_route":"block_refine_check_item","_controller":"Plugin\\RefineCheckItem42\\Controller\\RefineCheckItemController::index"},"request_uri":"https://****.net/block/refine_check_item42","method":"GET"} [GET, /products/list?category_id=7, 146.190.229.143, NULL, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36]
[2023-09-21T08:36:19.984108+09:00] request.INFO [d1cbb69e] [35de5f6] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:121] - Matched route "block_search_product". {"route":"block_search_product","route_parameters":{"_route":"block_search_product","_controller":"Eccube\\Controller\\Block\\SearchProductController::index"},"request_uri":"https://****.net/block/search_product","method":"GET"} [GET, /products/list?category_id=7, 146.190.229.143, NULL, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36]
h_tanaka
投稿日時: 2023/9/21 9:27
対応状況: −−−
登録日: 2016/7/22
居住地: 愛媛県
投稿: 1752
Re: CSV出力について
こちらがエラー内容と発生している場所になります。

Failed to start the session because headers have already been sent by \"/home/accrete/www/****.net/src/Eccube/Service/CsvExportService.php\" at line 387

セッションに関するエラーのようですね。

この前後のソースはどうなっていますでしょうか?

標準のソースを確認しましたが、EC-CUBE4.2.0 と 4.2.2 でもソースが異なっており、マイナーバージョンの記載がないため場所が特定できませんでした。


----------------
EC-CUBE 《プラチナ》ランクパートナー
トエビス株式会社 田中 宏典
EC-CUBEの機能やデザインのカスタマイズ承ります。

acta
投稿日時: 2023/9/21 10:19
対応状況: −−−
半人前
登録日: 2020/7/31
居住地:
投稿: 22
Re: CSV出力について
fputcsv($this->fp, array_map($this->convertEncodingCallBack, $row), $this->eccubeConfig['eccube_csv_export_separator']);


上記が387行目になります。
ec-cubeのバージョンはEC-CUBE4.2.0になります。
h_tanaka
投稿日時: 2023/9/21 10:28
対応状況: −−−
登録日: 2016/7/22
居住地: 愛媛県
投稿: 1752
Re: CSV出力について
上記処理の前に HTMLコードが出力されている可能性があります。
特にカスタマイズされてないとのことでしたら、プラグインをすべて無効化して再現するか試してみてください。


----------------
EC-CUBE 《プラチナ》ランクパートナー
トエビス株式会社 田中 宏典
EC-CUBEの機能やデザインのカスタマイズ承ります。

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


 



ログイン


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

統計情報

総メンバー数は93,331名です
総投稿数は111,015件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2315
5
umebius
2085
6
yuh
1841
7
h_tanaka
1752
8
red
1574
9
mcontact
1462
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
804
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.