繁体   English   中英

无法在magento的交易电子邮件下添加电子邮件模板

[英]Unable to add email template under transactional emails in magento

我正在尝试在magento上创建新的发票模板。当我选择模板并单击加载模板时,该模板正在加载。此后,我单击保存模板,将出现以下错误。 “SQLSTATE [23000]:完整性约束违规:1062重复条目'0'键'PRIMARY',查询是:INSERT INTO core_email_templatetemplate_codetemplate_texttemplate_stylestemplate_typetemplate_subjectadded_atmodified_atorig_template_codeorig_template_variables )VALUES(? ,?,?,?,?,'2015-03-20 05:56:15','2015-03-20 05:56:15',?,?) ”。 有什么问题,请帮助我。

您可能已经更改了一些核心文件。 我建议您从全新安装恢复到原始的核心文件。

通过全新安装替换app> code> core中的所有文件。 确保从当前的Magento版本中获取核心文件。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM