Questions tagged «php-5.4»


1
运行Magento所需的最少PHP模块数量
我们在Rackspace上为旧的Magento服务器安装了以下模块。他们有一个新服务器,我希望将其配对。最低要求是多少? php54-pecl-memcache-3.0.8-1.ius.centos6.x86_64 php54-mysql-5.4.38-1.ius.centos6.x86_64 php54-mbstring-5.4.38-1.ius.centos6.x86_64 php54-ioncube-loader-4.7.4-2.ius.centos6.x86_64 php54-cli-5.4.38-1.ius.centos6.x86_64 php54-mcrypt-5.4.38-1.ius.centos6.x86_64 php54-pecl-apc-3.1.13-2.ius.centos6.x86_64 php54-xml-5.4.38-1.ius.centos6.x86_64 php54-soap-5.4.38-1.ius.centos6.x86_64 php54-gd-5.4.38-1.ius.centos6.x86_64 php54-pear-1.9.5-2.ius.centos6.noarch php54-pecl-lzf-1.6.2-8.ius.centos6.x86_64 php54-pecl-redis-2.2.5-1.ius.centos6.x86_64 php54-imap-5.4.38-1.ius.centos6.x86_64 php54-process-5.4.38-1.ius.centos6.x86_64 php54-bcmath-5.4.38-1.ius.centos6.x86_64 php54-pdo-5.4.38-1.ius.centos6.x86_64 php54-intl-5.4.38-1.ius.centos6.x86_64 php54-odbc-5.4.38-1.ius.centos6.x86_64 php54-pspell-5.4.38-1.ius.centos6.x86_64


1
电子邮件模板“ custom_mail_template”未定义
我正在尝试从自定义模块发送邮件。为此,我创建了system.xml文件,但是返回错误。 错误: 电子邮件模板'custom_mail_template'未定义。 我的代码是: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> <system> <tab id="custom" translate="label" sortOrder="1"> <label>custom mail</label> </tab> <section id="custom" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1"> <label>custom mail</label> <tab>custom</tab> <resource>Learning_Custom::config_custom</resource> <group id="mail" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0"> <label>Custom</label> <field id="active" translate="label" type="select" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Enabled</label> <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> </field> <field …

3
在magento2中创建自定义模块显示致命错误
我正在magento 2中创建自定义模块,但无法正常工作。你能建议我哪里出问题了吗? 我的模块代码: app / etc / config.php: 'modules' => array ( 'Ramesh_Sample' => 1, ), app / code / Ramesh / Sample / etc / module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd"> <module name="Ramesh_Sample" schema_version="2.0.0"> </module> </config> app / code / Ramesh / Sample / etc / frontend / routes.xml …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.