發紅包時出錯
[b]MySQL server error report:Array( [0] => Array ( [message] => MySQL Query Error ) [1] => Array( [sql] => INSERT INTO `test`.`ecs_email_sendlist` ( email,template_id, email_content, pri, last_send) VALUES ('umum@abc.com',6, '[b]Parse error[/b]: parse error, unexpected $end in [b]C:\Program Files\EasyPHP 2.0b1\www\ecshop\includes\cls_template.php(1133) : eval()'d code[/b] on line [b]6[/b]
', 1, '1212680897') ) [2] => Array ( [error] => You have an errorin your SQL syntax; check the manual that corresponds to your MySQLserver version for the right syntax to use near 'd code[/b] on line [b]6[/b]
', 1, '1212680897')' at line 1 ) [3] => Array ( [errno] => 1064 )) 清除缓存后再试 清除缓存 後也不行 请问您用的是哪个版本 ? 2.6.0 非0606版
utf 繁体 我也是出現這樣(我是2.5版), 請問ngai 前輩是如何解決的?與MySQL版本有關係嗎?
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO `greensite`.`ecs_email_sendlist` ( email, template_id, email_content, pri, last_send) VALUES ('john@bdm.tw', 6, '
Parse error: syntax error, unexpected $end in C:\Apache2\htdocs\includes\cls_template.php(1110) : eval()'d code on line 6
', 1, '1219755249') ) [2] => Array ( [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'd code on line 6
', 1, '1219755249')' at line 1 ) [3] => Array ( [errno] => 1064 ) )
按照這方法修改
原內容為親愛的{$user_name}您好!
恭喜您獲得了{$count}個折價券,金額{if $count > 1}分別{/ if}為{$money}
{$shop_name}
{$send_date}
修改後為
親愛的{$user_name}您好!
恭喜您獲得了1個折價券,金額為{$money}
{$shop_name}
{$send_date} twfirework :
感謝您的熱心指導!:handshake
页:
[1]
