バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

バグ報告 > フロント機能 > xampp php 8.2 / 8.3 独自プラグインインストールでエラーが発生します。

フロント機能

新規スレッドを追加する

スレッド表示 | 古いものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
tattsu
投稿日時: 2024/9/5 11:12
対応状況: −−−
仙人
登録日: 2023/12/23
居住地:
投稿: 385
Re: xampp php 8.2 独自プラグインインストールでエラーが発生します。
すみません、勘違いしていました。確かにphpバージョン変えてもDeprecated抑制できないですね。

Deprecatedなどが出ていてもプラグインのインストールや動作には直接関係はしないので問題ないかと思います。

ただ、記載いただいているエラーからするとAPP_ENV=prodとなっている環境のようですが、
php.iniなどのphp設定でdisplay_errors=1 となっているのではないでしょうか?

display_errors=0であればDeprecatedの出力はされないのではないかと思います。

出力されていてもプラグインがインストールできていれば当面は開発環境では問題ないのと、
Deprecatedへの対応自体は今のEC-CUBEバージョン、同梱されているライブラリバージョンを使用している間は問題にはならなさそうです。


----------------
-------------------

各決済会社3Dセキュア実装・EC-CUBEバージョンアップ・不具合修正
お任せください。ゴールドパートナー。

obata
投稿日時: 2024/9/4 14:35
対応状況: −−−
半人前
登録日: 2008/10/6
居住地:
投稿: 14
Re: xampp php 8.2 独自プラグインインストールでエラーが発生します。
返信ありがとうございます。
xamppのログなどいろいろ調べてみたところ、「nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validationがダイナミックリンクライブラリ php_curl.dll から見つかりません。
」というエラーが発生しておりました。

おそらくこれがcurl_initに関するエラーの原因だと思われます。

調べると、nghttp2ライブラリとの整合性によるエラーとありましたが、おそらくxamppのapacheのcurl.exeとの整合性(バージョン違い)によるエラーだと思われます。

xamppは現在最新版が(2024-9-4時点)php8.2までしかなく、php8.3は力ずくで入れるしか方法がありません。

そのため、xamppとの整合性が合わない部分が出ていると思われます。
とりあえず、xamppのphp8.3版が出るまで待つことにします。

回答ありがとうございました。

※先ほどEC-CUBE4.3のシステム要件を調べたところ、PHP8.1以上とあり、PHP8.2はシステム要件を満たしていました。現在のバージョンのままプラグインのテストをしてみます。

https://doc4.ec-cube.net/quickstart/requirement
mcontact
投稿日時: 2024/9/4 11:39
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1593
Re: xampp php 8.2 独自プラグインインストールでエラーが発生します。
[2024-09-04T11:12:21.354695+09:00] admin.ERROR [136235b7] [be02592] [1] [Eccube\Log\Logger:log:64] - システムエラーが発生しました。 ["Attempted to call function \"curl_init\" from namespace \"Eccube\\Service\".","D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php",278,
"#0 D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php(165): Eccube\\Service\\PluginApiService->requestApi('https://package...')\n#1 D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Controller\\Admin\\AdminController.php(255): Eccube\\Service\\PluginApiService->getRecommended()\n#2 
D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(181): Eccube\\Controller\\Admin\\AdminController->index(Object(Symfony\\Component\\HttpFoundation\\Request))\n#3 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(76): 
Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#4 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\Kernel.php(197): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#5 
D:\\test_forder\\eccube\\43\\www\\index.php(83): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#6 {main}"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]


エラー自体は、上記の「Attempted to call function \"curl_init\" from namespace \"Eccube\\Service\"」かと思います。
実環境にて確認している訳ではないですが、エラー内容からするとcurl_initと出ていますが、phpにてphp-curlは有効にしていますか?


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

obata
投稿日時: 2024/9/4 11:15
対応状況: −−−
半人前
登録日: 2008/10/6
居住地:
投稿: 14
Re: xampp php 8.2 独自プラグインインストールでエラーが発生します。
返信ありがとうございます。
php8.3 で管理画面でシステムエラーとなる部分のログを以下に掲載します。

■admin log
[2024-09-04T11:12:21.179163+09:00] admin.DEBUG [N/A] [be02592] [N/A] [Eccube\Log\Logger:log:64] - Client IP: ::1 [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.186709+09:00] app.DEBUG [N/A] [be02592] [N/A] [Eccube\EventListener\LogListener:onKernelRequestEarly:73] - INIT [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.304696+09:00] app.DEBUG [136235b7] [be02592] [1] [Eccube\EventListener\LogListener:onKernelRequest:86] - PROCESS START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.312832+09:00] admin.DEBUG [136235b7] [be02592] [1] [Eccube\Log\Logger:log:64] - Begin Transaction. [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.321078+09:00] app.DEBUG [136235b7] [be02592] [1] [Eccube\EventListener\LogListener:onKernelController:111] - LOGIC START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.347171+09:00] php.CRITICAL [N/A] [be02592] [1] [Symfony\Component\ErrorHandler\ErrorHandler:handleException:519] - Uncaught Error: Call to undefined function Eccube\Service\curl_init() {"exception":"[object] (Error(code: 0): Call to undefined function Eccube\\Service\\curl_init() at D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php:278)"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.354695+09:00] admin.ERROR [136235b7] [be02592] [1] [Eccube\Log\Logger:log:64] - システムエラーが発生しました。 ["Attempted to call function \"curl_init\" from namespace \"Eccube\\Service\".","D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php",278,"#0 D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php(165): Eccube\\Service\\PluginApiService->requestApi('https://package...')\n#1 D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Controller\\Admin\\AdminController.php(255): Eccube\\Service\\PluginApiService->getRecommended()\n#2 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(181): Eccube\\Controller\\Admin\\AdminController->index(Object(Symfony\\Component\\HttpFoundation\\Request))\n#3 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#4 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\Kernel.php(197): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#5 D:\\test_forder\\eccube\\43\\www\\index.php(83): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#6 {main}"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.356223+09:00] app.DEBUG [136235b7] [be02592] [1] [Eccube\EventListener\LogListener:onKernelResponse:124] - LOGIC END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.357711+09:00] app.DEBUG [N/A] [be02592] [1] [Eccube\EventListener\LogListener:onKernelTerminate:133] - PROCESS END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.358025+09:00] app.DEBUG [N/A] [be02592] [1] [Eccube\Log\Logger:log:68] - Commit executed. [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.012007+09:00] admin.DEBUG [N/A] [0074d00] [N/A] [Eccube\Log\Logger:log:64] - Client IP: ::1 [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.018845+09:00] app.DEBUG [N/A] [0074d00] [N/A] [Eccube\EventListener\LogListener:onKernelRequestEarly:73] - INIT [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.129802+09:00] app.DEBUG [136235b7] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelRequest:86] - PROCESS START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.138327+09:00] admin.DEBUG [136235b7] [0074d00] [1] [Eccube\Log\Logger:log:64] - Begin Transaction. [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.147295+09:00] app.DEBUG [136235b7] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelController:111] - LOGIC START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.176199+09:00] php.CRITICAL [N/A] [0074d00] [1] [Symfony\Component\ErrorHandler\ErrorHandler:handleException:519] - Uncaught Error: Call to undefined function Eccube\Service\curl_init() {"exception":"[object] (Error(code: 0): Call to undefined function Eccube\\Service\\curl_init() at D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php:278)"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.184238+09:00] admin.ERROR [136235b7] [0074d00] [1] [Eccube\Log\Logger:log:64] - システムエラーが発生しました。 ["Attempted to call function \"curl_init\" from namespace \"Eccube\\Service\".","D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php",278,"#0 D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php(165): Eccube\\Service\\PluginApiService->requestApi('https://package...')\n#1 D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Controller\\Admin\\AdminController.php(255): Eccube\\Service\\PluginApiService->getRecommended()\n#2 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(181): Eccube\\Controller\\Admin\\AdminController->index(Object(Symfony\\Component\\HttpFoundation\\Request))\n#3 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#4 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\Kernel.php(197): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#5 D:\\test_forder\\eccube\\43\\www\\index.php(83): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#6 {main}"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.185749+09:00] app.DEBUG [136235b7] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelResponse:124] - LOGIC END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.187306+09:00] app.DEBUG [N/A] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelTerminate:133] - PROCESS END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.187707+09:00] app.DEBUG [N/A] [0074d00] [1] [Eccube\Log\Logger:log:68] - Commit executed. [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]

■site log
[2024-09-04T11:12:21.179163+09:00] admin.DEBUG [N/A] [be02592] [N/A] [Eccube\Log\Logger:log:64] - Client IP: ::1 [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.186709+09:00] app.DEBUG [N/A] [be02592] [N/A] [Eccube\EventListener\LogListener:onKernelRequestEarly:73] - INIT [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.190178+09:00] request.INFO [N/A] [be02592] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:110] - Matched route "admin_homepage". {"route":"admin_homepage","route_parameters":{"_route":"admin_homepage","_controller":"Eccube\\Controller\\Admin\\AdminController::index"},"request_uri":"http://localhost/ectestadmin/","method":"GET"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.208145+09:00] security.DEBUG [136235b7] [be02592] [N/A] [Symfony\Component\Security\Http\Firewall\ContextListener:authenticate:120] - Read existing security token from the session. {"key":"_security_admin","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.299068+09:00] security.DEBUG [136235b7] [be02592] [N/A] [Symfony\Component\Security\Http\Firewall\ContextListener:refreshUser:230] - User was reloaded from a user provider. {"provider":"Eccube\\Security\\Core\\User\\MemberProvider","username":"ectest"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.300554+09:00] security.DEBUG [136235b7] [be02592] [1] [Symfony\Component\Security\Http\Authentication\AuthenticatorManager:supports:98] - Checking for authenticator support. {"firewall_name":"admin","authenticators":1} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.300589+09:00] security.DEBUG [136235b7] [be02592] [1] [Symfony\Component\Security\Http\Authentication\AuthenticatorManager:supports:105] - Checking support on authenticator. {"firewall_name":"admin","authenticator":"Symfony\\Component\\Security\\Http\\Authenticator\\FormLoginAuthenticator"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.300606+09:00] security.DEBUG [136235b7] [be02592] [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, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.304696+09:00] app.DEBUG [136235b7] [be02592] [1] [Eccube\EventListener\LogListener:onKernelRequest:86] - PROCESS START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.312832+09:00] admin.DEBUG [136235b7] [be02592] [1] [Eccube\Log\Logger:log:64] - Begin Transaction. [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.321078+09:00] app.DEBUG [136235b7] [be02592] [1] [Eccube\EventListener\LogListener:onKernelController:111] - LOGIC START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.347171+09:00] php.CRITICAL [N/A] [be02592] [1] [Symfony\Component\ErrorHandler\ErrorHandler:handleException:519] - Uncaught Error: Call to undefined function Eccube\Service\curl_init() {"exception":"[object] (Error(code: 0): Call to undefined function Eccube\\Service\\curl_init() at D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php:278)"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.354695+09:00] admin.ERROR [136235b7] [be02592] [1] [Eccube\Log\Logger:log:64] - システムエラーが発生しました。 ["Attempted to call function \"curl_init\" from namespace \"Eccube\\Service\".","D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php",278,"#0 D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php(165): Eccube\\Service\\PluginApiService->requestApi('https://package...')\n#1 D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Controller\\Admin\\AdminController.php(255): Eccube\\Service\\PluginApiService->getRecommended()\n#2 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(181): Eccube\\Controller\\Admin\\AdminController->index(Object(Symfony\\Component\\HttpFoundation\\Request))\n#3 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#4 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\Kernel.php(197): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#5 D:\\test_forder\\eccube\\43\\www\\index.php(83): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#6 {main}"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.356131+09:00] security.DEBUG [136235b7] [be02592] [1] [Symfony\Component\Security\Http\Firewall\ContextListener:onKernelResponse:176] - Stored the security token in the session. {"key":"_security_admin"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.356223+09:00] app.DEBUG [136235b7] [be02592] [1] [Eccube\EventListener\LogListener:onKernelResponse:124] - LOGIC END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.357711+09:00] app.DEBUG [N/A] [be02592] [1] [Eccube\EventListener\LogListener:onKernelTerminate:133] - PROCESS END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.358025+09:00] app.DEBUG [N/A] [be02592] [1] [Eccube\Log\Logger:log:68] - Commit executed. [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.012007+09:00] admin.DEBUG [N/A] [0074d00] [N/A] [Eccube\Log\Logger:log:64] - Client IP: ::1 [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.018845+09:00] app.DEBUG [N/A] [0074d00] [N/A] [Eccube\EventListener\LogListener:onKernelRequestEarly:73] - INIT [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.022120+09:00] request.INFO [N/A] [0074d00] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:110] - Matched route "admin_homepage". {"route":"admin_homepage","route_parameters":{"_route":"admin_homepage","_controller":"Eccube\\Controller\\Admin\\AdminController::index"},"request_uri":"http://localhost/ectestadmin/","method":"GET"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.039350+09:00] security.DEBUG [136235b7] [0074d00] [N/A] [Symfony\Component\Security\Http\Firewall\ContextListener:authenticate:120] - Read existing security token from the session. {"key":"_security_admin","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.123296+09:00] security.DEBUG [136235b7] [0074d00] [N/A] [Symfony\Component\Security\Http\Firewall\ContextListener:refreshUser:230] - User was reloaded from a user provider. {"provider":"Eccube\\Security\\Core\\User\\MemberProvider","username":"ectest"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.124980+09:00] security.DEBUG [136235b7] [0074d00] [1] [Symfony\Component\Security\Http\Authentication\AuthenticatorManager:supports:98] - Checking for authenticator support. {"firewall_name":"admin","authenticators":1} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.125014+09:00] security.DEBUG [136235b7] [0074d00] [1] [Symfony\Component\Security\Http\Authentication\AuthenticatorManager:supports:105] - Checking support on authenticator. {"firewall_name":"admin","authenticator":"Symfony\\Component\\Security\\Http\\Authenticator\\FormLoginAuthenticator"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.125031+09:00] security.DEBUG [136235b7] [0074d00] [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, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.129802+09:00] app.DEBUG [136235b7] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelRequest:86] - PROCESS START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.138327+09:00] admin.DEBUG [136235b7] [0074d00] [1] [Eccube\Log\Logger:log:64] - Begin Transaction. [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.147295+09:00] app.DEBUG [136235b7] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelController:111] - LOGIC START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.176199+09:00] php.CRITICAL [N/A] [0074d00] [1] [Symfony\Component\ErrorHandler\ErrorHandler:handleException:519] - Uncaught Error: Call to undefined function Eccube\Service\curl_init() {"exception":"[object] (Error(code: 0): Call to undefined function Eccube\\Service\\curl_init() at D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php:278)"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.184238+09:00] admin.ERROR [136235b7] [0074d00] [1] [Eccube\Log\Logger:log:64] - システムエラーが発生しました。 ["Attempted to call function \"curl_init\" from namespace \"Eccube\\Service\".","D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php",278,"#0 D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php(165): Eccube\\Service\\PluginApiService->requestApi('https://package...')\n#1 D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Controller\\Admin\\AdminController.php(255): Eccube\\Service\\PluginApiService->getRecommended()\n#2 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(181): Eccube\\Controller\\Admin\\AdminController->index(Object(Symfony\\Component\\HttpFoundation\\Request))\n#3 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#4 D:\\test_forder\\eccube\\43\\www\\vendor\\symfony\\http-kernel\\Kernel.php(197): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#5 D:\\test_forder\\eccube\\43\\www\\index.php(83): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#6 {main}"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.185646+09:00] security.DEBUG [136235b7] [0074d00] [1] [Symfony\Component\Security\Http\Firewall\ContextListener:onKernelResponse:176] - Stored the security token in the session. {"key":"_security_admin"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.185749+09:00] app.DEBUG [136235b7] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelResponse:124] - LOGIC END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.187306+09:00] app.DEBUG [N/A] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelTerminate:133] - PROCESS END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.187707+09:00] app.DEBUG [N/A] [0074d00] [1] [Eccube\Log\Logger:log:68] - Commit executed. [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]

■front log
[2024-09-04T11:12:21.186709+09:00] app.DEBUG [N/A] [be02592] [N/A] [Eccube\EventListener\LogListener:onKernelRequestEarly:73] - INIT [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.304696+09:00] app.DEBUG [136235b7] [be02592] [1] [Eccube\EventListener\LogListener:onKernelRequest:86] - PROCESS START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.321078+09:00] app.DEBUG [136235b7] [be02592] [1] [Eccube\EventListener\LogListener:onKernelController:111] - LOGIC START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.347171+09:00] php.CRITICAL [N/A] [be02592] [1] [Symfony\Component\ErrorHandler\ErrorHandler:handleException:519] - Uncaught Error: Call to undefined function Eccube\Service\curl_init() {"exception":"[object] (Error(code: 0): Call to undefined function Eccube\\Service\\curl_init() at D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php:278)"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.356223+09:00] app.DEBUG [136235b7] [be02592] [1] [Eccube\EventListener\LogListener:onKernelResponse:124] - LOGIC END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.357711+09:00] app.DEBUG [N/A] [be02592] [1] [Eccube\EventListener\LogListener:onKernelTerminate:133] - PROCESS END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:21.358025+09:00] app.DEBUG [N/A] [be02592] [1] [Eccube\Log\Logger:log:68] - Commit executed. [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.018845+09:00] app.DEBUG [N/A] [0074d00] [N/A] [Eccube\EventListener\LogListener:onKernelRequestEarly:73] - INIT [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.129802+09:00] app.DEBUG [136235b7] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelRequest:86] - PROCESS START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.147295+09:00] app.DEBUG [136235b7] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelController:111] - LOGIC START ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.176199+09:00] php.CRITICAL [N/A] [0074d00] [1] [Symfony\Component\ErrorHandler\ErrorHandler:handleException:519] - Uncaught Error: Call to undefined function Eccube\Service\curl_init() {"exception":"[object] (Error(code: 0): Call to undefined function Eccube\\Service\\curl_init() at D:\\test_forder\\eccube\\43\\www\\src\\Eccube\\Service\\PluginApiService.php:278)"} [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.185749+09:00] app.DEBUG [136235b7] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelResponse:124] - LOGIC END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.187306+09:00] app.DEBUG [N/A] [0074d00] [1] [Eccube\EventListener\LogListener:onKernelTerminate:133] - PROCESS END ["admin_homepage"] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]
[2024-09-04T11:12:22.187707+09:00] app.DEBUG [N/A] [0074d00] [1] [Eccube\Log\Logger:log:68] - Commit executed. [] [GET, /ectestadmin/, ::1, NULL, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36]

obata
投稿日時: 2024/9/4 11:07
対応状況: −−−
半人前
登録日: 2008/10/6
居住地:
投稿: 14
Re: xampp php 8.2 独自プラグインインストールでエラーが発生します。
返信ありがとうございます。
${var}の件、すでに報告済みの件知りませんでした。
重複投稿になっているようでしたら、これでFIXいたします。

コマンドラインでプラグインをインストールすると[ERROR]表記が出るため気になっていましたが、特に気にする必要がなく、正常な状態であるから心配はない、ということであれば、気にしません。
tattsu
投稿日時: 2024/9/4 11:05
対応状況: −−−
仙人
登録日: 2023/12/23
居住地:
投稿: 385
Re: xampp php 8.2 独自プラグインインストールでエラーが発生します。
なるほど、、ログ管理で「システムエラーが発生しました。」の詳細のログを見てみていただけますか?

obata
投稿日時: 2024/9/4 11:03
対応状況: −−−
半人前
登録日: 2008/10/6
居住地:
投稿: 14
Re: xampp php 8.2 独自プラグインインストールでエラーが発生します。
返信ありがとうございます。

管理画面から有効化、無効化はできます。
ただ気になった現象がありました。

php8.3にした状態で、管理画面にログインできなくなりました。
→「システムエラーが発生しました。」と表示されログイン画面自体が表示されません。


php8.2 に戻すと管理画面にログインできました。
php8.2の状態で、管理画面からプラグインの有効化 無効化をいたしました。
mcontact
投稿日時: 2024/9/4 10:56
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1593
Re: xampp php 8.2 独自プラグインインストールでエラーが発生します。
> ${var}がエラーになるのは、php8.2からなので、php8.3でもエラーになるようです。
> お手数ですが、調査いただければ幸いです。

公式でも本事象は下記issuesにて確認・報告されています。
修正案のプルリクエストも出ていますので、参考にしてみてください。
https://github.com/EC-CUBE/ec-cube/issues/6246
https://github.com/EC-CUBE/ec-cube/pull/6244

また、ログファイルに「PHP Deprecated: Using ${var}~」メッセージは出力されますがプラグインのコード上問題なければプラグインのインストールおよび有効化・無効化・削除は出来るかと思います。


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

tattsu
投稿日時: 2024/9/4 10:43
対応状況: −−−
仙人
登録日: 2023/12/23
居住地:
投稿: 385
Re: xampp php 8.2 独自プラグインインストールでエラーが発生します。
お伺いしたいのですが、プラグインはインストール完了されていないですか?

一度キャッシュを消して確認していただけますと幸いです。

有効化しないと分からないかもしれませんので、有効化もしてみていただけますと良いかと思います。


----------------
-------------------

各決済会社3Dセキュア実装・EC-CUBEバージョンアップ・不具合修正
お任せください。ゴールドパートナー。

obata
投稿日時: 2024/9/4 10:40
対応状況: −−−
半人前
登録日: 2008/10/6
居住地:
投稿: 14
Re: xampp php 8.2 独自プラグインインストールでエラーが発生します。
返信ありがとうございます。

xamppのPHPのバージョンを8.2 → 8.3.11に上げて再度テストしてみましたが、同じ現象が発生しました。
PHP8.3にしても改善が見られませんでした。

※投稿内容をphp 8.2のみから、8.2,8.3に記述変更しました。

${var}がエラーになるのは、php8.2からなので、php8.3でもエラーになるようです。

お手数ですが、調査いただければ幸いです。
(1) 2 »
スレッド表示 | 古いものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は98,481名です
総投稿数は112,030件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2325
5
umebius
2085
6
h_tanaka
1911
7
yuh
1898
8
mcontact
1593
9
red
1575
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
805
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
balisys
502


ネットショップの壺

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

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