プラグイン > 開発について > 「商品問い合わせプラグイン for EC-CUBE4(ProductContact4)」がインストール、有効化できない |
開発について
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
chika |
投稿日時: 2021/12/23 10:52
対応状況: 開発中
|
半人前 登録日: 2021/8/20 居住地: Osaka 投稿: 17 |
「商品問い合わせプラグイン for EC-CUBE4(ProductContact4)」がインストール、有効化できない ▼テンプレート
[EC-CUBE] EC-CUBEのバージョン、4.6.0-p [レンタルサーバ] さくらサーバー [OS] Windows [PHP] 使用しているPHPのバージョン 7.4.25 [データベース] 7.4.25 [WEBサーバ] 7.4.25 [ブラウザ] Chrome、Edge [導入プラグインの有無] CategoryExtensionB、ContactManagement4、DeliveryPlus4、OrderBySale4、Securitychecker4、SEOAllOne、SiteKit [カスタマイズの有無] [現象] 「商品問い合わせプラグイン for EC-CUBE4(ProductContact4)」をインストールしたいのですが 管理画面上では「インストールが完了しました」というステータスになるのですが エラーがでているようで、インストールが完了しません。 エラーが出ているのは何となくわかるのですが、 競合しているのでしょうか? 解決方法がわからず、こちらに投稿いたしました。 どなたか、わかる方、教えていただけると幸いです。 **************** ProductContact4 **************** <warning>Deprecation warning: require.ec-cube/CategoryExtensionB is invalid, it should not contain uppercase characters. Please use ec-cube/categoryextensionb instead. Make sure you fix this as Composer 2.0 will error.</warning> <warning>Deprecation warning: require.ec-cube/ContactManagement4 is invalid, it should not contain uppercase characters. Please use ec-cube/contactmanagement4 instead. Make sure you fix this as Composer 2.0 will error.</warning> <warning>Deprecation warning: require.ec-cube/DeliveryPlus4 is invalid, it should not contain uppercase characters. Please use ec-cube/deliveryplus4 instead. Make sure you fix this as Composer 2.0 will error.</warning> <warning>Deprecation warning: require.ec-cube/OrderBySale4 is invalid, it should not contain uppercase characters. Please use ec-cube/orderbysale4 instead. Make sure you fix this as Composer 2.0 will error.</warning> <warning>Deprecation warning: require.ec-cube/ProductContact4 is invalid, it should not contain uppercase characters. Please use ec-cube/productcontact4 instead. Make sure you fix this as Composer 2.0 will error.</warning> <warning>Deprecation warning: require.ec-cube/SEOAllOne is invalid, it should not contain uppercase characters. Please use ec-cube/seoallone instead. Make sure you fix this as Composer 2.0 will error.</warning> <warning>Deprecation warning: require.ec-cube/Securitychecker4 is invalid, it should not contain uppercase characters. Please use ec-cube/securitychecker4 instead. Make sure you fix this as Composer 2.0 will error.</warning> <warning>Deprecation warning: require.ec-cube/SiteKit is invalid, it should not contain uppercase characters. Please use ec-cube/sitekit instead. Make sure you fix this as Composer 2.0 will error.</warning> <warning>Deprecation warning: require.ec-cube/ZeusPayment4 is invalid, it should not contain uppercase characters. Please use ec-cube/zeuspayment4 instead. Make sure you fix this as Composer 2.0 will error.</warning> [10.8MiB/1.28s] <warning>Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/</warning> [210.6MiB/4.16s] Using version ^1.1 for ec-cube/ProductContact4 [210.6MiB/4.17s] ./composer.json has been updated [210.9MiB/4.31s] <warning>Deprecation warning: require.ec-cube/CategoryExtensionB is invalid, it should not contain uppercase characters. Please use ec-cube/categoryextensionb instead. Make sure you fix this as Composer 2.0 will error.</warning> [210.9MiB/4.31s] <warning>Deprecation warning: require.ec-cube/ContactManagement4 is invalid, it should not contain uppercase characters. Please use ec-cube/contactmanagement4 instead. Make sure you fix this as Composer 2.0 will error.</warning> [210.9MiB/4.31s] <warning>Deprecation warning: require.ec-cube/DeliveryPlus4 is invalid, it should not contain uppercase characters. Please use ec-cube/deliveryplus4 instead. Make sure you fix this as Composer 2.0 will error.</warning> [210.9MiB/4.31s] <warning>Deprecation warning: require.ec-cube/OrderBySale4 is invalid, it should not contain uppercase characters. Please use ec-cube/orderbysale4 instead. Make sure you fix this as Composer 2.0 will error.</warning> [210.9MiB/4.31s] <warning>Deprecation warning: require.ec-cube/ProductContact4 is invalid, it should not contain uppercase characters. Please use ec-cube/productcontact4 instead. Make sure you fix this as Composer 2.0 will error.</warning> [210.9MiB/4.31s] <warning>Deprecation warning: require.ec-cube/SEOAllOne is invalid, it should not contain uppercase characters. Please use ec-cube/seoallone instead. Make sure you fix this as Composer 2.0 will error.</warning> [210.9MiB/4.31s] <warning>Deprecation warning: require.ec-cube/Securitychecker4 is invalid, it should not contain uppercase characters. Please use ec-cube/securitychecker4 instead. Make sure you fix this as Composer 2.0 will error.</warning> [210.9MiB/4.31s] <warning>Deprecation warning: require.ec-cube/SiteKit is invalid, it should not contain uppercase characters. Please use ec-cube/sitekit instead. Make sure you fix this as Composer 2.0 will error.</warning> [210.9MiB/4.31s] <warning>Deprecation warning: require.ec-cube/ZeusPayment4 is invalid, it should not contain uppercase characters. Please use ec-cube/zeuspayment4 instead. Make sure you fix this as Composer 2.0 will error.</warning> [214.2MiB/4.53s] <warning>Dependency "ec-cube/plugin-installer" is also a root requirement, but is not explicitly whitelisted. Ignoring.</warning> [214.0MiB/4.53s] Loading composer repositories with package information [215.7MiB/5.90s] <warning>Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/</warning> [215.7MiB/5.90s] Updating dependencies [703.3MiB/61.20s] <warning>Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.</warning> [703.3MiB/61.20s] <warning>Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.</warning> [703.3MiB/61.20s] <warning>Package easycorp/easy-log-handler is abandoned, you should avoid using it. No replacement was suggested.</warning> [703.3MiB/61.20s] <warning>Package sensio/generator-bundle is abandoned, you should avoid using it. Use symfony/maker-bundle instead.</warning> [703.3MiB/61.20s] <warning>Package setasign/fpdi-tcpdf is abandoned, you should avoid using it. No replacement was suggested.</warning> [703.3MiB/61.20s] <warning>Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.</warning> [703.3MiB/61.20s] <warning>Package symfony/inflector is abandoned, you should avoid using it. Use use `EnglishInflector` from the String component instead instead.</warning> [703.3MiB/61.20s] <warning>Package twig/extensions is abandoned, you should avoid using it. No replacement was suggested.</warning> [703.3MiB/61.20s] <warning>Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.</warning> [703.3MiB/61.20s] <warning>Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.</warning> [704.4MiB/61.23s] Generating optimized autoload files [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\BaseInfo" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/BaseInfo.php" and "/home/jukirack/www/src/Eccube/Entity/BaseInfo.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Cart" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Cart.php" and "/home/jukirack/www/src/Eccube/Entity/Cart.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Category" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Category.php" and "/home/jukirack/www/src/Eccube/Entity/Category.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Customer" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Customer.php" and "/home/jukirack/www/src/Eccube/Entity/Customer.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Delivery" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Delivery.php" and "/home/jukirack/www/src/Eccube/Entity/Delivery.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Layout" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Layout.php" and "/home/jukirack/www/src/Eccube/Entity/Layout.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Member" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Member.php" and "/home/jukirack/www/src/Eccube/Entity/Member.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Order" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Order.php" and "/home/jukirack/www/src/Eccube/Entity/Order.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Page" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Page.php" and "/home/jukirack/www/src/Eccube/Entity/Page.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Payment" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Payment.php" and "/home/jukirack/www/src/Eccube/Entity/Payment.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Product" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Product.php" and "/home/jukirack/www/src/Eccube/Entity/Product.php", the first will be used.</warning> [714.7MiB/68.41s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\ProductClass" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/ProductClass.php" and "/home/jukirack/www/src/Eccube/Entity/ProductClass.php", the first will be used.</warning> [708.3MiB/69.75s] Memory usage: 708.34MiB (peak: 826.27MiB), time: 69.75s |
Diezon |
投稿日時: 2021/12/23 12:08
対応状況: −−−
|
常連 登録日: 2020/10/12 居住地: 投稿: 52 |
Re: 「商品問い合わせプラグイン for EC-CUBE4(ProductContact4)」がインストール、有効化できない お世話になっております。
以下サイトに記載のプラグイン削除・無効化・インストール・有効化コマンドを再度試してみても同様の事象になりますでしょうか。 https://doc4.ec-cube.net/plugin_install ご確認いただけますと幸いです。 よろしくお願いいたします。 |
chika |
投稿日時: 2021/12/23 13:35
対応状況: −−−
|
半人前 登録日: 2021/8/20 居住地: Osaka 投稿: 17 |
Re: 「商品問い合わせプラグイン for EC-CUBE4(ProductContact4)」がインストール、有効化できない コメントありがとうございます。
はい、エラーが出てしまいます。。 下記、エラー内容を貼り付けいたします。 データベースに何かが起こっているのでしょうか。。 ------- % bin/console eccube:plugin:install --code=ProductContact4 gen -> /tmp//proxy_Jd7g8VwlgorV/src/Eccube/Entity/Category.php gen -> /tmp//proxy_Jd7g8VwlgorV/src/Eccube/Entity/Customer.php gen -> /tmp//proxy_Jd7g8VwlgorV/src/Eccube/Entity/Member.php gen -> /tmp//proxy_Jd7g8VwlgorV/src/Eccube/Entity/BaseInfo.php gen -> /tmp//proxy_Jd7g8VwlgorV/src/Eccube/Entity/Cart.php gen -> /tmp//proxy_Jd7g8VwlgorV/src/Eccube/Entity/Delivery.php gen -> /tmp//proxy_Jd7g8VwlgorV/src/Eccube/Entity/ProductClass.php gen -> /tmp//proxy_Jd7g8VwlgorV/src/Eccube/Entity/Product.php gen -> /tmp//proxy_Jd7g8VwlgorV/src/Eccube/Entity/Order.php 13:33:59 ERROR [console] Error thrown while running command "eccube:plugin:install --code=ProductContact4". Message: "An exception occurred while executing 'ALTER TABLE dtb_product ADD CONSTRAINT FK_C49DE22F61220EA6 FOREIGN KEY (creator_id) REFERENCES dtb_member (id)':\n\nSQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql-3d6_aad6bf5'" ["exception" => Eccube\Exception\PluginException { ・・,"command" => "eccube:plugin:install --code=ProductContact4","message" => """ An exception occurred while executing 'ALTER TABLE dtb_product ADD CONSTRAINT FK_C49DE22F61220EA6 FOREIGN KEY (creator_id) REFERENCES dtb_member (id)':\n \n SQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql-3d6_aad6bf5' """] ["file" => "/home/jukirack/www/vendor/symfony/console/EventListener/ErrorListener.php","line" => 48,"class" => "Symfony\Component\Console\EventListener\ErrorListener","function" => "onConsoleError","uid" => "b240273","user_id" => "N/A","session_id" => "N/A"] In PluginService.php line 283: An exception occurred while executing 'ALTER TABLE dtb_product ADD CONSTRAINT FK_C49DE22F61220EA6 FOREIGN KEY (creator_id) REFERENCES dtb_member (id)': SQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql-3d6_aad6bf5' In AbstractMySQLDriver.php line 106: An exception occurred while executing 'ALTER TABLE dtb_product ADD CONSTRAINT FK_C49DE22F61220EA6 FOREIGN KEY (creator_id) REFERENCES dtb_member (id)': SQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql-3d6_aad6bf5' In PDOConnection.php line 90: SQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql-3d6_aad6bf5' In PDOConnection.php line 88: SQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql-3d6_aad6bf5' eccube:plugin:install [--path [PATH]] [--code [CODE]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> % ーーーーー その前段階の作業として bin/console: Permission denied というエラーが出たため https://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=23114&forum=11 こちらを見て 「chmod u+x bin/console」で、権限を付与し、 https://qiita.com/nanasess/items/791c9ec98f69ada93ea0 こちらのページを見ながら、インストールとアンインストールをしていました。 |
chika |
投稿日時: 2021/12/24 11:08
対応状況: −−−
|
半人前 登録日: 2021/8/20 居住地: Osaka 投稿: 17 |
Re: 「商品問い合わせプラグイン for EC-CUBE4(ProductContact4)」がインストール、有効化できない こちらの件、自己解決しました。
https://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=22486&forum=11 こちらの方がおっしゃっているように >バックアップとしてまんま複製したDBテーブルが原因 複製したDBテーブルを削除したところ、 プラグインのインストールができました。 |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |