首页 > 解决方案 > 如何确定每个软件包支持的最新 Magento 版本?

问题描述

我正在开发一个最近从 Magento 1.xx 升级到 Magento 2.3 的 Magento 项目。我在安装 TaxJar 时遇到了很大的麻烦(我在 stackoverflow 上问了一个单独的问题,当时该问题尚未解决),现在我的任务是将所有忘记安装在原始站点上的插件安装到实验站点,这是一个 Magento 2.3。名单如下:

Cm_RedisSession 1.8.0.0 (stable)        Redis session
Interface_Adminhtml_Default 1.9.1.0 (stable)        Default interface for Adminhtml
Interface_Frontend_Base_Default 1.9.1.0 (stable)        This is a Magento themes base
Interface_Frontend_Default  1.9.1.0 (stable)        Default interface for Frontend
Interface_Frontend_Rwd_Default  1.9.1.0 (stable)        This is a RWD themes base
Interface_Install_Default   1.9.1.0 (stable)        Default interface for Install
Lib_Cm  1.8.0.0 (stable)        Redis adapter for Zend_Cache
Lib_Credis  1.8.0.0 (stable)        Credis Library
Lib_Google_Checkout 1.9.1.0 (stable)        Google Checkout Library
Lib_Js_Calendar 1.51.1.1 (stable)       Javascript Calendar for Magento
Lib_Js_Ext  1.7.0.0 (stable)        Extjs Javascript Libraries for Magento
Lib_Js_Mage 1.9.1.0 (stable)        Javascript Libraries for Magento
Lib_Js_Prototype    1.7.0.0.5 (stable)      Prototype and Scriptaculous Javascript Libraries for Magento
Lib_Js_TinyMCE  3.5.11.0 (stable)       TinyMCE Javascript Libraries for Magento
Lib_LinLibertineFont    2.8.14.1 (stable)       Libertine Open Fonts Project fonts for PDF print-outs
Lib_Mage    1.9.1.0 (stable)        Mage Library
Lib_Magento 1.9.1.0 (stable)        Magento Library
Lib_Phpseclib   1.5.0.0 (stable)        Phpseclib Library
Lib_Varien  1.9.1.0 (stable)        Varien Library
Lib_ZF  1.12.7.0 (stable)       Zend Framework
Lib_ZF_Locale   1.12.7.0 (stable)       Zend Framework Locale
Mage_All_Latest 1.9.1.0 (stable)        Metapackage for latest Magento 1.9.0.0 release
Mage_Centinel   1.9.1.0 (stable)        3D Secure Card Validation
Mage_Compiler   1.9.1.0 (stable)        This module compiles all files of a Magento installation and creates a single include path to increase performance
Mage_Core_Adminhtml 1.9.1.0 (stable)        Magento Administration Panel
Mage_Core_Modules   1.9.1.0 (stable)        Collection of Magento Core Modules
Mage_Downloader 1.9.1.0 (stable)        Magento Downloader
Mage_Locale_de_DE   1.9.0.0 (stable)        de_DE locale
Mage_Locale_en_US   1.9.1.0 (stable)        en_US locale
Mage_Locale_es_ES   1.9.0.0 (stable)        es_ES locale
Mage_Locale_fr_FR   1.9.0.0 (stable)        fr_FR locale
Mage_Locale_nl_NL   1.9.0.0 (stable)        nl_NL locale
Mage_Locale_pt_BR   1.9.0.0 (stable)        pt_BR locale
Mage_Locale_zh_CN   1.9.0.0 (stable)        zh_CN locale
Magento_Mobile  1.9.1.0 (stable)        Magento Mobile Xml Interface
Phoenix_Moneybookers    1.3.2.1 (stable)        Moneybookers payment gateway integration
EM_DeleteOrder  1.0.5 (stable)      Enhance Magento feature with ability to delete orders
Bluejalappeno_Orderexport   2.11.1 (stable)         Export your Magento orders in three versatile formats, including exports for CSV, Sage 50 and Highrise
Lib_Pelago  1.9.1.0 (stable)        Pelago Library

到目前为止,一切都很好。然而,为 Magento 安装插件对我来说是一项神秘而艰巨的任务,因为我是 Magento 的新手,到目前为止,我的经验是向 Magento 安装插件对我来说非常耗时。我尽我所能尝试 CLI 和 UI,但是,使用 TaxJar 安装,即使我卑微的自己多次尝试过,最后一个障碍被其他人消除了,一个对 Magento 有更多了解的人。这涉及更改表前缀和更新 MySQL 中的一些记录。

所以,如果上面列表中的项目都是我自己安装的,那我就得一一搜索,下载,然后上传到服务器上项目的根文件夹,然后解压它进入一个文件夹(我不太明白我需要提取的位置是,文件夹的名称应该是什么,但它似乎需要在 app/code/ 中),但是当我尝试使用 Cm_RedisSession 执行此操作时,完全失败了。

我什至尝试过

composer require colinmollenhour/magento-redis-session

但它不影响已安装/可安装模块和扩展的列表。现在,上面的示例是 Redis 对 Session 的支持,并且感谢 pluginarchive,找到包并不是很困难。但是,除了尝试(并且失败)安装此列表中的所有插件之外,进行多次上传和提取是一项很长的工作,所以我想知道是否可以通过可能大大减少要安装的插件数量,仅适用于与 Magento 2.3 兼容的插件。

当然,我不打算安装早期 Magento 使用的确切版本。例如,以 CmRedisSession 为例,我们可以在https://github.com/colinmollenhour/Cm_RedisSession/releases看到旧版 Magento 安装使用的 1.8.0.0 版本是一个非常旧的版本,最新版本 2.3.3 . 今年三月发布。如果安装成功,我对安装 2.3.3 版非常满意。不幸的是,它没有成功。我可以通过尝试仅安装与 Magento 2.3 兼容的插件来以某种方式减轻 Magento 插件安装的痛苦吗?

标签: magentocomposer-phpmagento2

解决方案


推荐阅读