@ciao-h お陰様で問題のアタリは付きましたが、こちらですぐにWindowsの環境を準備できないため、もしよろしければ、あと少しだけお付き合いください。
- ログファイルを初期化
/logs/debug.logを空にするまたは、削除する - ログ出力を仕込む
plugins/baser-core/src/Utility/BcZip.phpの126行目あたりにログ出力を仕込む
exec($command, $return2);
// ↓この行を追加
\Cake\Log\Log::write(\Psr\Log\LogLevel::INFO, implode("\n", $return2));
if (!empty($return2[2])) {
-
アップロードを実行
ブラウザでアップロードを実行 -
ログの内容をこのスレッドに貼る
/logs/debug.logの中身をこのスレッドに貼ってください。
僕の環境では次のような感じになりました。
2024-06-15 16:09:50 info: Archive: /var/www/html/tmp/Banner-5.0.0.zip
Made with MacWinZipper (https://tida.co.jp/macwinzipper)
inflating: /var/www/html/tmp/Banner/config/Migrations/20230216170210_CreateBannerBreakpoints.php
inflating: /var/www/html/tmp/Banner/config/Migrations/20230216170142_CreateBannerFiles.php
inflating: /var/www/html/tmp/Banner/config/Migrations/20230216170113_CreateBannerAreas.php
inflating: /var/www/html/tmp/Banner/config/setting.php
inflating: /var/www/html/tmp/Banner/resources/locales/banner.pot
inflating: /var/www/html/tmp/Banner/webroot/css/admin/banner_admin.css
inflating: /var/www/html/tmp/Banner/README_API.md
inflating: /var/www/html/tmp/Banner/config.php
inflating: /var/www/html/tmp/Banner/README.md
inflating: /var/www/html/tmp/Banner/templates/element/banner_block.php
inflating: /var/www/html/tmp/Banner/templates/element/banner_block_img.php
inflating: /var/www/html/tmp/Banner/templates/Admin/BannerFiles/add.php
inflating: /var/www/html/tmp/Banner/templates/Admin/BannerFiles/index.php
inflating: /var/www/html/tmp/Banner/templates/Admin/BannerFiles/edit.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/BannerFiles/index_list.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/BannerFiles/form.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/BannerFiles/index_row.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/search/banner_areas_index.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/search/banner_files_index.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/BannerAreas/index_list.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/BannerAreas/form.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/BannerAreas/index_row.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/help/banner_files_form.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/help/banners.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/help/banner_areas_form.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/help/banner_areas_index.php
inflating: /var/www/html/tmp/Banner/templates/Admin/element/help/banner_files_index.php
inflating: /var/www/html/tmp/Banner/templates/Admin/BannerAreas/add.php
inflating: /var/www/html/tmp/Banner/templates/Admin/BannerAreas/index.php
inflating: /var/www/html/tmp/Banner/templates/Admin/BannerAreas/edit.php
inflating: /var/www/html/tmp/Banner/templates/Admin/Banner/config.php
inflating: /var/www/html/tmp/Banner/VERSION.txt
inflating: /var/www/html/tmp/Banner/LICENSE.txt
inflating: /var/www/html/tmp/Banner/src/Plugin.php
inflating: /var/www/html/tmp/Banner/src/Controller/Admin/BannerAdminAppController.php
inflating: /var/www/html/tmp/Banner/src/Controller/Admin/BannerFilesController.php
inflating: /var/www/html/tmp/Banner/src/Controller/Admin/BannerController.php
inflating: /var/www/html/tmp/Banner/src/Controller/Admin/BannerAreasController.php
inflating: /var/www/html/tmp/Banner/src/Controller/Api/Admin/BannerFilesController.php
inflating: /var/www/html/tmp/Banner/src/Controller/Api/BannerFilesController.php
inflating: /var/www/html/tmp/Banner/src/Model/Table/BannerAppTable.php
inflating: /var/www/html/tmp/Banner/src/Model/Table/BannerAreasTable.php
inflating: /var/www/html/tmp/Banner/src/Model/Table/BannerBreakpointsTable.php
inflating: /var/www/html/tmp/Banner/src/Model/Table/BannerFilesTable.php
inflating: /var/www/html/tmp/Banner/src/Model/Validation/BannerFileValidation.php
inflating: /var/www/html/tmp/Banner/src/View/Helper/BannerHelper.php
inflating: /var/www/html/tmp/Banner/src/Event/BannerControllerEventListener.php
この出力結果から、プラグインのトップディレクトリを取得しようとしているのですが、それがうまくいっていないのだと思います。

