[英]Unable to add email template under transactional emails in magento
我正在嘗試在magento上創建新的發票模板。當我選擇模板並單擊加載模板時,該模板正在加載。此后,我單擊保存模板,將出現以下錯誤。 “SQLSTATE [23000]:完整性約束違規:1062重復條目'0'鍵'PRIMARY',查詢是:INSERT INTO core_email_template
( template_code
, template_text
, template_styles
, template_type
, template_subject
, added_at
, modified_at
, orig_template_code
, orig_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.