2014-11-03 80 views

回答

0

一個可能的解決方案(爲我工作)是手動更改數據庫。這樣做時你必須非常小心。在任何情況下,條目出現在表core_config_data:

mysql> select * from core_config_data where path like 'trans_email%'; 
+-----------+---------+----------+---------------------------------+-----------------------+ 
| config_id | scope | scope_id | path       | value     | 
+-----------+---------+----------+---------------------------------+-----------------------+ 
|  760 | default |  0 | trans_email/ident_general/name | Owner     | 
|  761 | default |  0 | trans_email/ident_general/email | [email protected] | 
|  762 | default |  0 | trans_email/ident_sales/name | Sales     | 
|  763 | default |  0 | trans_email/ident_sales/email | [email protected] | 
|  764 | default |  0 | trans_email/ident_support/name | CustomerSupport  | 
|  765 | default |  0 | trans_email/ident_support/email | [email protected] | 
|  766 | default |  0 | trans_email/ident_custom1/name | Custom 1    | 
|  767 | default |  0 | trans_email/ident_custom1/email | [email protected] | 
|  768 | default |  0 | trans_email/ident_custom2/name | Custom 2    | 
|  769 | default |  0 | trans_email/ident_custom2/email | [email protected] | 
+-----------+---------+----------+---------------------------------+----------------------+ 
10 rows in set (0.00 sec) 

的問題是,如果這是Magento的全新安裝,並沒有保存任何電子郵件地址的是,這些值將不會出現在該表,並且magento使用該默認值。爲了克服這個問題,您需要先保存有效的電子郵件地址(只需將其設置爲任何有效的電子郵件地址,例如[email protected]),然後您將看到數據庫中的條目。