簡體   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