Ecshop修改红包功能,改了语言包中的常量后出错,求高手指

2016-07-07 15:00 来源:www.chinab4c.com 作者:ecshop专家

修改前:
$_LANG['send_by'][SEND_BY_USER] = '按用户发放';$_LANG['send_by'][SEND_BY_GOODS] = '按商品发放';$_LANG['send_by'][SEND_BY_ORDER] = '按订单金额发放';$_LANG['send_by'][SEND_BY_PRINT] = '线下发放的红包';

修改后:
$_LANG['send_by'][SEND_BY_SIGN] = '注册就送';
$_LANG['send_by'][SEND_BY_LOGIN] = '登录就送';
$_LANG['send_by'][SEND_BY_MANUAL] = '手动发送';
$_LANG['send_by'][SEND_BY_USER] = '用户领取';
$_LANG['send_by'][SEND_BY_AUTO] = '自动发送';

红包页面报错:
Notice: Use of undefined c**tant SEND_BY_SIGN - assumed 'SEND_BY_SIGN' in D:\wamp\www\shop\languages\zh_cn\admin\vouchers.php on line 43
Notice: Use of undefined c**tant SEND_BY_LOGIN - assumed 'SEND_BY_LOGIN' in D:\wamp\www\shop\languages\zh_cn\admin\vouchers.php on line 44
Notice: Use of undefined c**tant SEND_BY_MANUAL - assumed 'SEND_BY_MANUAL' in D:\wamp\www\shop\languages\zh_cn\admin\vouchers.php on line 45
Notice: Use of undefined c**tant SEND_BY_AUTO - assumed 'SEND_BY_AUTO' in D:\wamp\www\shop\languages\zh_cn\admin\vouchers.php on line 47
Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\shop\languages\zh_cn\admin\vouchers.php:43) in D:\wamp\www\shop\includes\cls_template.php on line 58
Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\shop\languages\zh_cn\admin\vouchers.php:43) in D:\wamp\www\shop\admin\includes\init.php on line 329
Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\shop\languages\zh_cn\admin\vouchers.php:43) in D:\wamp\www\shop\admin\includes\init.php on line 330
Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\shop\languages\zh_cn\admin\vouchers.php:43) in D:\wamp\www\shop\admin\includes\init.php on line 331
Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\shop\languages\zh_cn\admin\vouchers.php:43) in D:\wamp\www\shop\admin\includes\init.php on line 332
Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\shop\languages\zh_cn\admin\vouchers.php:43) in D:\wamp\www\shop\admin\includes\init.php on line 333

求高手帮忙解答,谢谢!在线等……

回答:
后面的没预定义

大力支持ecshop,祝愿ecshop发展的更好!

顶一个。。。。。