24 12
发新话题
打印

[已解决] 为何每次有订单了邮箱都会收到一条空邮件呢?

将last_sent改为last_send
复制内容到剪贴板
代码:
INSERT INTO `ecs_mail_templates` (`template_id`, `template_code`, `is_html`, `template_subject`, `template_content`, `last_modify`, `last_send`, `type`) VALUES(NULL, 'remind_of_new_order', 0, '新订单通知', '亲爱的店长,您好:\n   快来看看吧,又有新订单了。订单金额为{$order.order_amount},收货人是{$order.consignee},地址是{$ order.address},电话是{$order.tel} {$order.mobile}。\n\n               系统提醒\n               {$send_date}', 1196239170, 0, 'template');
大家试一下,有问题请跟帖。

[ 本帖最后由 桔子 于 2007-11-29 11:14 编辑 ]

TOP

引用:
原帖由 桔子 于 2007-11-29 11:08 发表
将last_sent改为last_sendINSERT INTO `ecs_mail_templates` (`template_id`, `template_code`, `is_html`, `template_subject`, `template_content`, `last_modify`, `last_send`, `type`) VALUES(NULL, 'remi ...
为什么此次升级不修正这个bug?

TOP

按照桔子16楼的说做,成功了

[ 本帖最后由 zhoujiekai 于 2007-11-29 12:52 编辑 ]

TOP

出错了:
Table 'sql.ecs_mail_templates' doesn't exist

TOP

回复 #19 botye 的帖子

注意表前缀,仔细检查一下_mail_templates这个表的前缀,表前缀以你安装EC系统时定义的为主。

TOP

本地测试还是不行!
提示:
出错了:
Duplicate entry 'remind_of_new_order' for key 2

[ 本帖最后由 cnave 于 2007-11-29 18:33 编辑 ]

TOP

我也出现了这样的问题

TOP

为什么升级不修复这个问题??

TOP

提示:
出错了:
Duplicate entry 'remind_of_new_order' for key 2
有没人帮解决一下啊~!

TOP

 24 12
发新话题