Magento教程

Magento2.x使用NGINX配置无法自动续签SSL的解决方法

在网站管理配置端自动续签SSL或是新申请SSL时出现 无法验证的情况,这是因为设定了默认的root目录,只需要添加伪静态规则 : location ~* ^/.well-known($|/)

magento2如果快速填充演示数据到网站

目前magento把原来应用到企业版中的此功能扩展到社区免费版本中,任何人均可以通过以下代码导入相关数据。演示数据配置文件位置setup\performance-toolkit\profiles修改具体的XML配置文件然后执行bin/magento setup:performance:generate-fixtures setup/performance-toolkit/profiles/ce/*...

M2部分主机安装完成之后出现页面无法访问情况

一般是网站的conf文件导致,修改 Options FollowSymLinks ExecCGI AllowOverride None Require all granted DirectoryIndex index.php default.php index.html index.htm default.html...

M2 apache伪静态htaccess规则问题导致前台Internal Server Error

magento apache下,部分主机伪静态导致前台 500错误,经技术人员分析后发现,是其中默认的版本判断内容有误,正确的pub目录伪静态规则为:############################################## Optional override of deployment mode. We recommend you use the## command bin/m...

M2部分主机安装完成之后后台无法正常显示,变灰

目前测试到的版本,基本上所有版本均会有这类情况现,后台变灰。有提示page/js/require_js.phtml' in module: '' block's name: 'require.js'无法正常登录用户名及密码,只需要修改以下文件vendor\magento\Framework\View\Element\Template\File\Val...

M2.x为什么MAGENTOLA团队不建议使用Varnish

现在许多客户在安装的时候根本不知道自己需要什么,提出一些非常奇怪的点.为什么MAGENTOLA团队不建议使用Varnish?Varnish是一大内存占用及CPU占用程式,一般尽量需要独立服务器运行于内网才能 好地发挥作用,而国内大多数M2站点所有程式均在一台服务器或是VPS上运行实际Varnish应用中前台会出现种种奇特的BUG,而对SSL兼容性是非常的差,一直没有更改。性能优化方案从官方文档中要...

M2.4.x版本安装于windows机中报Unable to apply data patch Magento\Theme\Setup\Patch\Data...

In PatchApplier.php line 170: Unable to apply data patch Magento\Theme\Setup\Patch\Data\RegisterThemes for module Magento_Theme. Original exception message: Wrong fileIn Gd2.php line 64: Wrong file

M2后台设置发送Newsletter到中途却无法执行的奇葩问题处理方法

后台设置正常,发送到一半无法发送,在操作前技术人员对此进行可能问题分析:1,计划任务中断,因为此台服务器为仅2GB内存的小内存服务器,运行计划任务极有可能会因事务过多中断。2,未知订阅者过多,发信功能异常或是服务商封禁端口3,发信使用的本地SMTP服务器故障。查询相关日志[2020-12-30 12:00:07] main.INFO: Cron Job newsletter_send_all is...

Nginx配置 magento2让任意目录可执行PHP伪静态规则

# PHP entry point for THEME applicationlocation /themesetup { root $MAGE_ROOT; location ~ ^/themesetup/index.php { ### This fixes the problem: fastcgi_split_path_info ^(.+?\.php)(/...

2020-10-27 16:28 magento教程 magento2教程

M2.x后台Bulk Actions log/quote/ ***have been scheduled for update提示删除

Task "Update attributes for 4 selected products" : * item(s) have been scheduled for update.有时候有这些提示,但是您有执行以下命令行通过SHELL还不解决php bin/magento indexer:reindexphp bin/magento setup:cron:runcron计划任务需要15分钟左右...

M2奇葩问题:Invalid input datetime format of value '13/11/2022'

在保存产品的时候有这个提示,Invalid input datetime format of value ‘*****’执行以下操作以解决这个问题,此BUG在2.3.5中依然存在,可能也会在新的版本中存在。打开文件 vendor/magento/framework/Stdlib/DateTime/Timezone.php或是 lib/internal/Magento/Framework/Stdli...

Centos操作系统Apache环境 安装Varnish加速缓存扩展

依据varnish官方的操作指南https://varnish-cache.org/docs/trunk/installation/install_redhat.html

2020-06-30 15:52 apache varnish centos varnish

部分主机重装PHP后COMPOSER未关联的解决方法

出现的错误提示为-bash: composer: command not found解决方法 运行命令行: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin ln -s /usr/local/bin/composer.phar /usr/local/bin/composer

Magento2安装中文语言包正确姿势

下载 准确的且错误 少的下载链接:https://crowdin.com/project/magento-2/zh-CN#https://github.com/magento-l10n/i18n-magento2安装上传到 /app/i18n/Magento/zh_Hans_CN文件夹 运行脚本命令:cd composer require benheart/magento2_zh_hans_c...

Magento重置重设定缓存图片大小product image cache resizing images

编辑以下文件 app\design\frontend\****\etc\view.xml如果是默认的主题的话在vendor目录设定所有图片的数值为一个合理的数值后,通过SHELL重新生成图片。

M2网站无无法上传图片Unsupported image format 的解决方法

近日客户在后台安装完整个全新的Magento2.3.5系统后出现后台无法上传图片的情况后台上传产品提示:编辑器上传图片时出现经Magentola技术人员排查

M1.x产品页面报Invalid method Mage_Catalog_Block_Product_View_Type_Simple::displayPr...

网站在更换主题时出现这个错误,主题采用的是 新的,核心也是 新的。Invalid method Mage_Catalog_Block_Product_View_Type_Simple::displayProductStockStatus(Array())解决方案: 依据字面上的提示,简单产品类型加载显示产品库存相关出错。

Magento1.x站点报错Item (Mage_Catalog_Model_Product) with the same id “***” already...

默认的网站系统用着用着就出这个错误,很奇怪,只需要做以下操作就可以完成解决。